workflow-editor 0.9.85-dw-tmp1 → 0.9.85-dw-tmp3

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,35 +1,22 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue"));else if("function"==typeof define&&define.amd)define(["vue"],t);else{var n="object"==typeof exports?t(require("vue")):t(e.Vue);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(window,(function(__WEBPACK_EXTERNAL_MODULE__15__){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/lib/",n(n.s=553)}([function(e,t,n){"use strict";function r(e,t,n,r,o,i,s,a){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),s?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=l):o&&(l=a?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}n.d(t,"a",(function(){return r}))},function(e,t,n){var r=n(26).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(28)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(e){return""}}})},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(53),o=n(64);n(253)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){var r=n(22),o=n(562),i=n(37),s=n(69),a=n(381);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),l=s.f,c=o(r),u={},d=0;c.length>d;)void 0!==(n=l(r,t=c[d++]))&&a(u,t,n);return u}})},function(e,t,n){for(var r=n(25),o=n(64),i=n(34),s=n(17),a=n(40),l=n(70),c=n(16),u=c("iterator"),d=c("toStringTag"),f=l.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(p),m=0;m<h.length;m++){var v,g=h[m],b=p[g],w=s[g],y=w&&w.prototype;if(y&&(y[u]||a(y,u,f),y[d]||a(y,d,g),l[g]=f,b))for(v in r)y[v]||i(y,v,r[v],!0)}},function(e,t,n){"use strict";var r=n(17),o=n(36),i=n(28),s=n(22),a=n(34),l=n(557).KEY,c=n(24),u=n(77),d=n(79),f=n(67),p=n(16),h=n(376),m=n(377),v=n(558),g=n(378),b=n(21),w=n(27),y=n(53),k=n(37),_=n(76),x=n(68),A=n(256),C=n(379),T=n(69),E=n(254),O=n(26),P=n(64),S=T.f,M=O.f,F=C.f,R=r.Symbol,I=r.JSON,$=I&&I.stringify,D=p("_hidden"),j=p("toPrimitive"),N={}.propertyIsEnumerable,B=u("symbol-registry"),L=u("symbols"),V=u("op-symbols"),U=Object.prototype,H="function"==typeof R&&!!E.f,W=r.QObject,J=!W||!W.prototype||!W.prototype.findChild,z=i&&c((function(){return 7!=A(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=S(U,t);r&&delete U[t],M(e,t,n),r&&e!==U&&M(U,t,r)}:M,G=function(e){var t=L[e]=A(R.prototype);return t._k=e,t},q=H&&"symbol"==typeof R.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof R},K=function(e,t,n){return e===U&&K(V,t,n),b(e),t=_(t,!0),b(n),o(L,t)?(n.enumerable?(o(e,D)&&e[D][t]&&(e[D][t]=!1),n=A(n,{enumerable:x(0,!1)})):(o(e,D)||M(e,D,x(1,{})),e[D][t]=!0),z(e,t,n)):M(e,t,n)},Y=function(e,t){b(e);for(var n,r=v(t=k(t)),o=0,i=r.length;i>o;)K(e,n=r[o++],t[n]);return e},X=function(e){var t=N.call(this,e=_(e,!0));return!(this===U&&o(L,e)&&!o(V,e))&&(!(t||!o(this,e)||!o(L,e)||o(this,D)&&this[D][e])||t)},Q=function(e,t){if(e=k(e),t=_(t,!0),e!==U||!o(L,t)||o(V,t)){var n=S(e,t);return!n||!o(L,t)||o(e,D)&&e[D][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=F(k(e)),r=[],i=0;n.length>i;)o(L,t=n[i++])||t==D||t==l||r.push(t);return r},ee=function(e){for(var t,n=e===U,r=F(n?V:k(e)),i=[],s=0;r.length>s;)!o(L,t=r[s++])||n&&!o(U,t)||i.push(L[t]);return i};H||(a((R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===U&&t.call(V,n),o(this,D)&&o(this[D],e)&&(this[D][e]=!1),z(this,e,x(1,n))};return i&&J&&z(U,e,{configurable:!0,set:t}),G(e)}).prototype,"toString",(function(){return this._k})),T.f=Q,O.f=K,n(80).f=C.f=Z,n(255).f=X,E.f=ee,i&&!n(66)&&a(U,"propertyIsEnumerable",X,!0),h.f=function(e){return G(p(e))}),s(s.G+s.W+s.F*!H,{Symbol:R});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)p(te[ne++]);for(var re=P(p.store),oe=0;re.length>oe;)m(re[oe++]);s(s.S+s.F*!H,"Symbol",{for:function(e){return o(B,e+="")?B[e]:B[e]=R(e)},keyFor:function(e){if(!q(e))throw TypeError(e+" is not a symbol!");for(var t in B)if(B[t]===e)return t},useSetter:function(){J=!0},useSimple:function(){J=!1}}),s(s.S+s.F*!H,"Object",{create:function(e,t){return void 0===t?A(e):Y(A(e),t)},defineProperty:K,defineProperties:Y,getOwnPropertyDescriptor:Q,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=c((function(){E.f(1)}));s(s.S+s.F*ie,"Object",{getOwnPropertySymbols:function(e){return E.f(y(e))}}),I&&s(s.S+s.F*(!H||c((function(){var e=R();return"[null]"!=$([e])||"{}"!=$({a:e})||"{}"!=$(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(w(t)||void 0!==e)&&!q(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!q(t))return t}),r[1]=t,$.apply(I,r)}}),R.prototype[j]||n(40)(R.prototype,j,R.prototype.valueOf),d(R,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){"use strict";var r=n(22),o=n(258)(2);r(r.P+r.F*!n(380)([].filter,!0),"Array",{filter:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(37),o=n(69).f;n(253)("getOwnPropertyDescriptor",(function(){return function(e,t){return o(r(e),t)}}))},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return i}));var r=n(52);function o(e){var t=function(e,t){if("object"!==Object(r.default)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==Object(r.default)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Object(r.default)(t)?t:String(t)}function i(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(s=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(s))))+" */"),i=r.sources.map((function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"}));return[n].concat(i).concat([o]).join("\n")}var s;return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];null!=i&&(r[i]=!0)}for(o=0;o<e.length;o++){var s=e[o];null!=s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),t.push(s))}},t}},function(e,t,n){var r,o,i={},s=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),a=function(e,t){return t?t.querySelector(e):document.querySelector(e)},l=function(e){var t={};return function(e,n){if("function"==typeof e)return e();if(void 0===t[e]){var r=a.call(this,e,n);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}}(),c=null,u=0,d=[],f=n(638);function p(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=i[r.id];if(o){o.refs++;for(var s=0;s<o.parts.length;s++)o.parts[s](r.parts[s]);for(;s<r.parts.length;s++)o.parts.push(w(r.parts[s],t))}else{var a=[];for(s=0;s<r.parts.length;s++)a.push(w(r.parts[s],t));i[r.id]={id:r.id,refs:1,parts:a}}}}function h(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],s=t.base?i[0]+t.base:i[0],a={css:i[1],media:i[2],sourceMap:i[3]};r[s]?r[s].parts.push(a):n.push(r[s]={id:s,parts:[a]})}return n}function m(e,t){var n=l(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=d[d.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),d.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=l(e.insertAt.before,n);n.insertBefore(t,o)}}function v(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=d.indexOf(e);t>=0&&d.splice(t,1)}function g(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var r=function(){0;return n.nc}();r&&(e.attrs.nonce=r)}return b(t,e.attrs),m(e,t),t}function b(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function w(e,t){var n,r,o,i;if(t.transform&&e.css){if(!(i="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=i}if(t.singleton){var s=u++;n=c||(c=g(t)),r=_.bind(null,n,s,!1),o=_.bind(null,n,s,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",b(t,e.attrs),m(e,t),t}(t),r=A.bind(null,n,t),o=function(){v(n),n.href&&URL.revokeObjectURL(n.href)}):(n=g(t),r=x.bind(null,n),o=function(){v(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=s()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=h(e,t);return p(n,t),function(e){for(var r=[],o=0;o<n.length;o++){var s=n[o];(a=i[s.id]).refs--,r.push(a)}e&&p(h(e,t),t);for(o=0;o<r.length;o++){var a;if(0===(a=r[o]).refs){for(var l=0;l<a.parts.length;l++)a.parts[l]();delete i[a.id]}}}};var y,k=(y=[],function(e,t){return y[e]=t,y.filter(Boolean).join("\n")});function _(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=k(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}function x(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function A(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=f(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var s=new Blob([r],{type:"text/css"}),a=e.href;e.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}},function(e,t,n){"use strict";n(41),n(23),n(6),n(18),n(19),n(25),n(5);var r=n(2);n(42),n(6),n(19),n(18),n(43),Object.defineProperty(t,"__esModule",{value:!0}),t.clearAllSelectedComponents=C,t.deepCopy=function(e){return JSON.parse(JSON.stringify(e))},t.endDragTache=function(){k().commit("wfEditor/setMovingTache",!1),k().commit("wfEditor/setMouseDownPosition",null)},t.findIncomingTransitionsByTacheId=O,t.findOutgoingTransitionsByTacheId=E,t.findTacheById=P,t.getClientMousePosition=function(){var e=document.getElementById("svg").getScreenCTM(),t=k().getters["wfEditor/mouseDownPosition"];return{x:t.x*e.a+e.e,y:t.y*e.d+e.f}},t.getComponentInfo=function(e){var t=this,n=x().filter(function(n){return(0,i.default)(this,t),n.name===e}.bind(this));return n.length>0?n[0]:null},t.getComponentList=x,t.getI18n=_,t.getJoint=function(e,t){"string"==typeof e&&(e=function(e){var t=this;return k().getters["wfEditor/taches"].filter(function(n){return(0,i.default)(this,t),n.id===e}.bind(this))[0]}(e));switch(t){case"up":case"top":return{position:"up",x:e.x+e.width/2,y:e.y};case"right":return{position:"right",x:e.x+e.width,y:e.y+e.height/2};case"down":case"bottom":return{position:"down",x:e.x+e.width/2,y:e.y+e.height};case"left":return{position:"left",x:e.x,y:e.y+e.height/2};default:return{position:"",x:e.x,y:e.y}}},t.getMouseOffset=function(e,t){if(e.target.classList.contains("draggable")){var n=A(e);return n.x-=t.x,n.y-=t.y,n}},t.getMousePosition=A,t.getRealRegion=function(e){var t,n,r,o;t=n=1e4,r=o=0;var i,s=w(e);try{for(s.s();!(i=s.n()).done;){var a=i.value;t>a.x&&(t=a.x),n>a.y&&(n=a.y),r<a.x+a.width&&(r=a.x+a.width),o<a.y+a.height&&(o=a.y+a.height)}}catch(e){s.e(e)}finally{s.f()}return{x:t-10,y:n-10,width:r-t+20,height:o-n+20}},t.getVirtualRegion=function(e,t){if(!e||!t)return{};var n=e.x,r=e.y,o=t.x,i=t.y,s={x:0,y:0,width:Math.abs(o-n),height:Math.abs(i-r)};n<=o?r<=i?(s.x=n,s.y=r):(s.x=n,s.y=i):r>=i?(s.x=o,s.y=i):(s.x=o,s.y=r);return s},t.initializeProcessData=function(e){if(!e)return;T("HumanTask",e.humanTask),T("Decision",e.decision),T("Fork",e.fork),T("Join",e.join),T("Subprocess",e.subprocess),T("HumanDecision",e.humanDecision),T("CopyTask",e.copyTask),T("Start",e.start),T("End",e.end),function(e,t){t||(t=[]);Array.isArray(t)||(t=[t]);var n,r=k().getters["wfEditor/transitions"],o=w(t);try{var s=function(){var e=this,t=n.value,o=t.basicProperties.remark||"",s={id:t.attr.id,startJoint:{parent:P(t.attr.from),position:t.g.fromJoint},endJoint:{parent:P(t.attr.to),position:t.g.toJoint},isSelected:!1,remark:o,lineInfo:{type:t.g.lineType,controlPoint:null},ref:t};if("CurveLine"===t.g.lineType&&t.g.coordinate){var a=t.g.coordinate.split(",");s.lineInfo.controlPoint={x:a[0],y:a[1]}}else if("BrokenLine"===t.g.lineType&&t.g.coordinate){var l=t.g.coordinate.split(";"),c=[];l.forEach(function(t){if((0,i.default)(this,e),""!==t){var n=t.split(",");c.push({x:n[0],y:n[1]})}}.bind(this)),s.lineInfo.controlPoint=c}r.push(s)};for(o.s();!(n=o.n()).done;)s()}catch(e){o.e(e)}finally{o.f()}}(0,e.transition)},t.processTemplate=void 0,t.removeTextProperty=function e(t){Object.getOwnPropertyNames(t).forEach((function(n){if("object"===(0,o.default)(t[n])){if(void 0!==t[n]._text)return void(t[n]=t[n]._text);if(Object.keys(t[n]).length>0)e(t[n]);else{["variables","events","autoFilledFields"].indexOf(n)<0&&(t[n]="")}}}))},t.startDragTache=function(e,t){C(),t.$parent.region=null,t.$parent.showHistory||(t.model.isSelected=!0);k().getters["wfEditor/selectedTaches"].push(t.model);var n=A(e);k().commit("wfEditor/setMouseDownPosition",n),k().commit("wfEditor/setMovingTache",!0)},t.updateTransitionsWhenTacheIdChanged=S,t.validateTacheCode=function(e){var t=P(e.formModel.id);if(t&&t.id!==e.id)return e.$alert(_().t("workflowEditorMessage.itIsTheSameAsTheExistingLink",{name:t.name})),void(e.formModel.id=e.id);S(e.formModel.id,e.id),e.$emit("update:id",e.formModel.id)},t.watchShowName=function(e,t){var n="";if(e.processI18n&&e.model.ref&&e.model.ref.basicProperties&&e.model.ref.basicProperties.i18nKey){var r=e.model.ref.basicProperties.i18nKey,o=(0,s.getLanguageWithLocale)();e.processI18n[r]&&(n=e.processI18n[r][o]),n||(n=t)}else n=t;return n},n(20),n(3);var o=r(n(52));n(5),n(1);var i=r(n(14));n(7),n(1),n(582),n(3),n(20),n(30);var s=n(33),a=r(n(623)),l=r(n(405)),c=r(n(626)),u=r(n(627)),d=r(n(628)),f=r(n(629)),p=r(n(630)),h=r(n(631)),m=r(n(632)),v=r(n(633)),g=r(n(29)),b=r(n(634));function w(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw i}}}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function k(){return window.$store}function _(){return window.$locale?g.default.locale=window.$locale:g.default.locale="cn",g.default}function x(){return[{name:"Start",label:_().t("workflowEditor.task.start"),icon:"start",type:"success",round:!0,width:48,height:48,color:"#67C23A"},{name:"HumanTask",label:_().t("workflowEditor.task.humanTask"),icon:"human-task",type:"",round:!1,width:80,height:40,color:"#000"},{name:"Decision",label:_().t("workflowEditor.task.conditionJudgment"),icon:"decision",type:"",round:!1,width:48,height:48,color:"#999"},{name:"Fork",label:_().t("workflowEditor.task.branch"),icon:"fork",type:"",round:!1,width:48,height:48,color:"#999"},{name:"Join",label:_().t("workflowEditor.task.converge"),icon:"join",type:"",round:!1,width:48,height:48,color:"#999"},{name:"Subprocess",label:_().t("workflowEditor.task.subprocess"),icon:"subprocess",type:"warning",round:!1,width:80,height:40,color:"#0777D4"},{name:"HumanDecision",label:_().t("workflowEditor.task.manualJudgment"),icon:"human-decision",type:"",round:!1,width:48,height:48,color:"#999"},{name:"CopyTask",label:_().t("workflowEditor.task.cCtask"),icon:"copy-task",type:"",round:!1,width:80,height:40,color:"#0777D4"},{name:"End",label:_().t("workflowEditor.task.end"),icon:"end",type:"danger",round:!0,width:48,height:48,color:"#F56C6C"}]}function A(e){var t=document.getElementById("svg").getScreenCTM();return{x:(e.clientX-t.e)/t.a,y:(e.clientY-t.f)/t.d}}function C(){!function(){var e,t=w(k().getters["wfEditor/selectedTaches"]);try{for(t.s();!(e=t.n()).done;){e.value.isSelected=!1}}catch(e){t.e(e)}finally{t.f()}k().commit("wfEditor/setSelectedTaches",[])}(),k().getters["wfEditor/selectedTransition"]&&(k().getters["wfEditor/selectedTransition"].isSelected=!1),k().commit("wfEditor/setSelectedTransition",null)}function T(e,t){t||(t=[]),Array.isArray(t)||(t=[t]);var n,r=k().getters["wfEditor/taches"],o=w(t);try{for(o.s();!(n=o.n()).done;){var i=n.value,s={id:i.attr.id,name:i.attr.name,x:i.g.x,y:i.g.y,width:i.g.width,height:i.g.height,type:e,isSelected:!1,ref:i};r.push(s)}}catch(e){o.e(e)}finally{o.f()}}function E(e){var t=this;return k().getters["wfEditor/transitions"].filter(function(n){return(0,i.default)(this,t),n.startJoint.parent.id===e||n.ref.attr.from===e}.bind(this))}function O(e){var t=this;return k().getters["wfEditor/transitions"].filter(function(n){return(0,i.default)(this,t),n.endJoint.parent.id===e||n.ref.attr.to===e}.bind(this))}function P(e){var t=this,n=k().getters["wfEditor/taches"].filter(function(n){return(0,i.default)(this,t),n.ref.attr.id===e}.bind(this));return n.length>0?n[0]:null}function S(e,t){var n=this;return O(t).map(function(t){(0,i.default)(this,n),t.ref.attr.to=e,t.ref.attr.id="flow_"+t.ref.attr.from+"_to_"+t.ref.attr.to,t.id=t.ref.attr.id}.bind(this)),E(t).map(function(t){(0,i.default)(this,n),t.ref.attr.from=e,t.ref.attr.id="flow_"+t.ref.attr.from+"_to_"+t.ref.attr.to,t.id=t.ref.attr.id}.bind(this)),!0}var M={newProcess:a.default,newHumanTask:l.default,newDecision:c.default,newStart:u.default,newEnd:d.default,newTransition:f.default,newSubprocess:p.default,newFork:h.default,newJoin:m.default,newHumanDecision:v.default,newCopyTask:b.default};t.processTemplate=M},function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"Store",(function(){return d})),n.d(t,"createLogger",(function(){return O})),n.d(t,"createNamespacedHelpers",(function(){return A})),n.d(t,"install",(function(){return w})),n.d(t,"mapActions",(function(){return x})),n.d(t,"mapGetters",(function(){return _})),n.d(t,"mapMutations",(function(){return k})),n.d(t,"mapState",(function(){return y}));var r=("undefined"!=typeof window?window:void 0!==e?e:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(e,t){if(void 0===t&&(t=[]),null===e||"object"!=typeof e)return e;var n,r=(n=function(t){return t.original===e},t.filter(n)[0]);if(r)return r.copy;var i=Array.isArray(e)?[]:{};return t.push({original:e,copy:i}),Object.keys(e).forEach((function(n){i[n]=o(e[n],t)})),i}function i(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function s(e){return null!==e&&"object"==typeof e}var a=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"==typeof n?n():n)||{}},l={namespaced:{configurable:!0}};l.namespaced.get=function(){return!!this._rawModule.namespaced},a.prototype.addChild=function(e,t){this._children[e]=t},a.prototype.removeChild=function(e){delete this._children[e]},a.prototype.getChild=function(e){return this._children[e]},a.prototype.hasChild=function(e){return e in this._children},a.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},a.prototype.forEachChild=function(e){i(this._children,e)},a.prototype.forEachGetter=function(e){this._rawModule.getters&&i(this._rawModule.getters,e)},a.prototype.forEachAction=function(e){this._rawModule.actions&&i(this._rawModule.actions,e)},a.prototype.forEachMutation=function(e){this._rawModule.mutations&&i(this._rawModule.mutations,e)},Object.defineProperties(a.prototype,l);var c=function(e){this.register([],e,!1)};c.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},c.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")}),"")},c.prototype.update=function(e){!function e(t,n,r){0;if(n.update(r),r.modules)for(var o in r.modules){if(!n.getChild(o))return void 0;e(t.concat(o),n.getChild(o),r.modules[o])}}([],this.root,e)},c.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var o=new a(t,n);0===e.length?this.root=o:this.get(e.slice(0,-1)).addChild(e[e.length-1],o);t.modules&&i(t.modules,(function(t,o){r.register(e.concat(o),t,n)}))},c.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},c.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var u;var d=function(e){var t=this;void 0===e&&(e={}),!u&&"undefined"!=typeof window&&window.Vue&&w(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var o=e.strict;void 0===o&&(o=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new c(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new u,this._makeLocalGettersCache=Object.create(null);var i=this,s=this.dispatch,a=this.commit;this.dispatch=function(e,t){return s.call(i,e,t)},this.commit=function(e,t,n){return a.call(i,e,t,n)},this.strict=o;var l=this._modules.root.state;v(this,l,[],this._modules.root),m(this,l),n.forEach((function(e){return e(t)})),(void 0!==e.devtools?e.devtools:u.config.devtools)&&function(e){r&&(e._devtoolHook=r,r.emit("vuex:init",e),r.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){r.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){r.emit("vuex:action",e,t)}),{prepend:!0}))}(this)},f={state:{configurable:!0}};function p(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function h(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;v(e,n,[],e._modules.root,!0),m(e,n,t)}function m(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,s={};i(o,(function(t,n){s[n]=function(e,t){return function(){return e(t)}}(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var a=u.config.silent;u.config.silent=!0,e._vm=new u({data:{$$state:t},computed:s}),u.config.silent=a,e.strict&&function(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),u.nextTick((function(){return r.$destroy()})))}function v(e,t,n,r,o){var i=!n.length,s=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[s],e._modulesNamespaceMap[s]=r),!i&&!o){var a=g(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){u.set(a,l,r.state)}))}var c=r.context=function(e,t,n){var r=""===t,o={dispatch:r?e.dispatch:function(n,r,o){var i=b(n,r,o),s=i.payload,a=i.options,l=i.type;return a&&a.root||(l=t+l),e.dispatch(l,s)},commit:r?e.commit:function(n,r,o){var i=b(n,r,o),s=i.payload,a=i.options,l=i.type;a&&a.root||(l=t+l),e.commit(l,s,a)}};return Object.defineProperties(o,{getters:{get:r?function(){return e.getters}:function(){return function(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(o){if(o.slice(0,r)===t){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return e.getters[o]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}(e,t)}},state:{get:function(){return g(e.state,n)}}}),o}(e,s,n);r.forEachMutation((function(t,n){!function(e,t,n,r){(e._mutations[t]||(e._mutations[t]=[])).push((function(t){n.call(e,r.state,t)}))}(e,s+n,t,c)})),r.forEachAction((function(t,n){var r=t.root?n:s+n,o=t.handler||t;!function(e,t,n,r){(e._actions[t]||(e._actions[t]=[])).push((function(t){var o,i=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return(o=i)&&"function"==typeof o.then||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}(e,r,o,c)})),r.forEachGetter((function(t,n){!function(e,t,n,r){if(e._wrappedGetters[t])return void 0;e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)}}(e,s+n,t,c)})),r.forEachChild((function(r,i){v(e,t,n.concat(i),r,o)}))}function g(e,t){return t.reduce((function(e,t){return e[t]}),e)}function b(e,t,n){return s(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function w(e){u&&e===u||
2
- /*!
3
- * vuex v3.6.2
4
- * (c) 2021 Evan You
5
- * @license MIT
6
- */
7
- function(e){if(Number(e.version.split(".")[0])>=2)e.mixin({beforeCreate:n});else{var t=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[n].concat(e.init):n,t.call(this,e)}}function n(){var e=this.$options;e.store?this.$store="function"==typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}(u=e)}f.state.get=function(){return this._vm._data.$$state},f.state.set=function(e){0},d.prototype.commit=function(e,t,n){var r=this,o=b(e,t,n),i=o.type,s=o.payload,a=(o.options,{type:i,payload:s}),l=this._mutations[i];l&&(this._withCommit((function(){l.forEach((function(e){e(s)}))})),this._subscribers.slice().forEach((function(e){return e(a,r.state)})))},d.prototype.dispatch=function(e,t){var n=this,r=b(e,t),o=r.type,i=r.payload,s={type:o,payload:i},a=this._actions[o];if(a){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(s,n.state)}))}catch(e){0}var l=a.length>1?Promise.all(a.map((function(e){return e(i)}))):a[0](i);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(s,n.state)}))}catch(e){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(s,n.state,e)}))}catch(e){0}t(e)}))}))}},d.prototype.subscribe=function(e,t){return p(e,this._subscribers,t)},d.prototype.subscribeAction=function(e,t){return p("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},d.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},d.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},d.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),v(this,this.state,e,this._modules.get(e),n.preserveState),m(this,this.state)},d.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=g(t.state,e.slice(0,-1));u.delete(n,e[e.length-1])})),h(this)},d.prototype.hasModule=function(e){return"string"==typeof e&&(e=[e]),this._modules.isRegistered(e)},d.prototype.hotUpdate=function(e){this._modules.update(e),h(this,!0)},d.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(d.prototype,f);var y=T((function(e,t){var n={};return C(t).forEach((function(t){var r=t.key,o=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=E(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"==typeof o?o.call(this,t,n):t[o]},n[r].vuex=!0})),n})),k=T((function(e,t){var n={};return C(t).forEach((function(t){var r=t.key,o=t.val;n[r]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=this.$store.commit;if(e){var i=E(this.$store,"mapMutations",e);if(!i)return;r=i.context.commit}return"function"==typeof o?o.apply(this,[r].concat(t)):r.apply(this.$store,[o].concat(t))}})),n})),_=T((function(e,t){var n={};return C(t).forEach((function(t){var r=t.key,o=t.val;o=e+o,n[r]=function(){if(!e||E(this.$store,"mapGetters",e))return this.$store.getters[o]},n[r].vuex=!0})),n})),x=T((function(e,t){var n={};return C(t).forEach((function(t){var r=t.key,o=t.val;n[r]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var i=E(this.$store,"mapActions",e);if(!i)return;r=i.context.dispatch}return"function"==typeof o?o.apply(this,[r].concat(t)):r.apply(this.$store,[o].concat(t))}})),n})),A=function(e){return{mapState:y.bind(null,e),mapGetters:_.bind(null,e),mapMutations:k.bind(null,e),mapActions:x.bind(null,e)}};function C(e){return function(e){return Array.isArray(e)||s(e)}(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function T(e){return function(t,n){return"string"!=typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function E(e,t,n){return e._modulesNamespaceMap[n]}function O(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var r=e.transformer;void 0===r&&(r=function(e){return e});var i=e.mutationTransformer;void 0===i&&(i=function(e){return e});var s=e.actionFilter;void 0===s&&(s=function(e,t){return!0});var a=e.actionTransformer;void 0===a&&(a=function(e){return e});var l=e.logMutations;void 0===l&&(l=!0);var c=e.logActions;void 0===c&&(c=!0);var u=e.logger;return void 0===u&&(u=console),function(e){var d=o(e.state);void 0!==u&&(l&&e.subscribe((function(e,s){var a=o(s);if(n(e,d,a)){var l=M(),c=i(e),f="mutation "+e.type+l;P(u,f,t),u.log("%c prev state","color: #9E9E9E; font-weight: bold",r(d)),u.log("%c mutation","color: #03A9F4; font-weight: bold",c),u.log("%c next state","color: #4CAF50; font-weight: bold",r(a)),S(u)}d=a})),c&&e.subscribeAction((function(e,n){if(s(e,n)){var r=M(),o=a(e),i="action "+e.type+r;P(u,i,t),u.log("%c action","color: #03A9F4; font-weight: bold",o),S(u)}})))}}function P(e,t,n){var r=n?e.groupCollapsed:e.group;try{r.call(e,t)}catch(n){e.log(t)}}function S(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function M(){var e=new Date;return" @ "+F(e.getHours(),2)+":"+F(e.getMinutes(),2)+":"+F(e.getSeconds(),2)+"."+F(e.getMilliseconds(),3)}function F(e,t){return n="0",r=t-e.toString().length,new Array(r+1).join(n)+e;var n,r}var R={Store:d,install:w,version:"3.6.2",mapState:y,mapMutations:k,mapGetters:_,mapActions:x,createNamespacedHelpers:A,createLogger:O};t.default=R}.call(this,n(35))},function(e,t,n){"use strict";function r(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}n.r(t),n.d(t,"default",(function(){return r}))},function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE__15__},function(e,t,n){var r=n(77)("wks"),o=n(67),i=n(17).Symbol,s="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=s&&i[e]||(s?i:o)("Symbol."+e))}).store=r},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";var r=n(48),o=n(22),i=n(53),s=n(385),a=n(386),l=n(39),c=n(381),u=n(387);o(o.S+o.F*!n(391)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,d,f=i(e),p="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,v=void 0!==m,g=0,b=u(f);if(v&&(m=r(m,h>2?arguments[2]:void 0,2)),null==b||p==Array&&a(b))for(n=new p(t=l(f.length));t>g;g++)c(n,g,v?m(f[g],g):f[g]);else for(d=b.call(f),n=new p;!(o=d.next()).done;g++)c(n,g,v?s(d,m,[o.value,g],!0):o.value);return n.length=g,n}})},function(e,t,n){"use strict";var r=n(393)(!0);n(383)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){"use strict";var r=n(580),o=n(21),i=n(388),s=n(260),a=n(39),l=n(261),c=n(262),u=n(24),d=Math.min,f=[].push,p="length",h=!u((function(){RegExp(4294967295,"y")}));n(263)("split",2,(function(e,t,n,u){var m;return m="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[p]||2!="ab".split(/(?:ab)*/)[p]||4!=".".split(/(.?)(.?)/)[p]||".".split(/()()/)[p]>1||"".split(/.?/)[p]?function(e,t){var o=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(o,e,t);for(var i,s,a,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,h=void 0===t?4294967295:t>>>0,m=new RegExp(e.source,u+"g");(i=c.call(m,o))&&!((s=m.lastIndex)>d&&(l.push(o.slice(d,i.index)),i[p]>1&&i.index<o[p]&&f.apply(l,i.slice(1)),a=i[0][p],d=s,l[p]>=h));)m.lastIndex===i.index&&m.lastIndex++;return d===o[p]?!a&&m.test("")||l.push(""):l.push(o.slice(d)),l[p]>h?l.slice(0,h):l}:"0".split(void 0,0)[p]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var o=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):m.call(String(o),n,r)},function(e,t){var r=u(m,e,this,t,m!==n);if(r.done)return r.value;var c=o(e),f=String(this),p=i(c,RegExp),v=c.unicode,g=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(h?"y":"g"),b=new p(h?c:"^(?:"+c.source+")",g),w=void 0===t?4294967295:t>>>0;if(0===w)return[];if(0===f.length)return null===l(b,f)?[f]:[];for(var y=0,k=0,_=[];k<f.length;){b.lastIndex=h?k:0;var x,A=l(b,h?f:f.slice(k));if(null===A||(x=d(a(b.lastIndex+(h?0:k)),f.length))===y)k=s(f,k,v);else{if(_.push(f.slice(y,k)),_.length===w)return _;for(var C=1;C<=A.length-1;C++)if(_.push(A[C]),_.length===w)return _;k=y=x}}return _.push(f.slice(y)),_}]}))},function(e,t,n){var r=n(27);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){var r=n(17),o=n(47),i=n(40),s=n(34),a=n(48),l=function(e,t,n){var c,u,d,f,p=e&l.F,h=e&l.G,m=e&l.S,v=e&l.P,g=e&l.B,b=h?r:m?r[t]||(r[t]={}):(r[t]||{}).prototype,w=h?o:o[t]||(o[t]={}),y=w.prototype||(w.prototype={});for(c in h&&(n=t),n)d=((u=!p&&b&&void 0!==b[c])?b:n)[c],f=g&&u?a(d,r):v&&"function"==typeof d?a(Function.call,d):d,b&&s(b,c,d,e&l.U),w[c]!=d&&i(w,c,f),v&&y[c]!=d&&(y[c]=d)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){"use strict";var r=n(81),o={};o[n(16)("toStringTag")]="z",o+""!="[object z]"&&n(34)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";var r=n(382),o=n(563),i=n(70),s=n(37);e.exports=n(383)(Array,"Array",(function(e,t){this._t=s(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(21),o=n(371),i=n(76),s=Object.defineProperty;t.f=n(28)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(24)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(14)),i=r(n(15)),s=r(n(292)),a=r(n(247)),l=r(n(624)),c=r(n(625));i.default.use(a.default);var u={en:l.default,cn:c.default},d=new a.default({locale:"cn",messages:u});s.default.i18n(function(e,t){return(0,o.default)(this,void 0),d.t(e,t)}.bind(void 0));var f=d;t.default=f},function(e,t,n){"use strict";var r=n(22),o=n(258)(1);r(r.P+r.F*!n(380)([].map,!0),"Array",{map:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";n.r(t);var r=n(299),o=n(103);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(642);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1),n(1);var r=n(12),o={startDrag:function(e){console.log(this.model.name+" mousedown"),this.setContextMenuVisible(!1),(0,r.startDragTache)(e,this)},endDrag:function(){console.log(this.model.name+" mouseup"),(0,r.endDragTache)()},showJoints:function(){this.$parent.showHistory||(this.jointPoints=["up","right","down","left"])},hideJoints:function(){this.jointPoints=[]}};t.default=o},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"getI18n",(function(){return getI18n})),__webpack_require__.d(__webpack_exports__,"getLanguageWithLocale",(function(){return getLanguageWithLocale})),__webpack_require__.d(__webpack_exports__,"findOptionsByDynamicDataSource",(function(){return findOptionsByDynamicDataSource})),__webpack_require__.d(__webpack_exports__,"findDynamicDataSourceByCode",(function(){return findDynamicDataSourceByCode})),__webpack_require__.d(__webpack_exports__,"analysisCondition",(function(){return analysisCondition})),__webpack_require__.d(__webpack_exports__,"getPropValue",(function(){return getPropValue})),__webpack_require__.d(__webpack_exports__,"analysisValue",(function(){return analysisValue})),__webpack_require__.d(__webpack_exports__,"setEntityFieldValue",(function(){return setEntityFieldValue})),__webpack_require__.d(__webpack_exports__,"getEntityFieldValueWithOutCase",(function(){return getEntityFieldValueWithOutCase})),__webpack_require__.d(__webpack_exports__,"getEntityFieldValue",(function(){return getEntityFieldValue})),__webpack_require__.d(__webpack_exports__,"getParentObjectUtil",(function(){return getParentObjectUtil})),__webpack_require__.d(__webpack_exports__,"findSystemInfoByCode",(function(){return findSystemInfoByCode})),__webpack_require__.d(__webpack_exports__,"getPropNameWhenJoinTable",(function(){return getPropNameWhenJoinTable})),__webpack_require__.d(__webpack_exports__,"isImage",(function(){return isImage}));var _i18n_i18n__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(249),vue__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(15),vue__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_1__),_calculator_calculator_util__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(550);function getI18n(){return window.$locale?_i18n_i18n__WEBPACK_IMPORTED_MODULE_0__.a.locale=window.$locale:_i18n_i18n__WEBPACK_IMPORTED_MODULE_0__.a.locale="cn",_i18n_i18n__WEBPACK_IMPORTED_MODULE_0__.a}function getLanguageWithLocale(){const e=window.$locale;return e&&"en"===e?"en_US":"zh_CN"}function findOptionsByDynamicDataSource(e,t,n,r){return new Promise((o,i)=>{findDynamicDataSourceByCode(e,t,n,r).then(e=>{let t=[];if(e&&e.options){const n=e.options;let r;e.valueAttribute&&(r=e.valueAttribute),r&&"[label]"!==r||(r="_label_"),n.forEach(e=>{const n=e[r],o=e._label_;t.push({label:o,value:n})})}t||(t=[]),o(t)}).catch(e=>{i(e)})})}function findDynamicDataSourceByCode(e,t,n,r){return new Promise((o,i)=>{null==t&&(t="");const s={searchText:t};r&&(s.additionalParamMap=JSON.parse(r)),n&&null!==n&&(s.entity=n),vue__WEBPACK_IMPORTED_MODULE_1___default.a.prototype.$http.post(vue__WEBPACK_IMPORTED_MODULE_1___default.a.prototype.baseURL+"/common/dynamic-data-source/"+e,s).then(e=>{o(e)}).catch(e=>{i(e)})})}function analysisCondition(e,t,n,r,o,i,s){if(void 0===e||""===e||null===e)return!0;null==o&&(o=!1);let a={};n&&"string"==typeof n&&""!==n?a=JSON.parse(n):n&&"object"==typeof n&&(a=n);let l={};r&&"string"==typeof r&&""!==r?l=JSON.parse(r):r&&"object"==typeof r&&(l=r);let c=[];return e&&"string"==typeof e&&""!==e?c=JSON.parse(e):e&&Array.isArray(e)&&(c=e),parseCondition(t,c,o,i,a,l,s)}function parseCondition(entity,conditionList,isSql,tableName,additionalParamMap,contextParameterMap,parentFormData){if(null==conditionList||0===conditionList.length)return!0;let conditions="";for(let e=0;e<conditionList.length;e++){const t=conditionList[e];let n=t.propName,r=t.propDbName,o;if(!(n&&""!==n||r&&""!==r))continue;if(isSql&&r){if(-1!==r.indexOf("parent_+_")){r=r.replace("parent_+_","");const e=r.split("_+_");r=e[1],o=getValue(parentFormData,r,isSql)}else o=getValue(entity,r,isSql);if(null==o&&tableName&&r.toLowerCase().startsWith(tableName.toLowerCase()+".")){const e=r.substring(r.indexOf("."));o=getValue(entity,e,isSql)}}else{if(-1!==n.indexOf("parent_+_")){n=n.replace("parent_+_","");const e=n.split("_+_");n=e[1],o=getValue(parentFormData,n,isSql)}else o=getValue(entity,n,isSql);r&&null==o&&(o=getValue(entity,r,isSql))}const i=t.operator,s=t.propValue,a=t.dataType,l=t.variableIsNull;let c=getPropValue(s,entity,additionalParamMap,contextParameterMap);l&&"null"===l&&(void 0!==c&&""!==c||(c=null));let u=Object(_calculator_calculator_util__WEBPACK_IMPORTED_MODULE_2__.a)(o,i,c,a);const d=t.leftBracket,f=t.rightBracket;let p=t.joinSign;if(d&&null!==d&&""!==d&&(conditions+=d,conditions+=" "),l&&"null"!==l&&(null!=c&&c+""!=""||(u="1=1"===l)),conditions+=u+" ",f&&null!==f&&""!==f&&(conditions+=f,conditions+=" "),e<conditionList.length-1&&p&&null!==p&&""!==p){const e=p.toLowerCase();"and"===e?p=e.replace("and","&&"):"or"===e&&(p=e.replace("or","||")),conditions+=p+" "}}return console.log("parseCondition----conditions=",conditions),!conditions||eval("("+conditions+")")}const REPLACE_DOT="__";function getValue(e,t,n){let r=null;return e&&null!==e&&t&&null!==t&&(r=getValueByField(e,t),null==r&&n&&(void 0!==r&&null!=r||t.indexOf(".")>0&&(r=getValueByField(e,t=t.replace(".",REPLACE_DOT))))),r}function getValueByField(e,t){if(e&&null!==e){let n;return n=t.indexOf(".")>0?getSubEntityValue(e,t):e[t],n}}function getSubEntityValue(e,t){let n=null,r=e;const o=t.split("\\.");for(let e=0;e<o.length;e++){const t=o[e];e===o.length?n=getSubEntityFieldValue(r,t):r=getSubEntityFieldValue(r,t)}return n}function getSubEntityFieldValue(e,t){return null==e?null:e[t]}function getContextValue(e,t){if(e)return e[t]}function getPropValue(e,t,n,r,o,i,s){let a=null;if(e&&null!==e&&""!==e)if("null"===e)a=null;else if(e.includes("${context.")||e.includes("${request.")||e.includes("${obj.")){if(e.includes("${context."))a=getContextValue(r,e=e.replace("${context.","").replace("}",""));else if(e.includes("${request.")&&"${request.term}"!==e)e=e.replace("${request.","").replace("}",""),a=n&&null!=n&&Object.keys(n).indexOf(e)>=0&&n[e]&&null!==n[e]?n[e]:null;else if(e.includes("${obj."))if(void 0===t||null==t)a=null;else{a=getEntityFieldValue(t,e.replace("${obj.","").replace("}",""))}}else if(e.includes("${parent."))if(void 0===o||null==o)a=null;else{a=getEntityFieldValue(o,e.replace("${parent.","").replace("}",""))}else if(e.includes("${task."))if(void 0===s||null==s)a=null;else{a=getEntityFieldValue(s,e.replace("${task.","").replace("}",""))}else if(e.includes("${subObj."))if(void 0===i||null==i)a=null;else{a=getEntityFieldValue(i,e.replace("${subObj.","").replace("}",""))}else a=e.includes("${input.")?e.replace("${input.","").replace("}",""):e;return a}function analysisValue(e,t,n,r){if(!e)return;let o="";const i=e.split("-#-#");return null!=i&&i.length>0&&i.forEach(e=>{let i=getPropValue(e,t,n,r);i&&null!==i||(i=""),o+=i}),o}function setEntityFieldValue(e,t,n){if(t&&e)if(t&&t.indexOf(".")>0){const r=getParentObjectUtil(t,e);if(r){const e=t.substring(t.lastIndexOf(".")+1);void 0===r[e]?vue__WEBPACK_IMPORTED_MODULE_1___default.a.set(r,t.substring(t.lastIndexOf(".")+1),n):r[e]=n}}else void 0===e[t]?vue__WEBPACK_IMPORTED_MODULE_1___default.a.set(e,t,n):e[t]=n}function getEntityFieldValueWithOutCase(e,t){if(t&&t.indexOf(".")>0){return getParentObjectUtil(t,e)[t.substring(t.lastIndexOf(".")+1)]}return e[t]}function getEntityFieldValue(e,t,n){let r=getEntityFieldValueWithCase(e,t);return void 0===r&&(r=getEntityFieldValueWithCase(e,t.toLowerCase())),void 0===r&&void 0===n&&(r=getEntityFieldValueWithCase(e,t.toUpperCase())),r}function getEntityFieldValueWithCase(e,t){if(t&&t.indexOf(".")>0){return getParentObjectUtil(t,e)[t.substring(t.lastIndexOf(".")+1)]}return e[t]}function getParentObjectUtil(e,t){const n=e.split(".");if(1===n.length)return t;{let e;for(let r=0;r<n.length-1;r++)e=getParentModelProp(n[r],0===r?t:e);return e}}function getParentModelProp(e,t){let n=getParentModelPropWithCase(e,t);return void 0===n&&(n=getParentModelPropWithCase(e.toLowerCase(),t)),void 0===n&&(n=getParentModelPropWithCase(e.toUpperCase(),t)),n}function getParentModelPropWithCase(e,t){return t||(t={}),t[e]||(t[e]={}),t[e]}function findSystemInfoByCode(e){return new Promise((t,n)=>{e||(e=vue__WEBPACK_IMPORTED_MODULE_1___default.a.prototype.systemCode),vue__WEBPACK_IMPORTED_MODULE_1___default.a.prototype.$http.get(vue__WEBPACK_IMPORTED_MODULE_1___default.a.prototype.baseAPI+"/component/business-systems/"+e).then(n=>{t(n?{zh_CN:n.name,en_US:n.enName,frontendUrl:n.frontendUrl}:"系统:"+e+"不存在")}).catch(e=>{n(e)})})}function getPropNameWhenJoinTable(e,t,n){if(e&&void 0!==t&&!0===t){const t="__";e.indexOf(".")>0?e=e.replace(".",t):n&&null!==n&&""!==n&&e.indexOf(n+t)<0&&(e=n+t+e)}return e}function isImage(e){return!!/\.(jpg|JPG|jpeg|JPEG|png|PNG|gif|GIF|bmp|BMP|psd|PSD|tif|TIF)$/.test(e)}},function(e,t,n){var r=n(17),o=n(40),i=n(36),s=n(67)("src"),a=n(556),l=(""+a).split("toString");n(47).inspectSource=function(e){return a.call(e)},(e.exports=function(e,t,n,a){var c="function"==typeof n;c&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(c&&(i(n,s)||o(n,s,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:a?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[s]||a.call(this)}))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(374),o=n(54);e.exports=function(e){return r(o(e))}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(65),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(26),o=n(68);e.exports=n(28)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";var r=n(22),o=n(257),i=n(38),s=n(375),a=n(39),l=[].slice;r(r.P+r.F*n(24)((function(){o&&l.call(o)})),"Array",{slice:function(e,t){var n=a(this.length),r=i(this);if(t=void 0===t?n:t,"Array"==r)return l.call(this,e,t);for(var o=s(e,n),c=s(t,n),u=a(c-o),d=new Array(u),f=0;f<u;f++)d[f]="String"==r?this.charAt(o+f):this[o+f];return d}})},function(e,t,n){n(377)("asyncIterator")},function(e,t,n){"use strict";n(579);var r=n(21),o=n(259),i=n(28),s=/./.toString,a=function(e){n(34)(RegExp.prototype,"toString",e,!0)};n(24)((function(){return"/a/b"!=s.call({source:"a",flags:"b"})}))?a((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)})):"toString"!=s.name&&a((function(){return s.call(this)}))},function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";var r=n(21),o=n(53),i=n(39),s=n(65),a=n(260),l=n(261),c=Math.max,u=Math.min,d=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;n(263)("replace",2,(function(e,t,n,h){return[function(r,o){var i=e(this),s=null==r?void 0:r[t];return void 0!==s?s.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=h(n,e,this,t);if(o.done)return o.value;var d=r(e),f=String(this),p="function"==typeof t;p||(t=String(t));var v=d.global;if(v){var g=d.unicode;d.lastIndex=0}for(var b=[];;){var w=l(d,f);if(null===w)break;if(b.push(w),!v)break;""===String(w[0])&&(d.lastIndex=a(f,i(d.lastIndex),g))}for(var y,k="",_=0,x=0;x<b.length;x++){w=b[x];for(var A=String(w[0]),C=c(u(s(w.index),f.length),0),T=[],E=1;E<w.length;E++)T.push(void 0===(y=w[E])?y:String(y));var O=w.groups;if(p){var P=[A].concat(T,C,f);void 0!==O&&P.push(O);var S=String(t.apply(void 0,P))}else S=m(A,f,C,T,O,t);C>=_&&(k+=f.slice(_,C)+S,_=C+A.length)}return k+f.slice(_)}];function m(e,t,r,i,s,a){var l=r+e.length,c=i.length,u=p;return void 0!==s&&(s=o(s),u=f),n.call(a,u,(function(n,o){var a;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(l);case"<":a=s[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>c){var f=d(u/10);return 0===f?n:f<=c?void 0===i[f-1]?o.charAt(1):i[f-1]+o.charAt(1):n}a=i[u-1]}return void 0===a?"":a}))}}))},function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(78);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.getFormField=i,t.getFormFieldLabel=function(e){var t=i(e);return t?t.label:e},t.getFormFields=function(){},n(1);var o=r(n(14));function i(e){var t=this,n=window.$store.getters["wfEditor/formFields"];e&&e.indexOf("${field[")>=0&&(e=e.substring(e.indexOf("[")+1,e.lastIndexOf("]")));var r=n.filter(function(n){return(0,o.default)(this,t),n.name===e}.bind(this));return r.length>0?r[0]:null}n(7),n(1)},function(e,t,n){"use strict";var r=n(92),o=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=d;var i=Object.create(n(75));i.inherits=n(63);var s=n(503),a=n(287);i.inherits(d,s);for(var l=o(a.prototype),c=0;c<l.length;c++){var u=l[c];d.prototype[u]||(d.prototype[u]=a.prototype[u])}function d(e){if(!(this instanceof d))return new d(e);s.call(this,e),a.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",f)}function f(){this.allowHalfOpen||this._writableState.ended||r.nextTick(p,this)}function p(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),d.prototype._destroy=function(e,t){this.push(null),this.end(),r.nextTick(t,e)}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.r(t),n.d(t,"default",(function(){return r}))},function(e,t,n){var r=n(54);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";var r=n(17),o=n(36),i=n(38),s=n(566),a=n(76),l=n(24),c=n(80).f,u=n(69).f,d=n(26).f,f=n(568).trim,p=r.Number,h=p,m=p.prototype,v="Number"==i(n(256)(m)),g="trim"in String.prototype,b=function(e){var t=a(e,!1);if("string"==typeof t&&t.length>2){var n,r,o,i=(t=g?t.trim():f(t,3)).charCodeAt(0);if(43===i||45===i){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(t.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+t}for(var s,l=t.slice(2),c=0,u=l.length;c<u;c++)if((s=l.charCodeAt(c))<48||s>o)return NaN;return parseInt(l,r)}}return+t};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof p&&(v?l((function(){m.valueOf.call(n)})):"Number"!=i(n))?s(new h(b(t)),n,p):b(t)};for(var w,y=n(28)?c(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),k=0;y.length>k;k++)o(h,w=y[k])&&!o(p,w)&&d(p,w,u(h,w));p.prototype=m,m.constructor=p,n(34)(r,"Number",p)}},function(e,t,n){var r=n(57),o=n(86);e.exports=n(58)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(85),o=n(396),i=n(268),s=Object.defineProperty;t.f=n(58)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(72)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(596),o=n(264);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(266)("wks"),o=n(84),i=n(45).Symbol,s="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=s&&i[e]||(s?i:o)("Symbol."+e))}).store=r},function(e,t,n){"use strict";n.r(t);var r=n(322),o=n(149);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(325),o=n(155);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t,n){var r=n(373),o=n(252);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=!1},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(255),o=n(68),i=n(37),s=n(76),a=n(36),l=n(371),c=Object.getOwnPropertyDescriptor;t.f=n(28)?c:function(e,t){if(e=i(e),t=s(t,!0),l)try{return c(e,t)}catch(e){}if(a(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t){e.exports={}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";n.r(t);var r=n(319),o=n(143);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(675);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"70c39db1",null);t.default=a.exports},function(e,t,n){"use strict";(function(e){
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vuex"),require("vue"),require("js-cookie")):"function"==typeof define&&define.amd?define("imatrix-ui",["vuex","vue","js-cookie"],t):"object"==typeof exports?exports["imatrix-ui"]=t(require("vuex"),require("vue"),require("js-cookie")):e["imatrix-ui"]=t(e.Vuex,e.Vue,e.JsCookie)}(window,(function(__WEBPACK_EXTERNAL_MODULE__11__,__WEBPACK_EXTERNAL_MODULE__15__,__WEBPACK_EXTERNAL_MODULE__248__){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/lib/",n(n.s=553)}([function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):o&&(l=s?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}n.d(t,"a",(function(){return r}))},function(e,t,n){var r=n(26).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(28)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(e){return""}}})},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(53),o=n(64);n(253)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){var r=n(22),o=n(562),i=n(36),a=n(69),s=n(381);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),l=a.f,c=o(r),u={},d=0;c.length>d;)void 0!==(n=l(r,t=c[d++]))&&s(u,t,n);return u}})},function(e,t,n){for(var r=n(25),o=n(64),i=n(34),a=n(17),s=n(39),l=n(70),c=n(16),u=c("iterator"),d=c("toStringTag"),f=l.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(p),m=0;m<h.length;m++){var v,g=h[m],b=p[g],w=a[g],y=w&&w.prototype;if(y&&(y[u]||s(y,u,f),y[d]||s(y,d,g),l[g]=f,b))for(v in r)y[v]||i(y,v,r[v],!0)}},function(e,t,n){"use strict";var r=n(17),o=n(35),i=n(28),a=n(22),s=n(34),l=n(557).KEY,c=n(24),u=n(77),d=n(79),f=n(67),p=n(16),h=n(376),m=n(377),v=n(558),g=n(378),b=n(21),w=n(27),y=n(53),_=n(36),k=n(76),O=n(68),T=n(256),x=n(379),E=n(69),S=n(254),F=n(26),P=n(64),C=E.f,M=F.f,R=x.f,I=r.Symbol,D=r.JSON,$=D&&D.stringify,A=p("_hidden"),j=p("toPrimitive"),N={}.propertyIsEnumerable,L=u("symbol-registry"),V=u("symbols"),U=u("op-symbols"),B=Object.prototype,H="function"==typeof I&&!!S.f,W=r.QObject,z=!W||!W.prototype||!W.prototype.findChild,q=i&&c((function(){return 7!=T(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=C(B,t);r&&delete B[t],M(e,t,n),r&&e!==B&&M(B,t,r)}:M,J=function(e){var t=V[e]=T(I.prototype);return t._k=e,t},G=H&&"symbol"==typeof I.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof I},K=function(e,t,n){return e===B&&K(U,t,n),b(e),t=k(t,!0),b(n),o(V,t)?(n.enumerable?(o(e,A)&&e[A][t]&&(e[A][t]=!1),n=T(n,{enumerable:O(0,!1)})):(o(e,A)||M(e,A,O(1,{})),e[A][t]=!0),q(e,t,n)):M(e,t,n)},Y=function(e,t){b(e);for(var n,r=v(t=_(t)),o=0,i=r.length;i>o;)K(e,n=r[o++],t[n]);return e},X=function(e){var t=N.call(this,e=k(e,!0));return!(this===B&&o(V,e)&&!o(U,e))&&(!(t||!o(this,e)||!o(V,e)||o(this,A)&&this[A][e])||t)},Q=function(e,t){if(e=_(e),t=k(t,!0),e!==B||!o(V,t)||o(U,t)){var n=C(e,t);return!n||!o(V,t)||o(e,A)&&e[A][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=R(_(e)),r=[],i=0;n.length>i;)o(V,t=n[i++])||t==A||t==l||r.push(t);return r},ee=function(e){for(var t,n=e===B,r=R(n?U:_(e)),i=[],a=0;r.length>a;)!o(V,t=r[a++])||n&&!o(B,t)||i.push(V[t]);return i};H||(s((I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(U,n),o(this,A)&&o(this[A],e)&&(this[A][e]=!1),q(this,e,O(1,n))};return i&&z&&q(B,e,{configurable:!0,set:t}),J(e)}).prototype,"toString",(function(){return this._k})),E.f=Q,F.f=K,n(80).f=x.f=Z,n(255).f=X,S.f=ee,i&&!n(66)&&s(B,"propertyIsEnumerable",X,!0),h.f=function(e){return J(p(e))}),a(a.G+a.W+a.F*!H,{Symbol:I});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)p(te[ne++]);for(var re=P(p.store),oe=0;re.length>oe;)m(re[oe++]);a(a.S+a.F*!H,"Symbol",{for:function(e){return o(L,e+="")?L[e]:L[e]=I(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in L)if(L[t]===e)return t},useSetter:function(){z=!0},useSimple:function(){z=!1}}),a(a.S+a.F*!H,"Object",{create:function(e,t){return void 0===t?T(e):Y(T(e),t)},defineProperty:K,defineProperties:Y,getOwnPropertyDescriptor:Q,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=c((function(){S.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return S.f(y(e))}}),D&&a(a.S+a.F*(!H||c((function(){var e=I();return"[null]"!=$([e])||"{}"!=$({a:e})||"{}"!=$(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(w(t)||void 0!==e)&&!G(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,$.apply(D,r)}}),I.prototype[j]||n(39)(I.prototype,j,I.prototype.valueOf),d(I,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){"use strict";var r=n(22),o=n(258)(2);r(r.P+r.F*!n(380)([].filter,!0),"Array",{filter:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(36),o=n(69).f;n(253)("getOwnPropertyDescriptor",(function(){return function(e,t){return o(r(e),t)}}))},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return i}));var r=n(52);function o(e){var t=function(e,t){if("object"!==Object(r.default)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==Object(r.default)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Object(r.default)(t)?t:String(t)}function i(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";n(40),n(23),n(6),n(18),n(19),n(25),n(5);var r=n(2);n(41),n(6),n(19),n(18),n(42),Object.defineProperty(t,"__esModule",{value:!0}),t.clearAllSelectedComponents=x,t.deepCopy=function(e){return JSON.parse(JSON.stringify(e))},t.endDragTache=function(){_().commit("wfEditor/setMovingTache",!1),_().commit("wfEditor/setMouseDownPosition",null)},t.findIncomingTransitionsByTacheId=F,t.findOutgoingTransitionsByTacheId=S,t.findTacheById=P,t.getClientMousePosition=function(){var e=document.getElementById("svg").getScreenCTM(),t=_().getters["wfEditor/mouseDownPosition"];return{x:t.x*e.a+e.e,y:t.y*e.d+e.f}},t.getComponentInfo=function(e){var t=this,n=O().filter(function(n){return(0,i.default)(this,t),n.name===e}.bind(this));return n.length>0?n[0]:null},t.getComponentList=O,t.getI18n=k,t.getJoint=function(e,t){"string"==typeof e&&(e=function(e){var t=this;return _().getters["wfEditor/taches"].filter(function(n){return(0,i.default)(this,t),n.id===e}.bind(this))[0]}(e));switch(t){case"up":case"top":return{position:"up",x:e.x+e.width/2,y:e.y};case"right":return{position:"right",x:e.x+e.width,y:e.y+e.height/2};case"down":case"bottom":return{position:"down",x:e.x+e.width/2,y:e.y+e.height};case"left":return{position:"left",x:e.x,y:e.y+e.height/2};default:return{position:"",x:e.x,y:e.y}}},t.getMouseOffset=function(e,t){if(e.target.classList.contains("draggable")){var n=T(e);return n.x-=t.x,n.y-=t.y,n}},t.getMousePosition=T,t.getRealRegion=function(e){var t,n,r,o;t=n=1e4,r=o=0;var i,a=w(e);try{for(a.s();!(i=a.n()).done;){var s=i.value;t>s.x&&(t=s.x),n>s.y&&(n=s.y),r<s.x+s.width&&(r=s.x+s.width),o<s.y+s.height&&(o=s.y+s.height)}}catch(e){a.e(e)}finally{a.f()}return{x:t-10,y:n-10,width:r-t+20,height:o-n+20}},t.getVirtualRegion=function(e,t){if(!e||!t)return{};var n=e.x,r=e.y,o=t.x,i=t.y,a={x:0,y:0,width:Math.abs(o-n),height:Math.abs(i-r)};n<=o?r<=i?(a.x=n,a.y=r):(a.x=n,a.y=i):r>=i?(a.x=o,a.y=i):(a.x=o,a.y=r);return a},t.initializeProcessData=function(e){if(!e)return;E("HumanTask",e.humanTask),E("Decision",e.decision),E("Fork",e.fork),E("Join",e.join),E("Subprocess",e.subprocess),E("HumanDecision",e.humanDecision),E("CopyTask",e.copyTask),E("Start",e.start),E("End",e.end),function(e,t){t||(t=[]);Array.isArray(t)||(t=[t]);var n,r=_().getters["wfEditor/transitions"],o=w(t);try{var a=function(){var e=this,t=n.value,o=t.basicProperties.remark||"",a={id:t.attr.id,startJoint:{parent:P(t.attr.from),position:t.g.fromJoint},endJoint:{parent:P(t.attr.to),position:t.g.toJoint},isSelected:!1,remark:o,lineInfo:{type:t.g.lineType,controlPoint:null},ref:t};if("CurveLine"===t.g.lineType&&t.g.coordinate){var s=t.g.coordinate.split(",");a.lineInfo.controlPoint={x:s[0],y:s[1]}}else if("BrokenLine"===t.g.lineType&&t.g.coordinate){var l=t.g.coordinate.split(";"),c=[];l.forEach(function(t){if((0,i.default)(this,e),""!==t){var n=t.split(",");c.push({x:n[0],y:n[1]})}}.bind(this)),a.lineInfo.controlPoint=c}r.push(a)};for(o.s();!(n=o.n()).done;)a()}catch(e){o.e(e)}finally{o.f()}}(0,e.transition)},t.processTemplate=void 0,t.removeTextProperty=function e(t){Object.getOwnPropertyNames(t).forEach((function(n){if("object"===(0,o.default)(t[n])){if(void 0!==t[n]._text)return void(t[n]=t[n]._text);if(Object.keys(t[n]).length>0)e(t[n]);else{["variables","events","autoFilledFields"].indexOf(n)<0&&(t[n]="")}}}))},t.startDragTache=function(e,t){x(),t.$parent.region=null,t.$parent.showHistory||(t.model.isSelected=!0);_().getters["wfEditor/selectedTaches"].push(t.model);var n=T(e);_().commit("wfEditor/setMouseDownPosition",n),_().commit("wfEditor/setMovingTache",!0)},t.updateTransitionsWhenTacheIdChanged=C,t.validateTacheCode=function(e){var t=P(e.formModel.id);if(t&&t.id!==e.id)return e.$alert(k().t("workflowEditorMessage.itIsTheSameAsTheExistingLink",{name:t.name})),void(e.formModel.id=e.id);C(e.formModel.id,e.id),e.$emit("update:id",e.formModel.id)},t.watchShowName=function(e,t){var n="";if(e.processI18n&&e.model.ref&&e.model.ref.basicProperties&&e.model.ref.basicProperties.i18nKey){var r=e.model.ref.basicProperties.i18nKey,o=(0,a.getLanguageWithLocale)();e.processI18n[r]&&(n=e.processI18n[r][o]),n||(n=t)}else n=t;return n},n(20),n(3);var o=r(n(52));n(5),n(1);var i=r(n(12));n(7),n(1),n(582),n(3),n(20),n(30);var a=n(33),s=r(n(623)),l=r(n(405)),c=r(n(626)),u=r(n(627)),d=r(n(628)),f=r(n(629)),p=r(n(630)),h=r(n(631)),m=r(n(632)),v=r(n(633)),g=r(n(29)),b=r(n(634));function w(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _(){return window.$store}function k(){return window.$locale?g.default.locale=window.$locale:g.default.locale="cn",g.default}function O(){return[{name:"Start",label:k().t("workflowEditor.task.start"),icon:"start",type:"success",round:!0,width:48,height:48,color:"#67C23A"},{name:"HumanTask",label:k().t("workflowEditor.task.humanTask"),icon:"human-task",type:"",round:!1,width:80,height:40,color:"#000"},{name:"Decision",label:k().t("workflowEditor.task.conditionJudgment"),icon:"decision",type:"",round:!1,width:48,height:48,color:"#999"},{name:"Fork",label:k().t("workflowEditor.task.branch"),icon:"fork",type:"",round:!1,width:48,height:48,color:"#999"},{name:"Join",label:k().t("workflowEditor.task.converge"),icon:"join",type:"",round:!1,width:48,height:48,color:"#999"},{name:"Subprocess",label:k().t("workflowEditor.task.subprocess"),icon:"subprocess",type:"warning",round:!1,width:80,height:40,color:"#0777D4"},{name:"HumanDecision",label:k().t("workflowEditor.task.manualJudgment"),icon:"human-decision",type:"",round:!1,width:48,height:48,color:"#999"},{name:"CopyTask",label:k().t("workflowEditor.task.cCtask"),icon:"copy-task",type:"",round:!1,width:80,height:40,color:"#0777D4"},{name:"End",label:k().t("workflowEditor.task.end"),icon:"end",type:"danger",round:!0,width:48,height:48,color:"#F56C6C"}]}function T(e){var t=document.getElementById("svg").getScreenCTM();return{x:(e.clientX-t.e)/t.a,y:(e.clientY-t.f)/t.d}}function x(){!function(){var e,t=w(_().getters["wfEditor/selectedTaches"]);try{for(t.s();!(e=t.n()).done;){e.value.isSelected=!1}}catch(e){t.e(e)}finally{t.f()}_().commit("wfEditor/setSelectedTaches",[])}(),_().getters["wfEditor/selectedTransition"]&&(_().getters["wfEditor/selectedTransition"].isSelected=!1),_().commit("wfEditor/setSelectedTransition",null)}function E(e,t){t||(t=[]),Array.isArray(t)||(t=[t]);var n,r=_().getters["wfEditor/taches"],o=w(t);try{for(o.s();!(n=o.n()).done;){var i=n.value,a={id:i.attr.id,name:i.attr.name,x:i.g.x,y:i.g.y,width:i.g.width,height:i.g.height,type:e,isSelected:!1,ref:i};r.push(a)}}catch(e){o.e(e)}finally{o.f()}}function S(e){var t=this;return _().getters["wfEditor/transitions"].filter(function(n){return(0,i.default)(this,t),n.startJoint.parent.id===e||n.ref.attr.from===e}.bind(this))}function F(e){var t=this;return _().getters["wfEditor/transitions"].filter(function(n){return(0,i.default)(this,t),n.endJoint.parent.id===e||n.ref.attr.to===e}.bind(this))}function P(e){var t=this,n=_().getters["wfEditor/taches"].filter(function(n){return(0,i.default)(this,t),n.ref.attr.id===e}.bind(this));return n.length>0?n[0]:null}function C(e,t){var n=this;return F(t).map(function(t){(0,i.default)(this,n),t.ref.attr.to=e,t.ref.attr.id="flow_"+t.ref.attr.from+"_to_"+t.ref.attr.to,t.id=t.ref.attr.id}.bind(this)),S(t).map(function(t){(0,i.default)(this,n),t.ref.attr.from=e,t.ref.attr.id="flow_"+t.ref.attr.from+"_to_"+t.ref.attr.to,t.id=t.ref.attr.id}.bind(this)),!0}var M={newProcess:s.default,newHumanTask:l.default,newDecision:c.default,newStart:u.default,newEnd:d.default,newTransition:f.default,newSubprocess:p.default,newFork:h.default,newJoin:m.default,newHumanDecision:v.default,newCopyTask:b.default};t.processTemplate=M},function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE__11__},function(e,t,n){"use strict";function r(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}n.r(t),n.d(t,"default",(function(){return r}))},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),i=r.sources.map((function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"}));return[n].concat(i).concat([o]).join("\n")}var a;return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];null!=i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];null!=a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){var r,o,i={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),s=function(e,t){return t?t.querySelector(e):document.querySelector(e)},l=function(e){var t={};return function(e,n){if("function"==typeof e)return e();if(void 0===t[e]){var r=s.call(this,e,n);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}}(),c=null,u=0,d=[],f=n(638);function p(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=i[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(w(r.parts[a],t))}else{var s=[];for(a=0;a<r.parts.length;a++)s.push(w(r.parts[a],t));i[r.id]={id:r.id,refs:1,parts:s}}}}function h(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function m(e,t){var n=l(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=d[d.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),d.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=l(e.insertAt.before,n);n.insertBefore(t,o)}}function v(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=d.indexOf(e);t>=0&&d.splice(t,1)}function g(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var r=function(){0;return n.nc}();r&&(e.attrs.nonce=r)}return b(t,e.attrs),m(e,t),t}function b(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function w(e,t){var n,r,o,i;if(t.transform&&e.css){if(!(i="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=i}if(t.singleton){var a=u++;n=c||(c=g(t)),r=k.bind(null,n,a,!1),o=k.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",b(t,e.attrs),m(e,t),t}(t),r=T.bind(null,n,t),o=function(){v(n),n.href&&URL.revokeObjectURL(n.href)}):(n=g(t),r=O.bind(null,n),o=function(){v(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=h(e,t);return p(n,t),function(e){for(var r=[],o=0;o<n.length;o++){var a=n[o];(s=i[a.id]).refs--,r.push(s)}e&&p(h(e,t),t);for(o=0;o<r.length;o++){var s;if(0===(s=r[o]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete i[s.id]}}}};var y,_=(y=[],function(e,t){return y[e]=t,y.filter(Boolean).join("\n")});function k(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=_(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function O(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function T(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=f(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}},function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE__15__},function(e,t,n){var r=n(77)("wks"),o=n(67),i=n(17).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";var r=n(48),o=n(22),i=n(53),a=n(385),s=n(386),l=n(38),c=n(381),u=n(387);o(o.S+o.F*!n(391)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,d,f=i(e),p="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,v=void 0!==m,g=0,b=u(f);if(v&&(m=r(m,h>2?arguments[2]:void 0,2)),null==b||p==Array&&s(b))for(n=new p(t=l(f.length));t>g;g++)c(n,g,v?m(f[g],g):f[g]);else for(d=b.call(f),n=new p;!(o=d.next()).done;g++)c(n,g,v?a(d,m,[o.value,g],!0):o.value);return n.length=g,n}})},function(e,t,n){"use strict";var r=n(393)(!0);n(383)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){"use strict";var r=n(580),o=n(21),i=n(388),a=n(260),s=n(38),l=n(261),c=n(262),u=n(24),d=Math.min,f=[].push,p="length",h=!u((function(){RegExp(4294967295,"y")}));n(263)("split",2,(function(e,t,n,u){var m;return m="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[p]||2!="ab".split(/(?:ab)*/)[p]||4!=".".split(/(.?)(.?)/)[p]||".".split(/()()/)[p]>1||"".split(/.?/)[p]?function(e,t){var o=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(o,e,t);for(var i,a,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,h=void 0===t?4294967295:t>>>0,m=new RegExp(e.source,u+"g");(i=c.call(m,o))&&!((a=m.lastIndex)>d&&(l.push(o.slice(d,i.index)),i[p]>1&&i.index<o[p]&&f.apply(l,i.slice(1)),s=i[0][p],d=a,l[p]>=h));)m.lastIndex===i.index&&m.lastIndex++;return d===o[p]?!s&&m.test("")||l.push(""):l.push(o.slice(d)),l[p]>h?l.slice(0,h):l}:"0".split(void 0,0)[p]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var o=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):m.call(String(o),n,r)},function(e,t){var r=u(m,e,this,t,m!==n);if(r.done)return r.value;var c=o(e),f=String(this),p=i(c,RegExp),v=c.unicode,g=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(h?"y":"g"),b=new p(h?c:"^(?:"+c.source+")",g),w=void 0===t?4294967295:t>>>0;if(0===w)return[];if(0===f.length)return null===l(b,f)?[f]:[];for(var y=0,_=0,k=[];_<f.length;){b.lastIndex=h?_:0;var O,T=l(b,h?f:f.slice(_));if(null===T||(O=d(s(b.lastIndex+(h?0:_)),f.length))===y)_=a(f,_,v);else{if(k.push(f.slice(y,_)),k.length===w)return k;for(var x=1;x<=T.length-1;x++)if(k.push(T[x]),k.length===w)return k;_=y=O}}return k.push(f.slice(y)),k}]}))},function(e,t,n){var r=n(27);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){var r=n(17),o=n(47),i=n(39),a=n(34),s=n(48),l=function(e,t,n){var c,u,d,f,p=e&l.F,h=e&l.G,m=e&l.S,v=e&l.P,g=e&l.B,b=h?r:m?r[t]||(r[t]={}):(r[t]||{}).prototype,w=h?o:o[t]||(o[t]={}),y=w.prototype||(w.prototype={});for(c in h&&(n=t),n)d=((u=!p&&b&&void 0!==b[c])?b:n)[c],f=g&&u?s(d,r):v&&"function"==typeof d?s(Function.call,d):d,b&&a(b,c,d,e&l.U),w[c]!=d&&i(w,c,f),v&&y[c]!=d&&(y[c]=d)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){"use strict";var r=n(81),o={};o[n(16)("toStringTag")]="z",o+""!="[object z]"&&n(34)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";var r=n(382),o=n(563),i=n(70),a=n(36);e.exports=n(383)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(21),o=n(371),i=n(76),a=Object.defineProperty;t.f=n(28)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(24)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(12)),i=r(n(15)),a=r(n(292)),s=r(n(247)),l=r(n(624)),c=r(n(625));i.default.use(s.default);var u={en:l.default,cn:c.default},d=new s.default({locale:"cn",messages:u});a.default.i18n(function(e,t){return(0,o.default)(this,void 0),d.t(e,t)}.bind(void 0));var f=d;t.default=f},function(e,t,n){"use strict";var r=n(22),o=n(258)(1);r(r.P+r.F*!n(380)([].map,!0),"Array",{map:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";n.r(t);var r=n(299),o=n(103);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(641);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1),n(1);var r=n(10),o={startDrag:function(e){console.log(this.model.name+" mousedown"),this.setContextMenuVisible(!1),(0,r.startDragTache)(e,this)},endDrag:function(){console.log(this.model.name+" mouseup"),(0,r.endDragTache)()},showJoints:function(){this.$parent.showHistory||(this.jointPoints=["up","right","down","left"])},hideJoints:function(){this.jointPoints=[]}};t.default=o},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"getI18n",(function(){return getI18n})),__webpack_require__.d(__webpack_exports__,"getLanguageWithLocale",(function(){return getLanguageWithLocale})),__webpack_require__.d(__webpack_exports__,"findOptionsByDynamicDataSource",(function(){return findOptionsByDynamicDataSource})),__webpack_require__.d(__webpack_exports__,"findDynamicDataSourceByCode",(function(){return findDynamicDataSourceByCode})),__webpack_require__.d(__webpack_exports__,"analysisCondition",(function(){return analysisCondition})),__webpack_require__.d(__webpack_exports__,"getPropValue",(function(){return getPropValue})),__webpack_require__.d(__webpack_exports__,"analysisValue",(function(){return analysisValue})),__webpack_require__.d(__webpack_exports__,"setEntityFieldValue",(function(){return setEntityFieldValue})),__webpack_require__.d(__webpack_exports__,"getEntityFieldValueWithOutCase",(function(){return getEntityFieldValueWithOutCase})),__webpack_require__.d(__webpack_exports__,"getEntityFieldValue",(function(){return getEntityFieldValue})),__webpack_require__.d(__webpack_exports__,"getParentObjectUtil",(function(){return getParentObjectUtil})),__webpack_require__.d(__webpack_exports__,"findSystemInfoByCode",(function(){return findSystemInfoByCode})),__webpack_require__.d(__webpack_exports__,"getPropNameWhenJoinTable",(function(){return getPropNameWhenJoinTable})),__webpack_require__.d(__webpack_exports__,"isImage",(function(){return isImage}));var _i18n_i18n__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(249),vue__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(15),vue__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_1__),_calculator_calculator_util__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(550);function getI18n(){return window.$locale?_i18n_i18n__WEBPACK_IMPORTED_MODULE_0__.a.locale=window.$locale:_i18n_i18n__WEBPACK_IMPORTED_MODULE_0__.a.locale="cn",_i18n_i18n__WEBPACK_IMPORTED_MODULE_0__.a}function getLanguageWithLocale(){const e=window.$locale;return e&&"en"===e?"en_US":"zh_CN"}function findOptionsByDynamicDataSource(e,t,n,r){return new Promise((o,i)=>{findDynamicDataSourceByCode(e,t,n,r).then(e=>{let t=[];if(e&&e.options){const n=e.options;let r;e.valueAttribute&&(r=e.valueAttribute),r&&"[label]"!==r||(r="_label_"),n.forEach(e=>{const n=e[r],o=e._label_;t.push({label:o,value:n})})}t||(t=[]),o(t)}).catch(e=>{i(e)})})}function findDynamicDataSourceByCode(e,t,n,r){return new Promise((o,i)=>{null==t&&(t="");const a={searchText:t};r&&(a.additionalParamMap=JSON.parse(r)),n&&null!==n&&(a.entity=n),vue__WEBPACK_IMPORTED_MODULE_1___default.a.prototype.$http.post(vue__WEBPACK_IMPORTED_MODULE_1___default.a.prototype.baseURL+"/common/dynamic-data-source/"+e,a).then(e=>{o(e)}).catch(e=>{i(e)})})}function analysisCondition(e,t,n,r,o,i,a){if(void 0===e||""===e||null===e)return!0;null==o&&(o=!1);let s={};n&&"string"==typeof n&&""!==n?s=JSON.parse(n):n&&"object"==typeof n&&(s=n);let l={};r&&"string"==typeof r&&""!==r?l=JSON.parse(r):r&&"object"==typeof r&&(l=r);let c=[];return e&&"string"==typeof e&&""!==e?c=JSON.parse(e):e&&Array.isArray(e)&&(c=e),parseCondition(t,c,o,i,s,l,a)}function parseCondition(entity,conditionList,isSql,tableName,additionalParamMap,contextParameterMap,parentFormData){if(null==conditionList||0===conditionList.length)return!0;let conditions="";for(let e=0;e<conditionList.length;e++){const t=conditionList[e];let n=t.propName,r=t.propDbName,o;if(!(n&&""!==n||r&&""!==r))continue;if(isSql&&r){if(-1!==r.indexOf("parent_+_")){r=r.replace("parent_+_","");const e=r.split("_+_");r=e[1],o=getValue(parentFormData,r,isSql)}else o=getValue(entity,r,isSql);if(null==o&&tableName&&r.toLowerCase().startsWith(tableName.toLowerCase()+".")){const e=r.substring(r.indexOf("."));o=getValue(entity,e,isSql)}}else{if(-1!==n.indexOf("parent_+_")){n=n.replace("parent_+_","");const e=n.split("_+_");n=e[1],o=getValue(parentFormData,n,isSql)}else o=getValue(entity,n,isSql);r&&null==o&&(o=getValue(entity,r,isSql))}const i=t.operator,a=t.propValue,s=t.dataType,l=t.variableIsNull;let c=getPropValue(a,entity,additionalParamMap,contextParameterMap);l&&"null"===l&&(void 0!==c&&""!==c||(c=null));let u=Object(_calculator_calculator_util__WEBPACK_IMPORTED_MODULE_2__.a)(o,i,c,s);const d=t.leftBracket,f=t.rightBracket;let p=t.joinSign;if(d&&null!==d&&""!==d&&(conditions+=d,conditions+=" "),l&&"null"!==l&&(null!=c&&c+""!=""||(u="1=1"===l)),conditions+=u+" ",f&&null!==f&&""!==f&&(conditions+=f,conditions+=" "),e<conditionList.length-1&&p&&null!==p&&""!==p){const e=p.toLowerCase();"and"===e?p=e.replace("and","&&"):"or"===e&&(p=e.replace("or","||")),conditions+=p+" "}}return console.log("parseCondition----conditions=",conditions),!conditions||eval("("+conditions+")")}const REPLACE_DOT="__";function getValue(e,t,n){let r=null;return e&&null!==e&&t&&null!==t&&(r=getValueByField(e,t),null==r&&n&&(void 0!==r&&null!=r||t.indexOf(".")>0&&(r=getValueByField(e,t=t.replace(".",REPLACE_DOT))))),r}function getValueByField(e,t){if(e&&null!==e){let n;return n=t.indexOf(".")>0?getSubEntityValue(e,t):e[t],n}}function getSubEntityValue(e,t){let n=null,r=e;const o=t.split("\\.");for(let e=0;e<o.length;e++){const t=o[e];e===o.length?n=getSubEntityFieldValue(r,t):r=getSubEntityFieldValue(r,t)}return n}function getSubEntityFieldValue(e,t){return null==e?null:e[t]}function getContextValue(e,t){if(e)return e[t]}function getPropValue(e,t,n,r,o,i,a){let s=null;if(e&&null!==e&&""!==e)if("null"===e)s=null;else if(e.includes("${context.")||e.includes("${request.")||e.includes("${obj.")){if(e.includes("${context."))s=getContextValue(r,e=e.replace("${context.","").replace("}",""));else if(e.includes("${request.")&&"${request.term}"!==e)e=e.replace("${request.","").replace("}",""),s=n&&null!=n&&Object.keys(n).indexOf(e)>=0&&n[e]&&null!==n[e]?n[e]:null;else if(e.includes("${obj."))if(void 0===t||null==t)s=null;else{s=getEntityFieldValue(t,e.replace("${obj.","").replace("}",""))}}else if(e.includes("${parent."))if(void 0===o||null==o)s=null;else{s=getEntityFieldValue(o,e.replace("${parent.","").replace("}",""))}else if(e.includes("${task."))if(void 0===a||null==a)s=null;else{s=getEntityFieldValue(a,e.replace("${task.","").replace("}",""))}else if(e.includes("${subObj."))if(void 0===i||null==i)s=null;else{s=getEntityFieldValue(i,e.replace("${subObj.","").replace("}",""))}else s=e.includes("${input.")?e.replace("${input.","").replace("}",""):e;return s}function analysisValue(e,t,n,r){if(!e)return;let o="";const i=e.split("-#-#");return null!=i&&i.length>0&&i.forEach(e=>{let i=getPropValue(e,t,n,r);i&&null!==i||(i=""),o+=i}),o}function setEntityFieldValue(e,t,n){if(t&&e)if(t&&t.indexOf(".")>0){const r=getParentObjectUtil(t,e);if(r){const e=t.substring(t.lastIndexOf(".")+1);void 0===r[e]?vue__WEBPACK_IMPORTED_MODULE_1___default.a.set(r,t.substring(t.lastIndexOf(".")+1),n):r[e]=n}}else void 0===e[t]?vue__WEBPACK_IMPORTED_MODULE_1___default.a.set(e,t,n):e[t]=n}function getEntityFieldValueWithOutCase(e,t){if(t&&t.indexOf(".")>0){return getParentObjectUtil(t,e)[t.substring(t.lastIndexOf(".")+1)]}return e[t]}function getEntityFieldValue(e,t,n){let r=getEntityFieldValueWithCase(e,t);return void 0===r&&(r=getEntityFieldValueWithCase(e,t.toLowerCase())),void 0===r&&void 0===n&&(r=getEntityFieldValueWithCase(e,t.toUpperCase())),r}function getEntityFieldValueWithCase(e,t){if(t&&t.indexOf(".")>0){return getParentObjectUtil(t,e)[t.substring(t.lastIndexOf(".")+1)]}return e[t]}function getParentObjectUtil(e,t){const n=e.split(".");if(1===n.length)return t;{let e;for(let r=0;r<n.length-1;r++)e=getParentModelProp(n[r],0===r?t:e);return e}}function getParentModelProp(e,t){let n=getParentModelPropWithCase(e,t);return void 0===n&&(n=getParentModelPropWithCase(e.toLowerCase(),t)),void 0===n&&(n=getParentModelPropWithCase(e.toUpperCase(),t)),n}function getParentModelPropWithCase(e,t){return t||(t={}),t[e]||(t[e]={}),t[e]}function findSystemInfoByCode(e){return new Promise((t,n)=>{e||(e=vue__WEBPACK_IMPORTED_MODULE_1___default.a.prototype.systemCode),vue__WEBPACK_IMPORTED_MODULE_1___default.a.prototype.$http.get(vue__WEBPACK_IMPORTED_MODULE_1___default.a.prototype.baseAPI+"/component/business-systems/"+e).then(n=>{t(n?{zh_CN:n.name,en_US:n.enName,frontendUrl:n.frontendUrl}:"系统:"+e+"不存在")}).catch(e=>{n(e)})})}function getPropNameWhenJoinTable(e,t,n){if(e&&void 0!==t&&!0===t){const t="__";e.indexOf(".")>0?e=e.replace(".",t):n&&null!==n&&""!==n&&e.indexOf(n+t)<0&&(e=n+t+e)}return e}function isImage(e){return!!/\.(jpg|JPG|jpeg|JPEG|png|PNG|gif|GIF|bmp|BMP|psd|PSD|tif|TIF)$/.test(e)}},function(e,t,n){var r=n(17),o=n(39),i=n(35),a=n(67)("src"),s=n(556),l=(""+s).split("toString");n(47).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var c="function"==typeof n;c&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(c&&(i(n,a)||o(n,a,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||s.call(this)}))},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(374),o=n(54);e.exports=function(e){return r(o(e))}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(65),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(26),o=n(68);e.exports=n(28)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";var r=n(22),o=n(257),i=n(37),a=n(375),s=n(38),l=[].slice;r(r.P+r.F*n(24)((function(){o&&l.call(o)})),"Array",{slice:function(e,t){var n=s(this.length),r=i(this);if(t=void 0===t?n:t,"Array"==r)return l.call(this,e,t);for(var o=a(e,n),c=a(t,n),u=s(c-o),d=new Array(u),f=0;f<u;f++)d[f]="String"==r?this.charAt(o+f):this[o+f];return d}})},function(e,t,n){n(377)("asyncIterator")},function(e,t,n){"use strict";n(579);var r=n(21),o=n(259),i=n(28),a=/./.toString,s=function(e){n(34)(RegExp.prototype,"toString",e,!0)};n(24)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?s((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)})):"toString"!=a.name&&s((function(){return a.call(this)}))},function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";var r=n(21),o=n(53),i=n(38),a=n(65),s=n(260),l=n(261),c=Math.max,u=Math.min,d=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;n(263)("replace",2,(function(e,t,n,h){return[function(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=h(n,e,this,t);if(o.done)return o.value;var d=r(e),f=String(this),p="function"==typeof t;p||(t=String(t));var v=d.global;if(v){var g=d.unicode;d.lastIndex=0}for(var b=[];;){var w=l(d,f);if(null===w)break;if(b.push(w),!v)break;""===String(w[0])&&(d.lastIndex=s(f,i(d.lastIndex),g))}for(var y,_="",k=0,O=0;O<b.length;O++){w=b[O];for(var T=String(w[0]),x=c(u(a(w.index),f.length),0),E=[],S=1;S<w.length;S++)E.push(void 0===(y=w[S])?y:String(y));var F=w.groups;if(p){var P=[T].concat(E,x,f);void 0!==F&&P.push(F);var C=String(t.apply(void 0,P))}else C=m(T,f,x,E,F,t);x>=k&&(_+=f.slice(k,x)+C,k=x+T.length)}return _+f.slice(k)}];function m(e,t,r,i,a,s){var l=r+e.length,c=i.length,u=p;return void 0!==a&&(a=o(a),u=f),n.call(s,u,(function(n,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(l);case"<":s=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>c){var f=d(u/10);return 0===f?n:f<=c?void 0===i[f-1]?o.charAt(1):i[f-1]+o.charAt(1):n}s=i[u-1]}return void 0===s?"":s}))}}))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(78);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.getFormField=i,t.getFormFieldLabel=function(e){var t=i(e);return t?t.label:e},t.getFormFields=function(){},n(1);var o=r(n(12));function i(e){var t=this,n=window.$store.getters["wfEditor/formFields"];e&&e.indexOf("${field[")>=0&&(e=e.substring(e.indexOf("[")+1,e.lastIndexOf("]")));var r=n.filter(function(n){return(0,o.default)(this,t),n.name===e}.bind(this));return r.length>0?r[0]:null}n(7),n(1)},function(e,t,n){"use strict";var r=n(92),o=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=d;var i=Object.create(n(75));i.inherits=n(63);var a=n(503),s=n(287);i.inherits(d,a);for(var l=o(s.prototype),c=0;c<l.length;c++){var u=l[c];d.prototype[u]||(d.prototype[u]=s.prototype[u])}function d(e){if(!(this instanceof d))return new d(e);a.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",f)}function f(){this.allowHalfOpen||this._writableState.ended||r.nextTick(p,this)}function p(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),d.prototype._destroy=function(e,t){this.push(null),this.end(),r.nextTick(t,e)}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.r(t),n.d(t,"default",(function(){return r}))},function(e,t,n){var r=n(54);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";var r=n(17),o=n(35),i=n(37),a=n(566),s=n(76),l=n(24),c=n(80).f,u=n(69).f,d=n(26).f,f=n(568).trim,p=r.Number,h=p,m=p.prototype,v="Number"==i(n(256)(m)),g="trim"in String.prototype,b=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){var n,r,o,i=(t=g?t.trim():f(t,3)).charCodeAt(0);if(43===i||45===i){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(t.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+t}for(var a,l=t.slice(2),c=0,u=l.length;c<u;c++)if((a=l.charCodeAt(c))<48||a>o)return NaN;return parseInt(l,r)}}return+t};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof p&&(v?l((function(){m.valueOf.call(n)})):"Number"!=i(n))?a(new h(b(t)),n,p):b(t)};for(var w,y=n(28)?c(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),_=0;y.length>_;_++)o(h,w=y[_])&&!o(p,w)&&d(p,w,u(h,w));p.prototype=m,m.constructor=p,n(34)(r,"Number",p)}},function(e,t,n){var r=n(57),o=n(86);e.exports=n(58)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(85),o=n(396),i=n(268),a=Object.defineProperty;t.f=n(58)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(72)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(596),o=n(264);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(266)("wks"),o=n(84),i=n(44).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){"use strict";n.r(t);var r=n(322),o=n(149);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(325),o=n(155);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t,n){var r=n(373),o=n(252);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=!1},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(255),o=n(68),i=n(36),a=n(76),s=n(35),l=n(371),c=Object.getOwnPropertyDescriptor;t.f=n(28)?c:function(e,t){if(e=i(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t){e.exports={}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";n.r(t);var r=n(319),o=n(143);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(674);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"70c39db1",null);t.default=s.exports},function(e,t,n){"use strict";(function(e){
8
2
  /*!
9
3
  * The buffer module from node.js, for the browser.
10
4
  *
11
5
  * @author Feross Aboukhadijeh <http://feross.org>
12
6
  * @license MIT
13
7
  */
14
- var r=n(710),o=n(711),i=n(502);function s(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,n){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return d(this,e)}return c(this,e,t,n)}function c(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=f(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!l.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|h(t,n),o=(e=a(e,r)).write(t,n);o!==r&&(e=e.slice(0,o));return e}(e,t,n):function(e,t){if(l.isBuffer(t)){var n=0|p(t.length);return 0===(e=a(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?a(e,0):f(e,t);if("Buffer"===t.type&&i(t.data))return f(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function d(e,t){if(u(t),e=a(e,t<0?0:0|p(t)),!l.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function f(e,t){var n=t.length<0?0:0|p(t.length);e=a(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function p(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function h(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return L(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return V(e).length;default:if(r)return L(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,n);case"utf8":case"utf-8":return T(this,t,n);case"ascii":return E(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return C(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function g(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,o);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,o){var i,s=1,a=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;s=2,a/=2,l/=2,n/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(o){var u=-1;for(i=n;i<a;i++)if(c(e,i)===c(t,-1===u?0:i-u)){if(-1===u&&(u=i),i-u+1===l)return u*s}else-1!==u&&(i-=i-u),u=-1}else for(n+l>a&&(n=a-l),i=n;i>=0;i--){for(var d=!0,f=0;f<l;f++)if(c(e,i+f)!==c(t,f)){d=!1;break}if(d)return i}return-1}function w(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var s=0;s<r;++s){var a=parseInt(t.substr(2*s,2),16);if(isNaN(a))return s;e[n+s]=a}return s}function y(e,t,n,r){return U(L(t,e.length-n),e,n,r)}function k(e,t,n,r){return U(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function _(e,t,n,r){return k(e,t,n,r)}function x(e,t,n,r){return U(V(t),e,n,r)}function A(e,t,n,r){return U(function(e,t){for(var n,r,o,i=[],s=0;s<e.length&&!((t-=2)<0);++s)n=e.charCodeAt(s),r=n>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function C(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function T(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i,s,a,l,c=e[o],u=null,d=c>239?4:c>223?3:c>191?2:1;if(o+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(i=e[o+1]))&&(l=(31&c)<<6|63&i)>127&&(u=l);break;case 3:i=e[o+1],s=e[o+2],128==(192&i)&&128==(192&s)&&(l=(15&c)<<12|(63&i)<<6|63&s)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:i=e[o+1],s=e[o+2],a=e[o+3],128==(192&i)&&128==(192&s)&&128==(192&a)&&(l=(15&c)<<18|(63&i)<<12|(63&s)<<6|63&a)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),o+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=s(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,n){return c(null,e,t,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,n){return function(e,t,n,r){return u(t),t<=0?a(e,t):void 0!==n?"string"==typeof r?a(e,t).fill(n,r):a(e,t).fill(n):a(e,t)}(null,e,t,n)},l.allocUnsafe=function(e){return d(null,e)},l.allocUnsafeSlow=function(e){return d(null,e)},l.isBuffer=function(e){return!(null==e||!e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!i(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=l.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var s=e[n];if(!l.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(r,o),o+=s.length}return r},l.byteLength=h,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)v(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},l.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?T(this,0,e):m.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},l.prototype.compare=function(e,t,n,r,o){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),s=(n>>>=0)-(t>>>=0),a=Math.min(i,s),c=this.slice(r,o),u=e.slice(t,n),d=0;d<a;++d)if(c[d]!==u[d]){i=c[d],s=u[d];break}return i<s?-1:s<i?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return g(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return g(this,e,t,n,!1)},l.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return w(this,e,t,n);case"utf8":case"utf-8":return y(this,e,t,n);case"ascii":return k(this,e,t,n);case"latin1":case"binary":return _(this,e,t,n);case"base64":return x(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function E(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function O(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function P(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=B(e[i]);return o}function S(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function M(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function F(e,t,n,r,o,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function R(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o<i;++o)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function I(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o<i;++o)e[n+o]=t>>>8*(r?o:3-o)&255}function $(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function D(e,t,n,r,i){return i||$(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function j(e,t,n,r,i){return i||$(e,0,n,8),o.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),l.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=l.prototype;else{var o=t-e;n=new l(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+e]}return n},l.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||M(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},l.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||M(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},l.prototype.readUInt8=function(e,t){return t||M(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||M(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||M(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||M(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||M(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||M(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||M(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return t||M(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||M(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){t||M(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return t||M(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||M(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||M(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||M(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||M(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||M(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||F(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},l.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||F(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):I(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);F(this,e,t,n,o-1,-o)}var i=0,s=1,a=0;for(this[t]=255&e;++i<n&&(s*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/s>>0)-a&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);F(this,e,t,n,o-1,-o)}var i=n-1,s=1,a=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/s>>0)-a&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):I(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return D(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return D(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return j(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return j(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o,i=r-n;if(this===e&&n<t&&t<r)for(o=i-1;o>=0;--o)e[o+t]=this[o+n];else if(i<1e3||!l.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i},l.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var s=l.isBuffer(e)?e:L(new l(e,r).toString()),a=s.length;for(i=0;i<n-t;++i)this[i+t]=s[i%a]}return this};var N=/[^+\/0-9A-Za-z-_]/g;function B(e){return e<16?"0"+e.toString(16):e.toString(16)}function L(e,t){var n;t=t||1/0;for(var r=e.length,o=null,i=[],s=0;s<r;++s){if((n=e.charCodeAt(s))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(s+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function V(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(N,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function U(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}}).call(this,n(35))},function(e,t,n){function r(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===r(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===r(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===r(e)},t.isError=function(e){return"[object Error]"===r(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(74).Buffer.isBuffer},function(e,t,n){var r=n(27);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(47),o=n(17),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(66)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(26).f,o=n(36),i=n(16)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(373),o=n(252).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(38),o=n(16)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){var r=n(264);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=!0},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(71);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(401),o=n(272);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){"use strict";n.r(t);var r=n(302),o=n(109);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(648);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(327),o=n(159);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){var r=n(22);r(r.P,"String",{repeat:n(702)})},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var l,c=[],u=!1,d=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!u){var e=a(f);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||u||a(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";(function(t){void 0===t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,n,r,o){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var i,s,a=arguments.length;switch(a){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,n)}));case 3:return t.nextTick((function(){e.call(null,n,r)}));case 4:return t.nextTick((function(){e.call(null,n,r,o)}));default:for(i=new Array(a-1),s=0;s<i.length;)i[s++]=arguments[s];return t.nextTick((function(){e.apply(null,i)}))}}}:e.exports=t}).call(this,n(91))},function(e,t,n){"use strict";n.r(t);var r=n(94),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1),n(5);var o=r(n(14)),i=r(n(9));n(55),n(55),n(30),n(23),n(384),n(1),n(392);var s=n(13),a=n(12),l=r(n(635)),c=r(n(641)),u=r(n(277)),d=r(n(761)),f=r(n(283)),p=r(n(291)),h=r(n(764)),m=r(n(765));n(766),n(767),n(768),n(769),n(770),n(772),n(773);var v=r(n(775));function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var w={name:"WorkflowEditor",components:{WorkflowCanvas:c.default,Toolbox:l.default,IconSvg:u.default,ContextMenu:d.default,AdminSaveDialog:v.default},props:{code:{type:String,default:null},version:{type:Number,default:null},id:{type:Number,default:null},readonly:{type:Boolean,default:!1}},data:function(){return{activeTab:"canvas",count:1,currentPosition:{x:0,y:0},process:null,definitionId:null,xml:"",contextMenuPosition:null,isAdminSave:!1}},computed:b(b(b({},(0,s.mapGetters)("wfEditor",["componentToDraw","taches","transitions","contextMenuVisible"])),(0,s.mapGetters)(["sidebar"])),{},{componentInfo:function(){return(0,a.getComponentInfo)(this.componentToDraw)}}),watch:{activeTab:function(e){"xml"===e&&(this.xml=this.getProcessXml(),this.$nextTick((function(){m.default.highlightElement(this.$refs.xml)})))}},created:function(){var e=this;if(this.clearCanvas(),this.id&&(this.definitionId=this.id),console.log("canvas-created=",this.code,this.id),this.code||this.id){var t=this.baseAPI+"/wf-editor/open-xmls/with-definitions";t=this.packageUrlParam(t),this.$http.get(t).then(function(t){(0,o.default)(this,e),this.initProcessByXml(t)}.bind(this))}else this.process=a.processTemplate.newProcess(),(0,a.initializeProcessData)(this.process)},mounted:function(){},methods:b(b({},(0,s.mapMutations)("wfEditor",["setComponentToDraw","clearCanvas","setContextMenuVisible","setSystemCode","setProcessCode"])),{},{showContextMenu:function(e){console.log(e),this.setContextMenuVisible(!0);var t=this.$refs.wfEditor.getBoundingClientRect();this.contextMenuPosition={x:e.clientX-t.x,y:e.clientY-t.y}},initProcessByXml:function(e){var t=f.default.xml2js(e,{nativeType:!0,attributesKey:"attr",compact:!0,ignoreComment:!0,spaces:4});(0,a.removeTextProperty)(t.process),this.process=t.process,this.process&&this.process.properties&&this.process.properties.basicProperties&&this.setSystemCode(this.process.properties.basicProperties.systemCode),this.process&&this.process.attr&&this.setProcessCode(this.process.attr.code),this.fetchFormFields(),(0,a.initializeProcessData)(this.process),this.count=this.getMaxCount()+1},fetchFormFields:function(){var e=this.process.properties.basicProperties,t=e.formCode,n=e.formVersion;t&&""!==t&&n&&p.default.fetchFormFields(e.formCode,e.formVersion)},packageUrlParam:function(e){return this.id?e=e+"?id="+this.id:this.code&&(e=e+"?code="+this.code+"&version="+this.version),e},getProcessXml:function(){var e=this,t={start:[],humanTask:[],decision:[],transition:[],fork:[],join:[],subprocess:[],humanDecision:[],copyTask:[],end:[]};t.attr=this.process.attr,t.properties=this.process.properties,this.taches.map(function(n){(0,o.default)(this,e);var r=n.type;t[r.charAt(0).toLowerCase()+r.substring(1)].push(n.ref),n.ref.g={x:n.x,y:n.y,width:n.width,height:n.height}}.bind(this)),this.transitions.map(function(n){var r=this;if((0,o.default)(this,e),t.transition.push(n.ref),n.ref.g={fromJoint:n.startJoint.position,toJoint:n.endJoint.position,coordinate:"",lineType:n.lineInfo.type},"CurveLine"===n.lineInfo.type&&n.lineInfo.controlPoint)n.ref.g.coordinate=n.lineInfo.controlPoint.x+","+n.lineInfo.controlPoint.y;else if("BrokenLine"===n.lineInfo.type&&n.lineInfo.controlPoint){var i="";n.lineInfo.controlPoint.forEach(function(e){(0,o.default)(this,r),i+=e.x+","+e.y+";"}.bind(this)),n.ref.g.coordinate=i}}.bind(this));var n=f.default.json2xml({process:t},{attributesKey:"attr",compact:!0,ignoreComment:!0,spaces:4});return n='<?xml version="1.0" encoding="utf-8"?>\n'+n},saveXml:function(){var e=this,t=this.getProcessXml();if(this.code||this.id||this.definitionId)this.saveWf(t,this.baseAPI+"/wf-editor/workflow-definitions/updates").then(function(){(0,o.default)(this,e),this.$alert(this.$t("workflowEditorMessage.updateSuccessful"))}.bind(this));else{var n={xml:t};this.$http.post(this.baseAPI+"/wf-editor/workflow-definitions",n).then(function(t){(0,o.default)(this,e),this.definitionId=t.id,this.$alert(this.$t("workflowEditorMessage.savedSuccessfully"))}.bind(this))}},saveWf:function(e,t,n){var r=this;return new Promise(function(n,i){var s=this;(0,o.default)(this,r);var a=this.packageSaveXmlParam(e);this.$http.post(t,a).then(function(e){(0,o.default)(this,s),this.definitionId=e.id,n()}.bind(this))}.bind(this))},packageSaveXmlParam:function(e){var t={xml:e};return this.definitionId?t.id=this.definitionId:this.id?t.id=this.id:this.code&&(t.code=this.code,t.version=this.version),t},adminSave:function(){var e=this,t=this.getProcessXml();if(this.code||this.id||this.definitionId){var n=this.baseAPI+"/wf-editor/workflow-definitions/states",r={};this.definitionId?r.id=this.definitionId:this.id?r.id=this.id:this.code&&(r.code=this.code,r.version=this.version),this.$http.post(n,r).then(function(n){var r=this;(0,o.default)(this,e),"DRAFT"===n?this.saveWf(t,this.baseAPI+"/wf-editor/workflow-definitions/updates").then(function(){(0,o.default)(this,r),this.$alert(this.$t("workflowEditorMessage.updateSuccessful"))}.bind(this)):this.isAdminSave=!0}.bind(this))}else{var i={xml:t};this.$http.post(this.baseAPI+"/wf-editor/workflow-definitions",i).then(function(t){(0,o.default)(this,e),this.definitionId=t.id,this.$alert(this.$t("workflowEditorMessage.savedSuccessfully"))}.bind(this))}},updateWfVersion:function(){var e=this,t=this.getProcessXml();this.saveWf(t,this.baseAPI+"/wf-editor/workflow-definitions/update-version").then(function(){(0,o.default)(this,e),this.isAdminSave=!1,this.$alert(this.$t("workflowEditorMessage.updateVersionSuccessful"))}.bind(this))},addWfVersion:function(){var e=this,t=this.getProcessXml();this.saveWf(t,this.baseAPI+"/wf-editor/workflow-definitions/updates").then(function(){(0,o.default)(this,e),this.isAdminSave=!1,this.$alert(this.$t("workflowEditorMessage.addVersionSuccessful"))}.bind(this))},exportProcessFromClient:function(){var e=new Blob([this.getProcessXml()],{type:"text/xml;charset=utf-8"});h.default.saveAs(e,this.process.attr.name+".xml")},exportProcess:function(){var e=this,t=this.getProcessXml();this.$http({method:"post",url:this.baseAPI+"/wf-editor/save-as-xmls",data:{xmlContent:t}}).then(function(t){(0,o.default)(this,e),this.download(t),console.log(this.$t("workflowEditorMessage.exportSucceeded"))}.bind(this))},download:function(e){if(e){var t=window.URL.createObjectURL(new Blob([e])),n=document.createElement("a");n.style.display="none",n.href=t,n.setAttribute("download","myXml.xml"),document.body.appendChild(n),n.click()}},uploadSuccess:function(e,t,n){var r=e;this.clearCanvas(),this.initProcessByXml(r),this.$refs.upload.clearFiles()},getCurrentPosition:function(e){if(this.componentToDraw){var t=this.$refs.wfEditor.getBoundingClientRect();this.currentPosition={x:e.clientX-t.x-22,y:e.clientY-t.y-22}}},startDrag:function(e){this.getCurrentPosition(e)},drag:function(e){this.getCurrentPosition(e)},endDrag:function(){this.componentToDraw&&this.setComponentToDraw("")},addTache:function(e){if(this.componentToDraw){var t=(0,a.getMousePosition)(e),n=a.processTemplate["new"+this.componentToDraw]();n.attr.id=this.componentToDraw.charAt(0).toLowerCase()+this.componentToDraw.substring(1)+"_"+this.count;var r={id:n.attr.id,name:n.attr.name,x:t.x-this.componentInfo.width/2,y:t.y-this.componentInfo.height/2,width:this.componentInfo.width,height:this.componentInfo.height,type:this.componentToDraw,isSelected:!1};r.ref=n,this.taches.push(r),this.count++}},clearStatus:function(){this.componentToDraw&&this.setComponentToDraw("")},getMaxCount:function(){var e=this,t=0;return this.taches.map(function(n){(0,o.default)(this,e);var r=n.id.substring(n.id.lastIndexOf("_")+1);t<(r=+r)&&(t=r)}.bind(this)),t},selectProcessFile:function(){this.$refs.processFile.click()},openXmlFromClient:function(){if(""!==this.$refs.processFile.value){var e=this.$refs.processFile.files[0],t=new FileReader;t.readAsText(e);var n=this;t.onload=function(){n.clearCanvas(),n.initProcessByXml(t.result),n.$refs.processFile.value=""}}}})};t.default=w},function(e,t,n){"use strict";n.r(t);var r=n(96),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=n(13),s=r(n(277)),a=n(12);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={name:"Toolbox",components:{IconSvg:s.default},data:function(){return{componentList:(0,a.getComponentList)()}},computed:c({},(0,i.mapGetters)("wfEditor",["componentToDraw"])),methods:c(c({},(0,i.mapMutations)("wfEditor",["setComponentToDraw"])),{},{select:function(e){this.setComponentToDraw(e)}})};t.default=u},function(e,t,n){"use strict";n.r(t);var r=n(98),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={name:"IconSvg",props:{icon:{type:String,required:!0}},computed:{iconName:function(){return"#icon-".concat(this.icon)}}};t.default=r},function(e,t,n){"use strict";n.r(t);var r=n(100),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4),n(41),n(23),n(1),n(18),n(19),n(25),n(5);var r=n(2);n(42),n(6),n(19),n(18),n(1),n(43),n(4),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(14));n(5);var i=r(n(9)),s=r(n(411)),a=r(n(416)),l=r(n(419)),c=r(n(423)),u=r(n(426)),d=r(n(428)),f=r(n(430)),p=r(n(433)),h=r(n(436)),m=r(n(439)),v=r(n(441)),g=r(n(667)),b=r(n(670)),w=r(n(673)),y=r(n(708)),k=r(n(733)),_=r(n(734)),x=r(n(738)),A=r(n(739)),C=r(n(740)),T=r(n(741)),E=r(n(750)),O=r(n(535)),P=n(13),S=n(12);function M(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return F(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return F(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw i}}}}function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var $={name:"Canvas",components:{Start:s.default,End:a.default,HumanTask:l.default,Decision:c.default,Subprocess:u.default,CustomTask:d.default,Fork:f.default,Join:p.default,HumanDecision:h.default,CopyTask:m.default,Transition:v.default,VirtualTransition:g.default,SelectionRegion:b.default,HumanTaskPropertiesEditor:w.default,ProcessPropertiesEditor:y.default,DecisionPropertiesEditor:k.default,TransitionPropertiesEditor:_.default,ForkPropertiesEditor:x.default,JoinPropertiesEditor:A.default,HumanDecisionPropertiesEditor:C.default,CopyTaskPropertiesEditor:T.default,SubprocessPropertiesEditor:E.default,TacheHistoryTooltip:O.default},props:{process:{type:Object,default:null},showHistory:{type:Boolean,default:!1}},data:function(){return{inputArea:null,currentPosition:null,originPosition:null,offset:null,startPoint:null,region:null,endPoint:null,transitionsInRegion:[],showTacheHistory:!1,tooltipPosition:null}},computed:I({},(0,P.mapGetters)("wfEditor",["taches","transitions","isMovingTache","mouseDownPosition","startJoint","endJoint","isDrawingRegion","isMovingRegion","selectedTransition","selectedTaches","resizerToMove","draggerToMove","controlPointToMove","propertiesEditorFor","contextMenuVisible"])),mounted:function(){},methods:I(I({},(0,P.mapMutations)("wfEditor",["setTaches","setTransitions","resetState","setMovingTache","stopDrawingLine","setSelectedTaches","setDrawingRegion","setResizerToMove","setDraggerToMove","setControlPointToMove","setPropertiesEditorFor"])),{},{forbidSelection:function(){return!1},add:function(){},mousedown:function(e){console.log("mousedown"),this.unselectAll(),this.setDrawingRegion(!0),this.startPoint=(0,S.getMousePosition)(e)},mousemove:function(e){this.showHistory||(!this.originPosition&&this.mouseDownPosition&&(this.originPosition=this.mouseDownPosition),this.currentPosition=(0,S.getMousePosition)(e),this.isMovingTache&&this.moveTache(this.selectedTaches[0]),this.drawVirtualSelectionRegion(),this.moveSelectionRegion(),this.resizeSelectedTache(),this.moveTransition(),this.adjustCurveLine(),this.originPosition=this.currentPosition)},mouseup:function(e){console.log("mouseup"),this.isMovingTache&&this.setMovingTache(!1),this.startJoint&&this.stopDrawingLine(),this.drawRegionWhenNeeded(),this.resizerToMove&&this.setResizerToMove(null),this.resetMovedTransition()},mouseleave:function(e){this.drawRegionWhenNeeded(),this.resetMovedTransition(),this.resetState()},drawRegionWhenNeeded:function(){this.isDrawingRegion&&(this.selectComponents(),this.drawRealSelectionRegion(),this.setDrawingRegion(!1))},resetMovedTransition:function(){this.draggerToMove&&(this.draggerToMove.owner.startJoint=this.draggerToMove.originStartJoint,this.draggerToMove.owner.endJoint=this.draggerToMove.originEndJoint,this.setDraggerToMove(null))},unselectAll:function(){(0,S.clearAllSelectedComponents)(),this.transitionsInRegion=[],this.startPoint=null,this.region=null},selectComponents:function(){if(!this.startPoint||!this.region)return this.startPoint=null,void(this.region=null);var e,t=M(this.taches);try{for(t.s();!(e=t.n()).done;){var n=e.value;this.isInsideSelectionRegion(n)&&(n.isSelected=!0,this.selectedTaches.push(n))}}catch(e){t.e(e)}finally{t.f()}var r,o=M(this.transitions);try{for(o.s();!(r=o.n()).done;){var i=r.value;i.startJoint.parent.isSelected&&i.endJoint.parent.isSelected&&this.transitionsInRegion.push(i)}}catch(e){o.e(e)}finally{o.f()}},isInsideSelectionRegion:function(e){var t=e.x>=this.region.x&&e.y>=this.region.y,n=e.x+e.width<=this.region.x+this.region.width&&e.y+e.height<=this.region.y+this.region.height;return t&&n},moveTache:function(e){var t=this.currentPosition.x-this.originPosition.x,n=this.currentPosition.y-this.originPosition.y;e.x+=t,e.y+=n,e.x<0&&(e.x=2),e.y<0&&(e.y=2)},drawVirtualSelectionRegion:function(){this.isDrawingRegion&&this.startPoint&&(this.region=(0,S.getVirtualRegion)(this.startPoint,this.currentPosition))},drawRealSelectionRegion:function(){if(this.selectedTaches.length<=1)return this.startPoint=null,void(this.region=null);this.region=(0,S.getRealRegion)(this.selectedTaches)},moveSelectionRegion:function(){if(this.isMovingRegion){var e=this.currentPosition.x-this.originPosition.x,t=this.currentPosition.y-this.originPosition.y;this.region.x+e<0&&(e=2-this.region.x),this.region.y+t<0&&(t=2-this.region.y),this.region.x=this.region.x+e,this.region.y=this.region.y+t,this.moveTachesInRegion(e,t),this.moveTransitionControlPoints(e,t)}},moveTachesInRegion:function(e,t){var n,r=M(this.selectedTaches);try{for(r.s();!(n=r.n()).done;){var o=n.value;o.x+=e,o.y+=t}}catch(e){r.e(e)}finally{r.f()}},moveTransitionControlPoints:function(e,t){var n,r=this,i=M(this.transitionsInRegion);try{for(i.s();!(n=i.n()).done;){var s=n.value;"CurveLine"===s.lineInfo.type?(s.lineInfo.controlPoint.x+=e,s.lineInfo.controlPoint.y+=t):"BrokenLine"===s.lineInfo.type&&s.lineInfo.controlPoint.forEach(function(n){(0,o.default)(this,r),n.x+=e,n.y+=t}.bind(this))}}catch(e){i.e(e)}finally{i.f()}},resizeSelectedTache:function(){if(this.resizerToMove){var e=this.currentPosition.x-this.originPosition.x,t=this.currentPosition.y-this.originPosition.y,n=this.resizerToMove.owner;switch(this.resizerToMove.position){case"NW":n.width-e<80&&(e=n.width-80),n.height-t<40&&(t=n.height-40),n.width-=e,n.height-=t,n.x+=e,n.y+=t;break;case"NE":n.width+e<80&&(e=80-n.width),n.height-t<40&&(t=n.height-40),n.width+=e,n.height-=t,n.y+=t;break;case"SW":n.width-e<80&&(e=n.width-80),n.height+t<40&&(t=40-n.height),n.width-=e,n.height+=t,n.x+=e;break;case"SE":n.width+e<80&&(e=80-n.width),n.height+t<40&&(t=40-n.height),n.width+=e,n.height+=t}}},moveTransition:function(){if(this.draggerToMove){var e=this.draggerToMove.owner,t=this.draggerToMove.position,n={parent:this.currentPosition,position:""};"start"===t?e.startJoint=n:e.endJoint=n}},adjustCurveLine:function(){if(this.controlPointToMove){var e=this.controlPointToMove.owner;if(e.lineInfo&&"CurveLine"===e.lineInfo.type)e.lineInfo.controlPoint=this.currentPosition;else if(e.lineInfo&&"BrokenLine"===e.lineInfo.type){var t=this.controlPointToMove.pointIndex,n=e.lineInfo.controlPoint;this.$set(n,t,this.currentPosition)}}},endDrag:function(e){},showTacheHistoryTooltip:function(e){this.showTacheHistory=!0},hideTacheHistoryTooltip:function(){this.showTacheHistory=!1},updateTacheHistoryTooltipPosition:function(e){var t=(0,S.getMousePosition)(e);this.tooltipPosition={left:t.x+"px",top:t.y+"px"}}})};t.default=$},function(e,t,n){"use strict";n.r(t);var r=n(102),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=n(13),s=r(n(31)),a=r(n(32));function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={name:"Start",components:{Joint:s.default},props:{model:{type:Object,default:null}},data:function(){return{jointPoints:[]}},computed:c({},(0,i.mapGetters)("wfEditor",["selectedTaches"])),methods:c(c({},(0,i.mapMutations)("wfEditor",["setPropertiesEditorFor","setContextMenuVisible"])),a.default)};t.default=u},function(e,t,n){"use strict";n.r(t);var r=n(104),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=n(13),s=n(12);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c={name:"Joint",props:{parent:{type:Object,default:null},position:{type:String,default:null}},data:function(){return{isActivated:!1}},computed:l(l({},(0,i.mapGetters)("wfEditor",["transitions","startJoint","endJoint","draggerToMove"])),{},{joint:function(){return(0,s.getJoint)(this.parent,this.position)},jointContainer:function(){return{x:this.joint.x-10,y:this.joint.y-10}}}),methods:l(l({},(0,i.mapMutations)("wfEditor",["setStartJoint","setEndJoint","stopDrawingLine","setDraggerToMove","setContextMenuVisible"])),{},{isValidTransition:function(e,t){if(!e)return!1;if(e.parent===t.parent)return this.$alert(this.$t("workflowEditorMessage.theStartAndEndOfTheFlowDirectionCannotBeTheSame")),!1;if("Decision"!==e.parent.type&&"Fork"!==e.parent.type&&"HumanDecision"!==e.parent.type){var n=0;if(this.draggerToMove&&(n=1),(0,s.findOutgoingTransitionsByTacheId)(e.parent.id).length>n)return this.$alert(this.$t("workflowEditorMessage.onlyConditionJudgmentBranchAndManualJudgmentCanHaveMultipleOutboundFlows")),!1}return"Start"===e.parent.type&&"End"===t.parent.type?(this.$alert(this.$t("workflowEditorMessage.startAndEndNodesCannotBeConnectedDirectly")),!1):"End"!==e.parent.type||(this.$alert(this.$t("workflowEditorMessage.endNodeCannotHaveOutFlowDirection")),!1)},mouseup:function(){if(console.log("joint mouseup"),this.draggerToMove){var e=this.draggerToMove.position,t={parent:this.parent,position:this.position};if("start"===e?this.draggerToMove.owner.startJoint=t:this.draggerToMove.owner.endJoint=t,this.isValidTransition(this.draggerToMove.owner.startJoint,this.draggerToMove.owner.endJoint)){var n=this.draggerToMove.owner;n.id="flow_"+n.startJoint.parent.id+"_to_"+n.endJoint.parent.id,n.ref.attr={id:n.id,from:n.startJoint.parent.id,to:n.endJoint.parent.id}}else this.draggerToMove.owner.startJoint=this.draggerToMove.originStartJoint,this.draggerToMove.owner.endJoint=this.draggerToMove.originEndJoint;this.setDraggerToMove(null)}else this.addTransition()},addTransition:function(){var e={parent:this.parent,position:this.position};if(this.isValidTransition(this.startJoint,e)){this.setEndJoint(e);var t={id:"flow_"+this.startJoint.parent.id+"_to_"+this.endJoint.parent.id,startJoint:this.startJoint,endJoint:this.endJoint,isSelected:!1,lineInfo:{type:"StraightLine",controlPoint:null}};t.ref=s.processTemplate.newTransition(),t.ref.attr={id:t.id,from:this.startJoint.parent.id,to:this.endJoint.parent.id},this.transitions.push(t)}this.stopDrawingLine()},enterJoint:function(){this.isActivated=!0,this.$emit("enter-joint")},leaveJoint:function(){this.isActivated=!1,this.$emit("leave-joint")}})};t.default=c},function(e,t,n){"use strict";n.r(t);var r=n(106),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=n(13),s=r(n(31)),a=r(n(32));function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={name:"End",components:{Joint:s.default},props:{model:{type:Object,default:null}},data:function(){return{jointPoints:[]}},computed:c({},(0,i.mapGetters)("wfEditor",["selectedTaches"])),methods:c(c({},(0,i.mapMutations)("wfEditor",["setPropertiesEditorFor","setContextMenuVisible"])),a.default)};t.default=u},function(e,t,n){"use strict";n.r(t);var r=n(108),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9));n(1),n(1);var i=n(13),s=r(n(31)),a=r(n(88)),l=r(n(32)),c=n(12);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f={name:"HumanTask",components:{Joint:s.default,TacheResizer:a.default},props:{model:{type:Object,default:null}},data:function(){return{jointPoints:[],resizers:["NW","NE","SW","SE"],name:this.model.name}},computed:d(d({},(0,i.mapGetters)("wfEditor",["selectedTaches","processI18n"])),{},{text:function(){return{x:this.model.x+this.model.width/2,y:this.model.y+this.model.height/2}}}),created:function(){this.name=(0,c.watchShowName)(this,this.name)},mounted:function(){this.$watch("model.name",(function(e){this.name=(0,c.watchShowName)(this,e)}))},methods:d(d({},(0,i.mapMutations)("wfEditor",["setPropertiesEditorFor","setContextMenuVisible"])),l.default)};t.default=f},function(e,t,n){"use strict";n.r(t);var r=n(110),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=n(13);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l={name:"TacheResizer",props:{owner:{type:Object,default:null},position:{type:String,default:""}},computed:a(a({},(0,i.mapGetters)("wfEditor",["selectedTaches"])),{},{area:function(){var e,t;switch(this.position){case"NW":e=this.owner.x,t=this.owner.y;break;case"NE":e=this.owner.x+this.owner.width,t=this.owner.y;break;case"SW":e=this.owner.x,t=this.owner.y+this.owner.height;break;case"SE":e=this.owner.x+this.owner.width,t=this.owner.y+this.owner.height}return{x:e-=4,y:t-=4,width:8,height:8,cursor:this.position.toLowerCase()+"-resize"}}}),methods:a({},(0,i.mapMutations)("wfEditor",["setMovingResizer","setResizerToMove","setContextMenuVisible"]))};t.default=l},function(e,t,n){"use strict";n.r(t);var r=n(112),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9));n(1),n(1);var i=n(13),s=r(n(31)),a=r(n(32)),l=n(12);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={name:"Decision",components:{Joint:s.default},props:{model:{type:Object,default:null}},data:function(){return{jointPoints:[],name:this.model.name}},computed:u(u({},(0,i.mapGetters)("wfEditor",["selectedTaches","processI18n"])),{},{text:function(){return{x:this.model.x+this.model.width/2,y:this.model.y+this.model.height+12}}}),created:function(){this.name=(0,l.watchShowName)(this,this.name)},mounted:function(){this.$watch("model.name",(function(e){this.name=(0,l.watchShowName)(this,e)}))},methods:u(u({},(0,i.mapMutations)("wfEditor",["setPropertiesEditorFor","setContextMenuVisible"])),a.default)};t.default=d},function(e,t,n){"use strict";n.r(t);var r=n(114),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9));n(1),n(1);var i=n(13),s=r(n(31)),a=r(n(88)),l=r(n(32)),c=n(12);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f={name:"Subprocess",components:{Joint:s.default,TacheResizer:a.default},props:{model:{type:Object,default:null}},data:function(){return{jointPoints:[],resizers:["NW","NE","SW","SE"],name:this.model.name}},computed:d(d({},(0,i.mapGetters)("wfEditor",["selectedTaches","processI18n"])),{},{text:function(){return{x:this.model.x+this.model.width/2,y:this.model.y+this.model.height/2}}}),created:function(){this.name=(0,c.watchShowName)(this,this.name)},mounted:function(){this.$watch("model.name",(function(e){this.name=(0,c.watchShowName)(this,e)}))},methods:d(d({},(0,i.mapMutations)("wfEditor",["setPropertiesEditorFor","setContextMenuVisible"])),l.default)};t.default=f},function(e,t,n){"use strict";n.r(t);var r=n(116),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=n(13),s=r(n(31)),a=r(n(88)),l=r(n(32));function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={name:"CustomTask",components:{Joint:s.default,TacheResizer:a.default},props:{model:{type:Object,default:null}},data:function(){return{jointPoints:[],resizers:["NW","NE","SW","SE"]}},computed:u(u({},(0,i.mapGetters)("wfEditor",["selectedTaches"])),{},{text:function(){return{x:this.model.x+this.model.width/2,y:this.model.y+this.model.height/2}}}),methods:u(u({},(0,i.mapMutations)("wfEditor",["setPropertiesEditorFor","setContextMenuVisible"])),l.default)};t.default=d},function(e,t,n){"use strict";n.r(t);var r=n(118),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9));n(1),n(1);var i=n(13),s=r(n(31)),a=r(n(32)),l=n(12);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={name:"Fork",components:{Joint:s.default},props:{model:{type:Object,default:null}},data:function(){return{jointPoints:[],name:this.model.name}},computed:u(u({},(0,i.mapGetters)("wfEditor",["selectedTaches","processI18n"])),{},{text:function(){return{x:this.model.x+this.model.width/2,y:this.model.y+this.model.height+12}}}),created:function(){this.name=(0,l.watchShowName)(this,this.name)},mounted:function(){this.$watch("model.name",(function(e){this.name=(0,l.watchShowName)(this,e)}))},methods:u(u({},(0,i.mapMutations)("wfEditor",["setPropertiesEditorFor","setContextMenuVisible"])),a.default)};t.default=d},function(e,t,n){"use strict";n.r(t);var r=n(120),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=n(13),s=r(n(31)),a=r(n(32));function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={name:"Join",components:{Joint:s.default},props:{model:{type:Object,default:null}},data:function(){return{jointPoints:[]}},computed:c(c({},(0,i.mapGetters)("wfEditor",["selectedTaches"])),{},{text:function(){return{x:this.model.x+this.model.width/2,y:this.model.y+this.model.height+12}}}),methods:c(c({},(0,i.mapMutations)("wfEditor",["setPropertiesEditorFor","setContextMenuVisible"])),a.default)};t.default=u},function(e,t,n){"use strict";n.r(t);var r=n(122),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9));n(1),n(1);var i=n(13),s=r(n(31)),a=r(n(32)),l=n(12);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={name:"HumanDecision",components:{Joint:s.default},props:{model:{type:Object,default:null}},data:function(){return{jointPoints:[],name:this.model.name}},computed:u(u({},(0,i.mapGetters)("wfEditor",["selectedTaches","processI18n"])),{},{text:function(){return{x:this.model.x+this.model.width/2,y:this.model.y+this.model.height+12}}}),created:function(){this.name=(0,l.watchShowName)(this,this.name)},mounted:function(){this.$watch("model.name",(function(e){this.name=(0,l.watchShowName)(this,e)}))},methods:u(u({},(0,i.mapMutations)("wfEditor",["setPropertiesEditorFor","setContextMenuVisible"])),a.default)};t.default=d},function(e,t,n){"use strict";n.r(t);var r=n(124),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9));n(1),n(1);var i=n(13),s=r(n(31)),a=r(n(88)),l=r(n(32)),c=n(12);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f={name:"CopyTask",components:{Joint:s.default,TacheResizer:a.default},props:{model:{type:Object,default:null}},data:function(){return{jointPoints:[],resizers:["NW","NE","SW","SE"],name:this.model.name}},computed:d(d({},(0,i.mapGetters)("wfEditor",["selectedTaches","processI18n"])),{},{text:function(){return{x:this.model.x+this.model.width/2,y:this.model.y+this.model.height/2}}}),created:function(){this.name=(0,c.watchShowName)(this,this.name)},mounted:function(){this.$watch("model.name",(function(e){this.name=(0,c.watchShowName)(this,e)}))},methods:d(d({},(0,i.mapMutations)("wfEditor",["setPropertiesEditorFor","setContextMenuVisible"])),l.default)};t.default=f},function(e,t,n){"use strict";n.r(t);var r=n(126),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1),n(1);var o=r(n(9)),i=n(12),s=n(13),a=r(n(658)),l=r(n(659)),c=r(n(662));function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f={name:"Transition",components:{StraightLine:a.default,CurveLine:l.default,BrokenLine:c.default},props:{model:{type:Object,default:null}},data:function(){var e=this.getTextPoint();return{text:{x:e.x,y:e.y},name:this.model.remark}},computed:d(d({},(0,s.mapGetters)("wfEditor",["draggerToMove","processI18n"])),{},{draggers:function(){var e=(0,i.getJoint)(this.model.startJoint.parent,this.model.startJoint.position);e.position="start";var t=(0,i.getJoint)(this.model.endJoint.parent,this.model.endJoint.position);return t.position="end",[e,t]},path:function(){return"M"+this.draggers[0].x+" "+this.draggers[0].y+" L"+this.draggers[1].x+" "+this.draggers[1].y}}),created:function(){this.name=(0,i.watchShowName)(this,this.name)},mounted:function(){this.$watch("model.remark",(function(e){if(this.name=(0,i.watchShowName)(this,e),this.name&&""!==this.name){var t=this.getTextPoint();this.text.x=t.x,this.text.y=t.y}})),this.$watch("model.lineInfo.type",(function(e){var t=this.getTextPoint();this.text.x=t.x,this.text.y=t.y})),this.$watch("model.lineInfo.controlPoint",(function(e){var t=this.getTextPoint();this.text.x=t.x,this.text.y=t.y})),this.$watch("model.startJoint.parent.x",(function(e){var t=this.getTextPoint();this.text.x=t.x,this.text.y=t.y})),this.$watch("model.startJoint.parent.y",(function(e){var t=this.getTextPoint();this.text.x=t.x,this.text.y=t.y})),this.$watch("model.endJoint.parent.x",(function(e){var t=this.getTextPoint();this.text.x=t.x,this.text.y=t.y})),this.$watch("model.endJoint.parent.y",(function(e){var t=this.getTextPoint();this.text.x=t.x,this.text.y=t.y}))},methods:d(d({},(0,s.mapMutations)("wfEditor",["setMouseDownPosition","setDraggerToMove","setSelectedTransition","setPropertiesEditorFor"])),{},{getTextPoint:function(){var e=(0,i.getJoint)(this.model.startJoint.parent,this.model.startJoint.position),t=(0,i.getJoint)(this.model.endJoint.parent,this.model.endJoint.position),n=e.x<t.x?e.x:t.x,r=e.y<t.y?e.y:t.y,o=n+Math.abs(e.x-t.x)/2,s=r+Math.abs(e.y-t.y)/2;if("CurveLine"===this.model.lineInfo.type){var a=this.model.lineInfo.controlPoint;a&&(n=e.x<a.x?e.x:parseFloat(a.x),r=e.y<a.y?e.y:parseFloat(a.y),o=n+Math.abs(e.x-a.x)/2+10,s=r+Math.abs(e.y-a.y)/2-10)}else if("BrokenLine"===this.model.lineInfo.type){var l=this.model.lineInfo.controlPoint[0];l&&(n=e.x<l.x?e.x:parseFloat(l.x),r=e.y<l.y?e.y:parseFloat(l.y),o=n+Math.abs(e.x-l.x)/2,s=r+Math.abs(e.y-l.y)/2-10)}return{x:o,y:s}},select:function(e){(0,i.clearAllSelectedComponents)(),this.model.isSelected=!0,this.setSelectedTransition(this.model)},startDrag:function(e,t){console.log("start dragging line"),this.setMouseDownPosition((0,i.getMousePosition)(e)),this.setDraggerToMove({owner:this.model,position:t,originStartJoint:this.model.startJoint,originEndJoint:this.model.endJoint})},endDrag:function(){},showPropertiesEditor:function(){"Decision"!==this.model.endJoint.parent.type&&this.setPropertiesEditorFor("Transition")}})};t.default=f},function(e,t,n){"use strict";n.r(t);var r=n(128),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(12),o={name:"StraightLine",props:{owner:{type:Object,default:null}},computed:{path:function(){var e=(0,r.getJoint)(this.owner.startJoint.parent,this.owner.startJoint.position),t=(0,r.getJoint)(this.owner.endJoint.parent,this.owner.endJoint.position);return"M"+e.x+" "+e.y+" L"+t.x+" "+t.y}}};t.default=o},function(e,t,n){"use strict";n.r(t);var r=n(130),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=n(12),s=n(13);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c={name:"CurveLine",props:{owner:{type:Object,default:null}},computed:{startPoint:function(){return(0,i.getJoint)(this.owner.startJoint.parent,this.owner.startJoint.position)},endPoint:function(){return(0,i.getJoint)(this.owner.endJoint.parent,this.owner.endJoint.position)},controlPoint:function(){return this.owner.lineInfo.controlPoint},path:function(){return"M "+this.startPoint.x+" "+this.startPoint.y+" Q "+this.controlPoint.x+" "+this.controlPoint.y+" "+this.endPoint.x+" "+this.endPoint.y},pathToStartPoint:function(){return"M "+this.controlPoint.x+" "+this.controlPoint.y+"L "+this.startPoint.x+" "+this.startPoint.y},pathToEndPoint:function(){return"M "+this.controlPoint.x+" "+this.controlPoint.y+"L "+this.endPoint.x+" "+this.endPoint.y}},created:function(){if(!this.owner.lineInfo.controlPoint){var e=this.startPoint.x+(this.endPoint.x-this.startPoint.x)/2;(e+10<this.startPoint.x||e<this.startPoint.x+10)&&(e=this.startPoint.x+30),this.owner.lineInfo.controlPoint={x:e,y:this.endPoint.y}}},methods:l(l({},(0,s.mapMutations)("wfEditor",["setControlPointToMove"])),{},{startDrag:function(e){this.setControlPointToMove({owner:this.owner})},endDrag:function(){this.setControlPointToMove(null)}})};t.default=c},function(e,t,n){"use strict";n.r(t);var r=n(132),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=r(n(14));n(5);var s=n(12),a=n(13);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={name:"BrokenLine",props:{owner:{type:Object,default:null}},computed:{startPoint:function(){return(0,s.getJoint)(this.owner.startJoint.parent,this.owner.startJoint.position)},endPoint:function(){return(0,s.getJoint)(this.owner.endJoint.parent,this.owner.endJoint.position)},controlPoint:function(){return this.owner.lineInfo.controlPoint},path:function(){var e=this,t="M "+this.startPoint.x+" "+this.startPoint.y+" ";return this.controlPoint&&this.controlPoint.forEach(function(n){(0,i.default)(this,e),t+="L "+n.x+" "+n.y}.bind(this)),t+="L "+this.endPoint.x+" "+this.endPoint.y}},created:function(){if(console.log("this.owner.lineInfo=",this.owner.lineInfo),!this.owner.lineInfo.controlPoint){var e=this.startPoint.x+(this.endPoint.x-this.startPoint.x)/2,t=this.startPoint.y+(this.endPoint.y-this.startPoint.y)/2;this.owner.lineInfo.controlPoint=[{x:e,y:t}]}},methods:c(c({},(0,a.mapMutations)("wfEditor",["setControlPointToMove"])),{},{startDrag:function(e,t){console.log("brokenLine--startDrag-----"),this.setControlPointToMove({owner:this.owner,pointIndex:e})},endDrag:function(){this.setControlPointToMove(null)}})};t.default=u},function(e,t,n){"use strict";n.r(t);var r=n(134),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=n(12),s=n(13);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c={name:"VirtualTransition",props:{toPosition:{type:Object,default:null}},computed:l(l({},(0,s.mapGetters)("wfEditor",["startJoint"])),{},{path:function(){if(!this.startJoint)return null;var e=(0,i.getJoint)(this.startJoint.parent,this.startJoint.position),t=this.toPosition;return"M"+e.x+" "+e.y+" L"+t.x+" "+t.y}}),methods:{}};t.default=c},function(e,t,n){"use strict";n.r(t);var r=n(136),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=n(13),s=n(12);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c={name:"SelectionRegion",props:{region:{type:Object,default:null}},computed:l({},(0,i.mapGetters)("wfEditor",["selectedTaches"])),methods:l(l({},(0,i.mapMutations)("wfEditor",["setDrawingRegion","setMovingRegion","setMouseDownPosition"])),{},{startDrag:function(e){console.log("region mousedown");var t=(0,s.getMousePosition)(e);this.setMouseDownPosition(t),this.setMovingRegion(!0)},endDrag:function(e){console.log("region mouseup"),this.setMovingRegion(!1),this.setMouseDownPosition(null)}})};t.default=c},function(e,t,n){"use strict";n.r(t);var r=n(138),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1);var o=r(n(674)),i=r(n(687)),s=r(n(282)),a=r(n(489)),l=r(n(491)),c=r(n(496)),u=r(n(705)),d={name:"HumanTaskPropertiesEditor",components:{BasicProperties:o.default,TransactorSettings:s.default,PermissionSettings:i.default,AutoFilledFields:a.default,Reminder:l.default,Events:u.default,Variables:c.default},props:{model:{type:Object,default:null}},data:function(){return console.log(this.model),{activeTab:"basicProperties"}},computed:{formModel:function(){return this.model.ref}},mounted:function(){this.$watch("model.ref.attr.id",(function(e,t){this.model.id=e})),this.$watch("model.ref.attr.name",(function(e,t){this.model.name=e}))},methods:{handleClick:function(e,t){}}};t.default=d},function(e,t,n){"use strict";n.r(t);var r=n(140),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1),n(1);var o=r(n(455)),i=r(n(679)),s=n(12),a=r(n(62)),l=r(n(89)),c={name:"BasicProperties",components:{TaskTitle:o.default,CustomActions:i.default,i18nInput:a.default,SelectMailTemplates:l.default},props:{model:{type:Object,default:null},id:{type:String,default:null},name:{type:String,default:null}},data:function(){var e=!1,t=this.model.processingMode.actions.action;return t&&(e=!Array.isArray(t)||0!==t.length),{showActions:e,formModel:{name:this.name,id:this.id,tache:this.model}}},computed:{tache:function(){return this.model}},created:function(){this.tache.processingMode.actions||this.$set(this.tache.processingMode,"actions",{})},mounted:function(){this.$watch("formModel.name",(function(e,t){this.$emit("update:name",e)}))},methods:{validateId:function(){(0,s.validateTacheCode)(this)},setMailTemplateCode:function(e){this.tache.mailTemplateCode=e},setI18nValue:function(e){this.tache.i18nKey=e}}};t.default=c},function(e,t,n){"use strict";n.r(t);var r=n(142),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(41),n(23),n(1),n(6),n(18),n(19),n(25),n(5);var r=n(2);n(42),n(6),n(19),n(18),n(1),n(43),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(14));n(457),n(457);var i=r(n(73)),s=n(50);function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c={name:"TaskTitle",components:{FormFields:i.default},filters:{showText:function(e){var t=e;if(e.indexOf("${field[")>=0){var n=t.substring(t.indexOf("[")+1,t.lastIndexOf("]"));t="["+(t=(0,s.getFormFieldLabel)(n))+"]"}else if(e.indexOf("${writeTitle[")>=0){var r=e.indexOf("${writeTitle[");t=(t=t.substring(r+13)).substring(0,t.indexOf("]"))}return t}},props:{value:{type:String,default:null}},data:function(){var e=[];if(this.value){var t,n=a(this.value.match(/\$\{(.+?)\}/g));try{for(n.s();!(t=n.n()).done;){var r=t.value;e.push(r)}}catch(e){n.e(e)}finally{n.f()}}return{dynamicTags:e,inputVisible:!1,showFormFields:!1,inputValue:""}},watch:{dynamicTags:function(e){this.$emit("input",this.dynamicTags.join(""))}},mounted:function(){},methods:{handleClose:function(e){this.dynamicTags.splice(this.dynamicTags.indexOf(e),1)},showInput:function(){var e=this;this.inputVisible=!0,this.$nextTick(function(t){(0,o.default)(this,e),this.$refs.saveTagInput.focus()}.bind(this))},handleInputConfirm:function(){var e=this.inputValue;e&&(this.inputVisible&&(e="${writeTitle["+e+"]}"),this.dynamicTags.push(e)),this.inputVisible=!1,this.inputValue=""},getType:function(e){return e.indexOf("${field")>=0?"success":null},setField:function(e){void 0!==e&&this.dynamicTags.push("${field["+e+"]}"),this.showFormFields=!1}}};t.default=c},function(e,t,n){"use strict";n.r(t);var r=n(144),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(7),n(1),n(1);var o=r(n(14)),i=r(n(9)),s=n(13);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c={name:"FormFields",props:{fields:{type:Array,default:null}},data:function(){return{selectedField:null,copyShowFields:[],showFields:[],searchFormCode:""}},computed:l(l({},(0,s.mapGetters)("wfEditor",["formFields"])),{},{allFields:function(){return this.fields?this.fields:this.formFields}}),mounted:function(){this.copyAllFields=this.allFields,this.showFields=this.allFields},methods:{setField:function(){this.$emit("close",this.selectedField)},searchForm:function(){var e=this;this.searchFormCode&&""!==this.searchFormCode?this.showFields=this.copyAllFields.filter(function(t){return(0,o.default)(this,e),t.name.indexOf(this.searchFormCode)>-1||t.label.indexOf(this.searchFormCode)>-1}.bind(this)):this.showFields=this.copyAllFields}}};t.default=c},function(e,t,n){"use strict";n.r(t);var r=n(146),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(41),n(23),n(1),n(6),n(18),n(19),n(25),n(5),n(3),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),n(42),n(6),n(19),n(18),n(1),n(43),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=n(12),s=r(n(462)),a=n(278);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw i}}}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var f={name:"CustomActions",components:{AdditionalConditionDialog:s.default},props:{value:{type:Object,default:null}},data:function(){var e=[],t=1;if(this.value.action)if(Array.isArray(this.value.action)){var n,r=u(this.value.action);try{for(r.s();!(n=r.n()).done;){var o=n.value;e.push(c(c({},o),{},{id:t})),t++}}catch(e){r.e(e)}finally{r.f()}}else e.push(c(c({},this.value.action),{},{id:t})),t++;return{actions:e,actionTypes:[{type:"SAVE",label:(0,i.getI18n)().t("workflowEditor.task.save")},{type:"SUBMIT",label:(0,i.getI18n)().t("workflowEditor.task.submission")},{type:"APPROVE",label:(0,i.getI18n)().t("workflowEditor.task.agree")},{type:"REFUSE",label:(0,i.getI18n)().t("workflowEditor.task.disagree")},{type:"AGREEMENT",label:(0,i.getI18n)().t("workflowEditor.task.favor")},{type:"OPPOSE",label:(0,i.getI18n)().t("workflowEditor.task.opposition")},{type:"KIKEN",label:(0,i.getI18n)().t("workflowEditor.task.waiver")},{type:"DRAW",label:(0,i.getI18n)().t("workflowEditor.task.receive")},{type:"ABANDON_DRAW",label:(0,i.getI18n)().t("workflowEditor.task.giveUp")},{type:"ADD_SIGN",label:(0,i.getI18n)().t("workflowEditor.task.additionalSignature")},{type:"REMOVE_SIGN",label:(0,i.getI18n)().t("workflowEditor.task.reductionOfSignature")},{type:"ASSIGN_TASK",label:(0,i.getI18n)().t("workflowEditor.task.assignTask")},{type:"COPY",label:(0,i.getI18n)().t("workflowEditor.task.copyTask")},{type:"GET_BACK_BUTTON",label:(0,i.getI18n)().t("workflowEditor.task.retrieveTask")},{type:"READED",label:(0,i.getI18n)().t("workflowEditor.task.readTask")},{type:"EXPORT_REPORT",label:(0,i.getI18n)().t("workflowEditor.task.exportReport")}],currentRow:null,count:t,showAdditionalCondition:!1}},mounted:function(){this.actions.length>0&&this.selectRow(this.actions[this.actions.length-1]),this.$watch("actions",(function(e,t){var n,r=[],o=u(this.actions);try{for(o.s();!(n=o.n()).done;){var i=c({},n.value);delete i.id,r.push(i)}}catch(e){o.e(e)}finally{o.f()}this.$emit("input",{action:r})}),{deep:!0})},methods:{selectRow:function(e){this.$refs.table.setCurrentRow(e)},getRowIndex:function(e){for(var t=0;t<this.actions.length;t++)if(this.actions[t].id===e.id)return t;return-1},handleCurrentChange:function(e){this.currentRow=e},isDuplicated:function(e){var t=this.getRowIndex(this.currentRow);console.log("index:"+t);for(var n=0;n<this.actions.length;n++)n!==t&&this.actions[n].type===e&&(this.$alert(this.$t("workflowEditorMessage.duplicateOperationTypeWithLinePleaseReselect",{row:n+1})),this.currentRow.type="")},add:function(){for(var e=0;e<this.actions.length;e++){var t=this.actions[e];if(""===t.type||""===t.label)return void this.$alert(this.$t("workflowEditorMessage.theOperationTypeOrNameInLineIsEmpty",{row:e+1}))}var n={id:this.count,type:"",label:"",visible:!0,condition:""};this.actions.push(n),this.selectRow(n),this.count++},remove:function(){var e=this.getRowIndex(this.currentRow);this.actions.splice(e,1),this.actions.length>0&&(e=e<=this.actions.length-1?e:this.actions.length-1,this.$refs.table.setCurrentRow(this.actions[e]))},formatCondition:function(e){if(""===e||!e)return this.$t("workflowEditor.task.nothing");var t=[];return(0,a.parseCondition)(t,e),(0,a.displayCondition)(t)},selectCondition:function(e){this.selectRow(e),this.currentRow||this.$set(this.currentRow,"condition",""),this.showAdditionalCondition=!0}}};t.default=f},function(e,t,n){"use strict";n.r(t);var r=n(148),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={name:"AdditionalConditionDialog",components:{AdditionalCondition:r(n(61)).default},props:{value:{type:String,default:""}},data:function(){return{condition:this.value}},watch:{value:function(e){this.condition=e}},methods:{setConditions:function(){this.$emit("input",this.condition),this.$emit("close")}}};t.default=o},function(e,t,n){"use strict";n.r(t);var r=n(150),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(7),n(1),n(1);var o=r(n(14)),i=r(n(9)),s=n(278),a=r(n(465)),l=n(13);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={name:"AdditionalCondition",components:{ValueSelectionDialog:a.default},props:{value:{type:String,default:null},isTransition:{type:Boolean,default:!1}},data:function(){var e=[],t=(0,s.parseCondition)(e,this.value);return{standardFields:s.standardFields,tableData:e,count:t,currentRow:null,currentInput:null,options:[],valueDialogTitle:null,showOrganization:!0,orgType:null}},computed:u(u({},(0,l.mapGetters)("wfEditor",["formFields"])),{},{availableStandardFields:function(){return"key"===this.currentInput?(0,s.getStandardFieldsByTacheType)(this.isTransition):(0,s.getRelatedStandardFields)(this.currentRow.key)}}),mounted:function(){this.tableData.length>0&&this.$refs.table.setCurrentRow(this.tableData[this.tableData.length-1]),this.$watch("tableData",(function(e,t){this.$emit("input",(0,s.generateCondition)(this.tableData))}),{deep:!0})},methods:{format:function(e,t){return console.log("row",t),""===e||null==e?"":(0,s.getFieldLabel)(e)},getOperatorOptions:function(e){return(0,s.getOperators)(e)},selectRow:function(e){this.$refs.table.setCurrentRow(e)},openValueDialog:function(e){this.showValueDialog=!0,this.selectRow(e)},closeValueDialog:function(e){void 0!==e&&""!==e&&("key"===this.currentInput&&this.currentRow.key!==e&&(this.currentRow.operator="",this.currentRow.value=""),this.currentRow[this.currentInput]=e),this.currentInput=""},getCondition:function(e){return e.key+" "+e.operator+" "+e.value},handleCurrentChange:function(e){this.currentRow=e},getRowIndex:function(e){for(var t=0;t<this.tableData.length;t++)if(this.tableData[t].id===e.id)return t;return-1},add:function(){(null===this.count||void 0===this.count||this.count.isNaN||"NaN"===this.count)&&(this.count=0);var e={id:this.count,leftBracket:"",key:"",operator:"",value:"",rightBracket:"",logicOperator:"condition.operator.or"};this.tableData.push(e),this.$refs.table.setCurrentRow(e),this.count++},insert:function(){if(null!==this.currentRow){var e={id:this.count,leftBracket:"",key:"",operator:"operator.text.eq",value:"",rightBracket:"",logicOperator:"condition.operator.or"};this.tableData.splice(this.getRowIndex(this.currentRow),0,e),this.$refs.table.setCurrentRow(e),this.count++}else this.$alert(this.$t("workflowEditorMessage.pleaseSelectARow"))},remove:function(){if(null!==this.currentRow){var e=this.getRowIndex(this.currentRow);this.tableData.splice(e,1),this.tableData.length>0&&(e=e<=this.tableData.length-1?e:this.tableData.length-1,this.$refs.table.setCurrentRow(this.tableData[e]))}else this.$alert(this.$t("workflowEditorMessage.pleaseSelectARow"))},view:function(){var e=(0,s.displayCondition)(this.tableData);""===e&&(e=this.$t("workflowEditorMessage.conditionsHaveNotBeenSet")),this.$confirm(e,this.$t("workflowEditorMessage.viewConditions"),{showConfirmButton:!1,showCancelButton:!1,callback:function(){}})},selectField:function(e){this.selectRow(e),this.currentInput="key",this.valueDialogTitle=this.$t("workflowEditorMessage.fieldSettings"),this.showOrganization=!1},selectValue:function(){this.currentInput="value",this.valueDialogTitle=this.$t("workflowEditorMessage.valueSetting"),this.showOrganization=!0,this.orgType=this.getStandardFieldOrgType()},getStandardFieldOrgType:function(){var e=this,t=this.standardFields.filter(function(t){return(0,o.default)(this,e),t.name===this.currentRow.key}.bind(this));return t.length>0?t[0].orgType:""},isTransitionOtherField:function(e){return(0,s.isTransitionOtherField)(e)}}};t.default=d},function(e,t,n){"use strict";n.r(t);var r=n(152),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(6),n(7),n(8),n(4);var r=n(2);n(4),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(3),n(1),n(1),n(5),n(3);var o=r(n(9)),i=r(n(467)),s=n(13),a=n(12);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={name:"ValueSelectionDialog",components:{InlineSystemRoleTree:i.default},props:{standardFields:{type:[Object,Array],default:null},title:{type:String,default:""},showOrganization:{type:Boolean,default:!0},showFormFields:{type:Boolean,default:!0},orgType:{type:String,default:""}},data:function(){var e=this.title,t="organization";return this.showOrganization||(t="standardFields"),this.title&&""!==this.title||(e=(0,a.getI18n)().t("workflowEditorMessage.pleaseSelectAValue")),{selectedValue:"",activeTab:t,titleName:e}},computed:c(c({},(0,s.mapGetters)("wfEditor",["formFields"])),{},{options:function(){if(Array.isArray(this.standardFields))return this.standardFields;for(var e=[],t=0,n=Object.keys(this.standardFields);t<n.length;t++){var r=n[t];e.push({name:r,label:this.standardFields[r]})}return e}}),watch:{activeTab:function(e){this.selectedValue=""}},methods:{setValue:function(){this.organizationResultValue(),""!==this.selectedValue?this.$emit("close",this.selectedValue):this.$alert(this.$t("workflowEditorMessage.pleaseSelectAValueInTheCurrentTab"))},orgSelect:function(e){e&&("user"===this.orgType?this.getSelectedUser(e.user,e.containBranch):"department"===this.orgType?this.getSelectedDepartmentOrWorkgroup(e.department,e.containBranch):"workgroup"===this.orgType?this.getSelectedDepartmentOrWorkgroup(e.workgroup,e.containBranch):"role"===this.orgType&&this.getSelectedRole(e.role))},organizationResultValue:function(){this.orgType&&"organization"===this.activeTab&&("user"===this.orgType?this.$refs.organizationTree.confirmSelectUser():"department"===this.orgType?this.$refs.organizationTree.selectDepartment():"workgroup"===this.orgType?this.$refs.organizationTree.selectWorkgroup():"role"===this.orgType&&this.$refs.organizationTree.selectRole())},getSelectedUser:function(e,t){var n=e.loginName,r=e.name;if(t){if(e.subCompanyId&&null!==e.subCompanyId)n=n+"~~"+e.subCompanyCode,r=r+"/"+e.subCompanyName;else n=n+"~~"+e.tenantCode,r=r+"/"+e.tenantName;this.selectedValue=r+"["+n+"]"}else this.selectedValue=e.name+"["+e.loginName+"]"},getSelectedDepartmentOrWorkgroup:function(e,t){this.selectedValue=e.name;var n=e.name;if(t){if(e.subCompanyId&&null!==e.subCompanyId)n=n+"/"+e.subCompanyName;else n=n+"/"+e.tenantName;this.selectedValue=n+"["+e.code+"]"}else this.selectedValue=e.name+"["+e.code+"]"},getSelectedRole:function(e){this.selectedValue=e.name+"["+e.code+"]"}}};t.default=u},function(e,t,n){"use strict";n.r(t);var r=n(154),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(7),n(1),n(1),n(5);var o=r(n(14)),i={name:"InlineSystemRoleTree",props:{multiple:{type:Boolean,default:!1}},data:function(){return{systemRoleTrees:null,filterText:"",defaultProps:{id:"id",label:"label",children:"children",isLeaf:"leaf"},containBranch:!1,tenantInfo:null,tenantNodeId:-1,allSearchNodeIds:[],allExpandNodeIds:[],isClickNode:!1,searchValue:null,selectNodeInfo:null}},computed:{},watch:{filterText:function(e){e||(this.searchValue=e,this.loadRole(this.tenantNodeId,this.tenantNodeId+""))}},created:function(){},methods:{loadNode:function(e,t){var n,r=0;0===e.level?n=(r=0)+"":(r=e.data.id,n=e.data.nodeId);var o=[];this.$refs.roleTree&&(o=this.$refs.roleTree.getCheckedKeys()),this.initLoadRole(r,n,e,t,o)},initLoadRole:function(e,t,n,r,i){var s=this;this.$http.get(this.baseAPI+"/acs/roles/system-role-trees/"+e).then(function(a){if((0,o.default)(this,s),r(a),this.$refs.roleTree.updateKeyChildren(t,a),0===e){var l=a[0].data;this.tenantInfo=JSON.parse(l),this.containBranch=a[0].containBranch,this.loadRole(this.tenantNodeId,this.tenantNodeId+"")}this.isClickNode?(this.isClickNode=!1,this.checkedNodeAndChildren(n.data)):i&&i.indexOf(t)>-1&&this.checkedNodeAndChildren(n.data)}.bind(this))},loadRole:function(e,t,n,r){var i=this;this.$http.get(this.baseAPI+"/acs/roles/system-role-trees/"+e).then(function(e){(0,o.default)(this,i),this.$refs.roleTree.updateKeyChildren(t,e),this.$refs.roleTree.store.nodesMap[t]&&(this.$refs.roleTree.store.nodesMap[t].expanded=!0),n&&(-1===this.allExpandNodeIds.indexOf(t)&&this.allExpandNodeIds.push(t),this.allExpandNodeIds.length===this.allSearchNodeIds.length&&(this.$refs.roleTree.filter(r),this.allExpandNodeIds=[],this.allSearchNodeIds=[]))}.bind(this))},clickSearch:function(){this.searchValue=this.filterText,this.filterAppendNodes(this.filterText)},filterAppendNodes:function(e){var t=this;this.$http.get(this.baseAPI+"/acs/roles/search-system-role-trees?searchValue="+e).then(function(n){var r=this;if((0,o.default)(this,t),n){if(0===n.length)return void this.$message({showClose:!0,type:"error",message:this.$t("workflowEditorMessage.queryResultIsEmpty")});n.forEach(function(t){(0,o.default)(this,r);var n="SYSTEM_"+t;-1===this.allSearchNodeIds.indexOf(n)&&(this.allSearchNodeIds.push(n),this.loadRole(t,n,!0,e))}.bind(this))}else this.$message({showClose:!0,type:"error",message:this.$t("workflowEditorMessage.queryResultIsEmpty")})}.bind(this))},handleCheckNode:function(e,t){var n=this;t.checkedKeys.indexOf(e.nodeId)>-1?e.children?(this.$refs.roleTree.store.nodesMap[e.nodeId].expanded=!0,this.checkedNodeAndChildren(e)):e.leaf||this.$http.get(this.baseAPI+"/acs/roles/system-role-trees/"+e.id).then(function(t){(0,o.default)(this,n),this.$refs.roleTree.updateKeyChildren(e.nodeId,t),this.$refs.roleTree.store.nodesMap[e.nodeId].expanded=!0,this.checkedNodeAndChildren(e)}.bind(this)):this.cancelChildCheckedNodes(e)},checkedNodeAndChildren:function(e){var t=this;this.$refs.roleTree.store.nodesMap[e.nodeId].expanded=!0,this.$refs.roleTree.setChecked(e.nodeId,!0);var n=e.children;n&&n.forEach(function(e){(0,o.default)(this,t),this.checkedNodeAndChildren(e)}.bind(this))},cancelChildCheckedNodes:function(e){var t=this;e.id!==this.tenantNodeId&&this.$refs.roleTree.setChecked(this.tenantNodeId+"",!1);var n=e.children;n&&n.forEach(function(e){(0,o.default)(this,t),this.$refs.roleTree.setChecked(e.nodeId,!1),this.cancelChildCheckedNodes(e)}.bind(this))},selectRole:function(){var e=this;if(this.multiple){var t={containBranch:this.containBranch,roles:[]},n=[];this.$refs.roleTree.getCheckedNodes().forEach(function(t){if((0,o.default)(this,e),"ROLE"===t.nodeType){var r=JSON.parse(t.data);r.tenantCode=this.tenantInfo.code,r.tenantName=this.tenantInfo.tenantName,n.push(r)}}.bind(this)),t.roles=n,t.length>0?this.$emit("result",t):this.$message({showClose:!0,type:"warning",message:this.$t("workflowEditor.pleaseSelectRole")})}else this.selectNodeInfo?this.$emit("result",this.selectNodeInfo):this.$message({showClose:!0,type:"warning",message:this.$t("workflowEditor.pleaseSelectRole")})},filterNode:function(e,t,n){if(e){var r=t.label;return"ROLE"===t.nodeType&&-1!==r.indexOf(e)}return!0},handleNodeClick:function(e,t,n){if(this.multiple&&this.clickNodeWhenMultiple(e),console.log(e),"ROLE"===e.nodeType&&!this.multiple){var r=JSON.parse(e.data);r.tenantName=this.tenantInfo.tenantName,r.tenantCode=this.tenantInfo.code;var o={id:e.id,name:e.name,containBranch:this.containBranch,role:r};this.selectNodeInfo=o}},clickNodeWhenMultiple:function(e){var t=[];if(this.$refs.roleTree&&(t=this.$refs.roleTree.getCheckedKeys()),t.indexOf(e.nodeId)>-1)this.$refs.roleTree.setChecked(e.nodeId,!1),this.cancelChildCheckedNodes(e),this.$refs.roleTree.store.nodesMap[e.nodeId].expanded=!0;else{this.$refs.roleTree.setChecked(e.nodeId,!0);var n=e.childDepartments;n&&n.length>0?this.checkedNodeAndChildren(e):this.isClickNode=!0}},renderContent:function(e,t){var n=t.node,r=t.data;t.store;return r.nodeType&&"ROLE"===r.nodeType&&this.searchValue&&r.label.indexOf(this.searchValue)>-1?e("span",[e("span",{class:"searchResult"},[n.label])]):e("span",[e("span",[n.label])])}}};t.default=i},function(e,t,n){"use strict";n.r(t);var r=n(156),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=r(n(684)),s=n(13);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var l={name:"I18nInput",components:{I18nSet:i.default},model:{prop:"value",event:"input"},props:{value:{type:String,default:""},i18nKey:{type:String,default:""}},data:function(){var e=this.value;return{isShowI18n:!1,myI18nKey:this.i18nKey,zh:e}},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},(0,s.mapGetters)("wfEditor",["processCode"])),mounted:function(){this.$watch("zh",(function(e){this.$emit("input",e)}))},created:function(){},methods:{i18nSet:function(){this.myI18nKey?this.isShowI18n=!0:this.$message({showClose:!0,type:"warning",message:this.$t("workflowEditorMessage.pleaseInputCode")})},closeI18nSet:function(e){e&&this.$emit("setI18n",e),this.isShowI18n=!1}}};t.default=l},function(e,t,n){"use strict";n.r(t);var r=n(158),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(6),n(7),n(8),n(4);var r=n(2);n(4),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(3),n(23),n(25),n(5),n(3),n(5);var o=r(n(14)),i=r(n(9)),s=n(12),a=n(13);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var c={name:"I18nSet",props:{value:{type:Object,default:null}},data:function(){var e={};return this.value&&(e=JSON.parse(JSON.stringify(this.value))),{requiredRule:{required:!0,message:(0,s.getI18n)().t("workflowEditor.process.cannotBeEmpty"),trigger:"blur"},i18nModel:e,bundleCode:null,isShow:!1,i18nKey:null,languages:{}}},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},(0,a.mapGetters)("wfEditor",["systemCode","processCode"])),created:function(){this.bundleCode=this.systemCode+".workflow."+this.processCode,this.getI18nSet()},methods:{getI18nSet:function(){var e=this;this.$http.get(this.baseAPI+"/wf-editor/i18n-settings/languages").then(function(t){var n=this;(0,o.default)(this,e);var r={bundleCode:this.bundleCode,i18nKey:this.i18nModel.key};this.$http.post(this.baseAPI+"/wf-editor/i18n-settings/get-info",r).then(function(e){var r=this;(0,o.default)(this,n),this.languages=t,Object.keys(this.languages).forEach(function(t){(0,o.default)(this,r),e&&e[t]?this.$set(this.i18nModel.values,t,e[t]):this.i18nModel.values[t]||this.$set(this.i18nModel.values,t,"")}.bind(this)),this.isShow=!0}.bind(this))}.bind(this))},saveI18nSet:function(e){var t=this;this.$refs[e].validate(function(e){var n=this;if((0,o.default)(this,t),!e)return console.log("error submit!!"),!1;this.i18nModel.bundleCode=this.bundleCode,this.i18nModel.systemCode=this.systemCode,console.log("this.i18nModel---",this.i18nModel),this.$http.post(this.baseAPI+"/wf-editor/i18n-settings",this.i18nModel).then(function(){(0,o.default)(this,n),console.log("更新成功-----"),this.$emit("close",this.i18nModel.key)}.bind(this))}.bind(this))},goBack:function(){this.$emit("close")}}};t.default=c},function(e,t,n){"use strict";n.r(t);var r=n(160),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(15)),i={name:"SelectMailTemplates",model:{prop:"value",event:"input"},props:{value:{type:String,default:""}},data:function(){return{baseURL:"",optionUrl:"",multiSelectData:[],showMailTemplateFlag:!1,code:this.value,options:{showColumns:"code,name"}}},created:function(){this.baseURL=o.default.prototype.baseURL,this.optionUrl="/mc/email-templates/list/0"},methods:{selectTemplate:function(){this.multiSelectData&&1===this.multiSelectData.length?(this.code=this.multiSelectData[0].code,this.$emit("set-value",this.code),this.showMailTemplateFlag=!1):this.$message({showClose:!0,type:"warning",message:this.$t("workflowEditorMessage.pleaseSelectARow")})},selectData:function(e,t){this.multiSelectData=e}}};t.default=i},function(e,t,n){"use strict";n.r(t);var r=n(162),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(30),n(1);var o=r(n(14)),i=r(n(688)),s=r(n(692)),a=r(n(61)),l=r(n(281)),c=n(12),u={name:"PermissionSettings",components:{EditableFields:i.default,UserSelection:l.default,AdditionalCondition:a.default,editableChildFields:s.default},props:{value:{type:Object,default:null}},data:function(){var e=this,t=(0,c.deepCopy)(this.value),n=["viewOpinion","editOpinion","requireOpinion","viewMeetingResult","viewVoteResult","viewFlowHistory","printForm"];n.forEach(function(n){(0,o.default)(this,e),t[n+"Checkbox"]=!!this.value[n].condition}.bind(this));var r=["add","delete","download"];return r.forEach(function(n){(0,o.default)(this,e),t.attachment[n+"Checkbox"]=!!this.value.attachment[n]&&!!this.value.attachment[n].condition,t.attachment.permission||(t.attachment[n]={permission:!1,condition:""})}.bind(this)),{formModel:t,attrNames:n,attachmentAttrNames:r}},mounted:function(){this.$watch("formModel",(function(e){var t=this,n={editForm:{},viewOpinion:{},editOpinion:{},requireOpinion:{},viewMeetingResult:{},viewVoteResult:{},viewFlowHistory:{},printForm:{},officialText:{},attachment:{},deleteInstance:{userCondition:""}};console.log("触发了watch"),n.editForm.permission=e.editForm.permission,e.editForm.permission&&(n.editForm.field=e.editForm.field,n.editForm.subTablePermission=e.editForm.subTablePermission),this.attrNames.map(function(r){(0,o.default)(this,t),n[r].permission=e[r].permission,e[r].permission&&e[r+"Checkbox"]?n[r].condition=e[r].condition:n[r].condition=""}.bind(this)),n.attachment.permission=e.attachment.permission,e.attachment.permission&&this.attachmentAttrNames.map(function(r){(0,o.default)(this,t),n.attachment[r]||(n.attachment[r]={}),n.attachment[r].permission=e.attachment[r].permission,e.attachment[r].permission&&e.attachment[r+"Checkbox"]?n.attachment[r].condition=e.attachment[r].condition:n.attachment[r].condition=""}.bind(this)),this.$emit("input",n)}),{deep:!0})},methods:{}};t.default=u},function(e,t,n){"use strict";n.r(t);var r=n(164),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(30),n(1),n(7),n(1);var o=r(n(14)),i=r(n(9)),s=r(n(689)),a=r(n(462)),l=n(13),c=n(278);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f={name:"EditableFields",components:{EditableFieldSelection:s.default,AdditionalConditionDialog:a.default},props:{value:{type:[Array,Object],default:null}},data:function(){var e=[];return""!==this.value&&null!==this.value&&void 0!==this.value&&(Array.isArray(this.value)?e=this.value:e.push(this.value)),{showFieldSelection:!1,showAdditionalCondition:!1,selectedFields:e,currentRow:null,multipleSelection:[]}},computed:d(d({},(0,l.mapGetters)("wfEditor",["formFieldsWithSub"])),{},{disabledFields:function(){var e=this;if(null===this.value||void 0===this.value)return[];var t=[];return Array.isArray(this.value)?this.value.map(function(n){(0,o.default)(this,e),t.push(n.name)}.bind(this)):t.push(this.value),t}}),mounted:function(){this.selectedFields.length>0&&this.selectRow(this.selectedFields[this.selectedFields.length-1])},methods:{handleCurrentChange:function(e){this.currentRow=e},handleSelectionChange:function(e){this.multipleSelection=e},selectRow:function(e){this.$refs.table.setCurrentRow(e)},add:function(){this.showFieldSelection=!0},getCurrentRowIndex:function(){for(var e=-1,t=0;t<this.selectedFields.length;t++)if(this.selectedFields[t].name===this.currentRow.name){e=t;break}return e},remove:function(){if(this.multipleSelection&&this.multipleSelection.length>0){for(var e=0;e<this.multipleSelection.length;e++){var t=this.multipleSelection[e];this.selectRow(t);var n=this.getCurrentRowIndex();this.selectedFields.splice(n,1)}this.$emit("input",this.selectedFields)}},setSelectedFields:function(e){null==e&&(e=[]),this.selectedFields=this.selectedFields.concat(e),this.selectRow(this.selectedFields[this.selectedFields.length-1]),this.$emit("input",this.selectedFields)},formatCondition:function(e){if(""===e||!e)return this.$t("workflowEditor.task.nothing");var t=[];return(0,c.parseCondition)(t,e),(0,c.displayCondition)(t)},getFieldLabel:function(e){var t=this,n=this.formFieldsWithSub.filter(function(n){return(0,o.default)(this,t),n.name===e.name}.bind(this));return n.length>0?n[0].label:""},selectCondition:function(e){this.selectRow(e),this.showAdditionalCondition=!0}}};t.default=f},function(e,t,n){"use strict";n.r(t);var r=n(166),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4),n(41),n(23),n(18),n(19),n(25),n(5);var r=n(2);n(42),n(6),n(19),n(18),n(43),n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(14)),i=r(n(9));n(1),n(1),n(30);var s=r(n(61)),a=n(13);function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var d={name:"EditableFieldSelection",components:{AdditionalCondition:s.default},props:{value:{type:Array,default:null},disabledFields:{type:Array,default:null}},data:function(){this.$createElement;return{availableFields:[],formModel:{selectedFields:[],constraintRule:"REQUIRED",showCondition:!1,condition:""},availableFieldsCount:null,orange:-1,pin:!1,renderTransferFunc:function(e,t){return 0===t.name.indexOf("$")?e("span",{style:"color:#409EFF"},[t.label]):e("span",[t.label])}}},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},(0,a.mapGetters)("wfEditor",["formFieldsWithSub"])),created:function(){var e=this,t=0;this.formFieldsWithSub.map(function(n){(0,o.default)(this,e),this.disabledFields.indexOf(n.name)<0&&(n.index=t,this.availableFields.push(n),t++)}.bind(this));var n=this.availableFields.length;this.$set(this,"availableFieldsCount",Math.ceil(n/3))},mounted:function(){var e=this;window.addEventListener("keydown",function(t){(0,o.default)(this,e),console.log("按住"),16===t.keyCode&&t.shiftKey&&(this.pin=!0)}.bind(this)),window.addEventListener("keyup",function(t){(0,o.default)(this,e),console.log("松开"),16===t.keyCode&&(this.pin=!1)}.bind(this))},methods:{filterMethod:function(e,t){return!!(t.label&&t.label.indexOf(e)>-1)||(console.log("filterMethod--item.label=",t.label,t),!1)},setSelectedFields:function(){var e,t=[],n=l(this.formModel.selectedFields);try{for(n.s();!(e=n.n()).done;){var r=e.value;t.push({name:r,constraintRule:this.formModel.constraintRule,condition:this.formModel.showCondition?this.formModel.condition:""})}}catch(e){n.e(e)}finally{n.f()}this.$emit("input",t),this.$emit("close")},pinSelect:function(e,t){console.log(e,t);var n=this.availableFields,r=this.origin,o=t;if(this.pin&&-1!==this.formModel.selectedFields.indexOf(e)){console.log(this.formModel.selectedFields.indexOf(e));for(var i=Math.abs(r-o)+1,s=Math.min(r,o),a=0;a<i;){var l=s+a;-1===this.formModel.selectedFields.indexOf(n[l].name)&&this.formModel.selectedFields.push(n[l].name),a++}}else this.origin=t}}};t.default=d},function(e,t,n){"use strict";n.r(t);var r=n(168),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1),n(480),n(480),n(1);var o=r(n(14));n(5);var i=r(n(9)),s=r(n(693)),a=r(n(279)),l=n(13);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={name:"EditableChildFields",components:{editableChildFieldSetting:s.default},props:{value:{type:[Array,Object],default:null}},data:function(){var e=[];return""!==this.value&&null!==this.value&&void 0!==this.value&&(Array.isArray(this.value)?e=this.value:e.push(this.value)),{selectedFields:e,selectedFieldMap:{}}},computed:u({},(0,l.mapGetters)("wfEditor",["subtableConditionMap"])),watch:{},created:function(){var e=this;if(this.selectedFields&&this.selectedFields.length>0&&this.selectedFields.forEach(function(t){var n=this;(0,o.default)(this,e);var r={},i=t.tableName;if(t.action)if(Array.isArray(t.action)){if(t.action.length>0){var s=[],a={};t.action.forEach(function(e){(0,o.default)(this,n),s.push(e.name);var t={};e.condition&&(t.condition=this.xmlToData(e.condition)),t.parentCondition=e.parentCondition,t.userCondition=e.userCondition,a[e.name]=t}.bind(this)),r.actionArr=s,r.visibleConditionArr=a}}else{var l=[],c={};l.push(t.action.name);var u={};t.action.condition&&(u.condition=this.xmlToData(t.action.condition)),u.parentCondition=t.action.parentCondition,u.userCondition=t.action.userCondition,c[t.action.name]=u,r.actionArr=l,r.visibleConditionArr=c}if(t.field)if(Array.isArray(t.field)){if(t.field.length>0){var d=[];t.field.forEach(function(e){(0,o.default)(this,n);var t={};t.name=e.name,t.constraintRule=e.constraintRule,t.condition=this.xmlToData(e.condition),t.userCondition=e.userCondition,t.parentCondition=e.parentCondition,d.push(t)}.bind(this)),r.fieldArr=d}}else{var f=[],p={};p.name=t.field.name,p.constraintRule=t.field.constraintRule,p.condition=this.xmlToData(t.field.condition),p.userCondition=t.field.userCondition,p.parentCondition=t.field.parentCondition,f.push(p),r.fieldArr=f}t.modelName?r.modelName=t.modelName:r.modelName=null,t.permission?r.sumPermission=t.permission:r.sumPermission=!1,this.$set(this.selectedFieldMap,i,r)}.bind(this)),this.subtableConditionMap)for(var t in this.subtableConditionMap)if(!this.selectedFieldMap[t]){var n={};n.tableName=t,n.modelName=this.subtableConditionMap[t].modelName,n.sumPermission=!1,this.$set(this.selectedFieldMap,t,n)}},mounted:function(){},methods:u(u({},a.default),{},{combinationParameters:function(e){var t=this;if(e&&e.tableName){if(this.selectedFields&&this.selectedFields.length>0){var n=this.selectedFields.findIndex(function(n){return(0,o.default)(this,t),n.tableName===e.tableName}.bind(this));-1!==n?this.$set(this.selectedFields,n,e):this.selectedFields.push(e)}else this.selectedFields=[],this.selectedFields.push(e);this.$emit("input",this.selectedFields)}},refreshModelName:function(e){if(this.subtableConditionMap&&this.subtableConditionMap[e]&&this.subtableConditionMap[e].modelName){if(this.selectedFieldMap[e]){this.selectedFieldMap[e].modelName=this.subtableConditionMap[e].modelName}else{var t={};t.modelName=this.subtableConditionMap[e].modelName,this.$set(this.selectedFieldMap,e,t)}this.$message({showClose:!0,type:"success",message:this.$t("workflowEditorMessage.updateSuccessful")})}},changeSumPermission:function(e){var t=this;if(e&&this.selectedFieldMap[e])if(this.selectedFields||this.$set(this,"selectedFields",[]),!1===this.selectedFieldMap[e].sumPermission){var n=this.selectedFields.findIndex(function(n){return(0,o.default)(this,t),n.tableName===e}.bind(this));null!=n&&-1!==n?this.$set(this.selectedFields[n],"permission",!1):this.$set(this.selectedFields,this.selectedFields.length,{permission:!1,tableName:e})}else{var r=this.selectedFields.findIndex(function(n){return(0,o.default)(this,t),n.tableName===e}.bind(this));null!=r&&-1!==r?this.$set(this.selectedFields[r],"permission",!0):this.$set(this.selectedFields,this.selectedFields.length,{permission:!0,tableName:e})}this.$emit("input",this.selectedFields)}})};t.default=d},function(e,t,n){"use strict";n.r(t);var r=n(170),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1);var o=r(n(14));n(5),n(1);var i=r(n(9)),s=n(13),a=r(n(694)),l=r(n(279));function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={name:"EditableChildFieldSetting",components:{selectionConditions:a.default},props:{setting:{type:Object,default:null},tableName:{type:String,default:null}},data:function(){var e=[];this.setting&&this.setting.actionArr&&(e=this.setting.actionArr);var t,n,r,o=[];return this.setting&&this.setting.fieldArr&&(o=this.setting.fieldArr),this.setting&&this.setting.visibleConditionArr&&(t=this.setting.visibleConditionArr),this.setting&&this.setting.modelName&&(n=this.setting.modelName),this.setting&&null!==this.setting.sumPermission&&(r=this.setting.sumPermission),{sumPermission:r,subtableConditionItem:null,attributeArr:null,showAdditionalCondition:!1,currentRow:null,multipleSelection:null,actionArr:e,fieldArr:o,queryList:null,fieldMap:null,fieldNameMap:null,actionVisibleConditionArr:t,buttonType:null,buttonVisibleCon:null,showButtonVisibleFlag:!1,clickButton:!1,operationArr:[],modelName:n}},watch:{setting:{handler:function(e,t){e&&e.actionArr&&(this.actionArr=e.actionArr),e&&e.fieldArr&&(this.fieldArr=e.fieldArr),e&&e.actionVisibleConditionArr&&(this.actionVisibleConditionArr=e.actionVisibleConditionArr),this.modelName=e.modelName,this.sumPermission=e.sumPermission,this.combinationParameters()},deep:!0}},computed:u({},(0,s.mapGetters)("wfEditor",["subtableConditionMap"])),created:function(){this.subtableConditionMap&&this.tableName&&(this.subtableConditionItem=this.subtableConditionMap[this.tableName],this.getAttributeArr())},mounted:function(){this.subtableConditionMap&&this.tableName&&(this.subtableConditionItem=this.subtableConditionMap[this.tableName],this.subtableConditionMap[this.tableName]&&(this.attributeArr=this.subtableConditionItem.attributeArr))},methods:u(u({},l.default),{},{getAttributeArr:function(){this.subtableConditionItem&&this.subtableConditionItem.attributeArr&&(this.queryList=this.subtableConditionItem.attributeArr,this.fieldMap=this.subtableConditionItem.fieldMap,this.fieldNameMap=this.subtableConditionItem.fieldNameMap)},savebuttonSetting:function(e){e&&(this.$set(this.currentRow,"condition",e.condition),this.$set(this.currentRow,"userCondition",e.userCondition),this.$set(this.currentRow,"parentCondition",e.parentCondition),this.combinationParameters()),this.showAdditionalCondition=!1},handleCurrentChange:function(e){this.currentRow=e},handleSelectionChange:function(e){this.multipleSelection=e},selectRow:function(e){this.$refs.table.setCurrentRow(e)},add:function(){this.fieldArr||(this.fieldArr=[]),this.fieldArr.push({name:null,constraintRule:null,condition:null}),this.combinationParameters()},getCurrentRowIndex:function(){for(var e=-1,t=0;t<this.fieldArr.length;t++)if(this.fieldArr[t].name===this.currentRow.name){e=t;break}return e},remove:function(){if(this.multipleSelection&&this.multipleSelection.length>0){for(var e=0;e<this.multipleSelection.length;e++){var t=this.multipleSelection[e];this.selectRow(t);var n=this.getCurrentRowIndex();this.fieldArr.splice(n,1)}this.combinationParameters()}},selectCondition:function(e){this.selectRow(e),this.showAdditionalCondition=!0},showButtonVisible:function(e){this.clickButton=!0,this.buttonType=e,this.actionVisibleConditionArr&&this.actionVisibleConditionArr[e]?(this.buttonVisibleCon=this.actionVisibleConditionArr[e],this.$set(this,"buttonVisibleCon",this.actionVisibleConditionArr[e])):this.$set(this,"buttonVisibleCon",{}),this.$set(this,"showButtonVisibleFlag",!0)},saveButtonVisible:function(e){e&&(this.actionVisibleConditionArr||(this.actionVisibleConditionArr={}),this.$set(this.actionVisibleConditionArr,this.buttonType,e),this.combinationParameters()),this.showButtonVisibleFlag=!1},changeActionArr:function(){this.clickButton?(this.actionArr.push(this.buttonType),this.clickButton=!1):this.combinationParameters()},combinationParameters:function(){var e=this,t={};t.modelName=this.modelName,t.tableName=this.tableName,t.permission=this.sumPermission;var n=[];if(this.actionArr&&this.actionArr.length>0&&(this.actionArr.forEach(function(t){(0,o.default)(this,e);var r={};if(r.name=t,this.actionVisibleConditionArr&&this.actionVisibleConditionArr[t]){var i=this.actionVisibleConditionArr[t];r.condition=this.dataToXml(i.condition),r.parentCondition=i.parentCondition,r.userCondition=i.userCondition}n.push(r)}.bind(this)),t.action=n),this.fieldArr&&this.fieldArr.length>0){var r=[];this.fieldArr.forEach(function(t){(0,o.default)(this,e);var n={};n.name=t.name,n.constraintRule=t.constraintRule,t.condition&&(n.condition=this.dataToXml(t.condition)),n.userCondition=t.userCondition,n.parentCondition=t.parentCondition,r.push(n)}.bind(this)),t.field=r}console.log("触发combinationParameters",t),this.$emit("combinationParameters",t)}})};t.default=d},function(e,t,n){"use strict";n.r(t);var r=n(172),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(7);var o=r(n(14)),i=r(n(52)),s=r(n(9)),a=r(n(279)),l=r(n(61)),c=r(n(280)),u=n(13);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,s.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p={components:{AdditionalCondition:l.default,CommonUserCondition:c.default},props:{conditionList:{type:[Array,String],default:null},userCondition:{type:String,default:null},parentCondition:{type:String,default:null},attributeMap:{type:Object,default:null},isAdd:{type:Boolean,default:!1}},data:function(){var e,t;return this.userCondition&&""!==this.userCondition&&(e=this.userCondition),this.parentCondition&&""!==this.parentCondition&&(t=this.parentCondition),{myUserCondition:e,myParentCondition:t,tableData:null,attributeArr:[],fieldMap:{},fieldNameMap:{},queryList:[],operationArr:[],parentAttributeArr:[]}},created:function(){this.getAttributeArr()},computed:f({},(0,u.mapGetters)("wfEditor",["propSettingKeyList"])),mounted:function(){this.conditionList&&("object"===(0,i.default)(this.conditionList)?this.tableData=this.conditionList:this.tableData=this.xmlToData(this.conditionList),this.getOperatorsArr(this.tableData))},methods:f(f({},a.default),{},{add:function(){this.tableData||(this.tableData=[]),this.tableData.push({leftBracket:"",propName:"",operator:"",propValue:"",rightBracket:"",logicOperator:"condition.operator.or",dataType:"",propDbName:""}),this.operationArr.push([])},remove:function(){if(null!==this.currentRow){var e=this.getRowIndex(this.currentRow);this.tableData.splice(e,1),this.tableData.length>0&&(e=e<=this.tableData.length-1?e:this.tableData.length-1,this.$refs.table.setCurrentRow(this.tableData[e]))}else this.$alert(this.$t("workflowEditorMessage.pleaseSelectARow"))},changeFieldName:function(e){var t=this.currentRow.propName,n=this.fieldMap[t];n&&(this.tableData[e].dataType=n.type,this.tableData[e].propDbName=n.propDbName),this.operationArr[e]=this.getOperators(n)},getAttributeArr:function(){this.attributeMap&&this.attributeMap.attributeArr&&(this.attributeArr=this.attributeMap.attributeArr,this.queryList=this.attributeMap.attributeArr,this.fieldMap=this.attributeMap.fieldMap,this.fieldNameMap=this.attributeMap.fieldNameMap,this.parentAttributeArr=this.attributeMap.parentAttributeArr)},selectRow:function(e){this.attributeArr=this.queryList,this.$refs.table.setCurrentRow(e)},handleCurrentChange:function(e){this.currentRow=e},searchField:function(e){var t=this;e&&(this.attributeArr=this.queryList.filter(function(n){return(0,o.default)(this,t),n.label.indexOf(e)>-1||n.value.indexOf(e)>-1}.bind(this)))},getRowIndex:function(e){for(var t=0;t<this.tableData.length;t++)if(this.tableData[t].propName===e.propName)return t;return-1},savebuttonSetting:function(){if(this.tableData&&this.tableData.length>0)for(var e=0;e<this.tableData.length;e++){if(!this.tableData[e].propName)return void this.$alert(this.$t("workflowEditorMessage.blankFieldNameOrValue"))}var t={userCondition:this.myUserCondition,parentCondition:this.myParentCondition,condition:this.tableData};this.$emit("close",t)},closeButtonSetting:function(){this.$emit("close",null)},changePropValue:function(e){this.tableData[e]&&this.tableData[e].propValue?this.tableData[e].propValueType&&("request"===this.tableData[e].propValueType&&(-1===this.tableData[e].propValue.indexOf("${request.")&&(this.tableData[e].propValue="${request."+this.tableData[e].propValue),-1===this.tableData[e].propValue.indexOf("}")&&(this.tableData[e].propValue=this.tableData[e].propValue+"}")),"input"===this.tableData[e].propValueType&&(-1===this.tableData[e].propValue.indexOf("${input.")&&(this.tableData[e].propValue="${input."+this.tableData[e].propValue),-1===this.tableData[e].propValue.indexOf("}")&&(this.tableData[e].propValue=this.tableData[e].propValue+"}"))):this.$set(this.tableData[e],"propValueType",null)}})};t.default=p},function(e,t,n){"use strict";n.r(t);var r=n(174),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(465)),i=n(695),s=n(50),a={name:"CommonUserCondition",components:{ValueSelectionDialog:o.default},props:{value:{type:String,default:null},usedIn:{type:String,default:"reminder"}},data:function(){var e=[],t=0;return this.value&&""!==this.value&&(t=(0,i.parseCondition)(e,this.value)),{users:e,count:t,currentRow:null,showValueDialog:!1}},computed:{standardFields:function(){var e="reminder"===this.usedIn?i.userStandardFieldsForReminder:i.userStandardFieldsForTransactor;return"${department}"===this.currentRow.key?e="reminder"===this.usedIn?i.departmentStandardFieldsForReminder:i.departmentStandardFieldsForTransactor:"${workgroup}"===this.currentRow.key?e="reminder"===this.usedIn?i.workgroupStandardFieldsForReminder:i.workgroupStandardFieldsForTransactor:"${role}"===this.currentRow.key&&(e={}),e}},mounted:function(){this.users.length>0&&this.$refs.table.setCurrentRow(this.users[this.users.length-1]),this.$watch("users",(function(e,t){this.$emit("input",(0,i.generateUserCondition)(this.users))}),{deep:!0})},methods:{format:function(e){return e.indexOf("${field[")>=0?(0,s.getFormFieldLabel)(e):e.indexOf("${")>=0?(0,i.formatStandardValue)(e):e.substring(0,e.indexOf("["))},selectRow:function(e){this.$refs.table.setCurrentRow(e)},openValueDialog:function(e){this.showValueDialog=!0,this.selectRow(e)},closeValueDialog:function(e){console.log(e),void 0!==e&&""!==e&&(this.currentRow.value=e),this.showValueDialog=!1},getCondition:function(e){return e.key+" "+e.operator+" "+e.value},handleCurrentChange:function(e){this.currentRow=e},getRowIndex:function(e){for(var t=0;t<this.users.length;t++)if(this.users[t].id===e.id)return t;return-1},add:function(){var e={id:this.count,leftBracket:"",key:"${user}",operator:"operator.text.eq",value:"",rightBracket:"",logicOperator:"condition.operator.or"};this.users.push(e),this.$refs.table.setCurrentRow(e),this.count++},insert:function(){if(null!==this.currentRow){var e={id:this.count,leftBracket:"",key:"${user}",operator:"operator.text.eq",value:"",rightBracket:"",logicOperator:"condition.operator.or"};this.users.splice(this.getRowIndex(this.currentRow),0,e),this.$refs.table.setCurrentRow(e),this.count++}else this.$alert(this.$t("workflowEditorMessage.pleaseSelectARow"))},remove:function(){if(null!==this.currentRow){var e=this.getRowIndex(this.currentRow);this.users.splice(e,1),this.users.length>0&&(e=e<=this.users.length-1?e:this.users.length-1,this.$refs.table.setCurrentRow(this.users[e]))}else this.$alert(this.$t("workflowEditorMessage.pleaseSelectARow"))},view:function(){var e=(0,i.displayUserCondition)(this.users);""===e&&(e=this.$t("workflowEditorMessage.conditionsHaveNotBeenSet")),this.$confirm(e,this.$t("workflowEditorPublicModel.viewConditions"),{showConfirmButton:!1,showCancelButton:!1,callback:function(){}})},handleKeyChange:function(e){this.currentRow.value=""}}};t.default=a},function(e,t,n){"use strict";n.r(t);var r=n(176),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(46),n(1),n(5);var o=r(n(14));n(20),n(20),n(7),n(1),n(46);var i=r(n(73)),s=r(n(696)),a=n(50),l={name:"UserSelection",components:{SystemRoleTree:s.default,FormFields:i.default},props:{label:{type:String,default:""},labelWidth:{type:String,default:null},value:{type:String,default:""},currentTransactor:{type:Boolean,default:!1}},data:function(){var e=!1,t="",n=this.value.split("; "),r=n[0].split(" condition.operator.or ");return 2===n.length&&(e=!0,t=n[1].split(" condition.operator.or "),r.push("assignUser")),{checkList:r,showUserList:e,selectedUsers:t,showSelectUser:!1,selectedUsersShowValue:null,showSelectDepartment:!1,showSelectWorkgroup:!1,showSelectRole:!1,showSelectField:!1}},watch:{checkList:function(e){this.$emit("input",this.getValue())},selectedUsers:function(e){this.$emit("input",this.getValue())}},created:function(){console.log(this.checkList),this.getSelectedUsersShowValue()},methods:{formatLabel:function(e){return(0,a.getFormFieldLabel)(e)},getValue:function(){var e=this,t=this.checkList.filter(function(t){return(0,o.default)(this,e),""!==t&&"assignUser"!==t}.bind(this)).join(" condition.operator.or ");return this.showUserList&&this.selectedUsers&&0!==this.selectedUsers.length&&(t=t+"; "+this.selectedUsers.join(" condition.operator.or ")),t},toggleUserList:function(){this.showUserList=!this.showUserList},resetSelectedUsers:function(){this.selectedUsers=[],this.selectedUsersShowValue=""},handleCommand:function(e){"selectUser"===e?this.selectPointUser():"selectDepartment"===e?this.selectPointDepartment():"selectRole"===e?this.selectPointRole():"selectWorkgroup"===e?this.selectPointWorkgroup():"selectField"===e&&this.selectPointField()},selectPointUser:function(){this.showSelectUser=!0},selectPointDepartment:function(){this.showSelectDepartment=!0},selectPointRole:function(){this.showSelectRole=!0},selectPointField:function(){this.showSelectField=!0},selectPointWorkgroup:function(){this.showSelectWorkgroup=!0},addPointUsers:function(e){e&&(e.containBranch?this.packageSelectedUserConditionsWithBranch(e.users):this.packageSelectedUserConditionsWithOutBranch(e.users),this.getSelectedUsersShowValue());this.showSelectUser=!1},packageSelectedUserConditionsWithBranch:function(e){var t=this;e.forEach(function(e){(0,o.default)(this,t);var n=e.loginName,r=e.name;e.subCompanyId&&null!==e.subCompanyId?(n=n+"~~"+e.subCompanyCode,r=r+"/"+e.subCompanyName):(n=n+"~~"+e.tenantCode,r=r+"/"+e.tenantName);var i="${user} operator.text.eq "+r+"["+n+"]";this.selectedUsers?0===this.selectedUsers.filter(this.filterCondition(i)).length&&this.selectedUsers.push(i):(this.selectedUsers=[],this.selectedUsers.push(i))}.bind(this))},packageSelectedUserConditionsWithOutBranch:function(e){var t=this;e.forEach(function(e){(0,o.default)(this,t);var n="${user} operator.text.eq "+e.name+"["+e.loginName+"]";0===this.selectedUsers.filter(this.filterCondition(n)).length&&this.selectedUsers.push(n)}.bind(this))},getSelectedUsersShowValue:function(){if(this.selectedUsers){var e=this.selectedUsers.join(" condition.operator.or ");this.selectedUsersShowValue=e.replace(/\$\{user\}/g,"用户").replace(/\$\{department\}/g,"部门").replace(/\$\{workGroup\}/g,"工作组").replace(/\$\{role\}/g,"角色").replace(/operator\.text\.eq/g,"等于").replace(/condition\.operator\.or/g,"或者").replace(/\$\{field/g,"字段").replace(/]\}/g,"]")}},filterCondition:function(e){var t=this;return function(n){return(0,o.default)(this,t),n===e}.bind(this)},addPointDepartments:function(e){e&&(e.containBranch?this.packageSelectedDepartmentOrWorkgroupConditionsWithBranch(e.departments,"${department}"):this.packageSelectedDepartmentOrWorkgroupConditionsWithOutBranch(e.departments,"${department}"),this.getSelectedUsersShowValue());this.showSelectDepartment=!1},packageSelectedDepartmentOrWorkgroupConditionsWithBranch:function(e,t){var n=this,r=t+" operator.text.eq ";e.forEach(function(e){(0,o.default)(this,n);var t=e.code,i=e.name;if(e.subCompanyId&&null!==e.subCompanyId){var s=e.subCompanyName;s&&""!==s&&(i=i+"/"+s)}else i=i+"/"+e.tenantName;var a=r+i+"["+t+"]";this.selectedUsers?0===this.selectedUsers.filter(this.filterCondition(a)).length&&this.selectedUsers.push(a):(this.selectedUsers=[],this.selectedUsers.push(a))}.bind(this))},packageSelectedDepartmentOrWorkgroupConditionsWithOutBranch:function(e,t){var n=this,r=t+" operator.text.eq ";e.forEach(function(e){(0,o.default)(this,n);var t=r+e.name+"["+e.code+"]";this.selectedUsers?0===this.selectedUsers.filter(this.filterCondition(t)).length&&this.selectedUsers.push(t):(this.selectedUsers=[],this.selectedUsers.push(t))}.bind(this))},addPointWorkgroups:function(e){e&&(e.containBranch?this.packageSelectedDepartmentOrWorkgroupConditionsWithBranch(e.workgroups,"${workGroup}"):this.packageSelectedDepartmentOrWorkgroupConditionsWithOutBranch(e.workgroups,"${workGroup}"),this.getSelectedUsersShowValue());this.showSelectWorkgroup=!1},addPointRoles:function(e){e&&(this.packageSelectedDepartmentOrWorkgroupConditionsWithOutBranch(e.roles,"${role}"),this.getSelectedUsersShowValue()),this.showSelectRole=!1},packageSelectedFieldConditions:function(e,t){var n=t+" operator.text.eq "+"${field["+e+"]}";this.selectedUsers?0===this.selectedUsers.filter(this.filterCondition(n)).length&&this.selectedUsers.push(n):(this.selectedUsers=[],this.selectedUsers.push(n))},setField:function(e){void 0!==e&&(this.packageSelectedFieldConditions(e,"${user}"),this.getSelectedUsersShowValue()),this.showSelectField=!1}}};t.default=l},function(e,t,n){"use strict";n.r(t);var r=n(178),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={name:"SystemRoleTree",components:{InlineSystemRoleTree:r(n(467)).default},props:{multiple:{type:Boolean,default:!1}},computed:{},watch:{},created:function(){},methods:{roleResult:function(e){e?this.$emit("close",e):this.$emit("close")},selectRoles:function(){this.$refs.systemRoleTree.selectRole()}}};t.default=o},function(e,t,n){"use strict";n.r(t);var r=n(180),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=r(n(280)),s=r(n(73)),a=n(50);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={name:"TransactorSettings",components:{CommonUserCondition:i.default,FormFields:s.default},props:{model:{type:Object,default:null},usedIn:{type:String,default:"HumanTask"},isSubprocess:{type:Boolean,default:!1}},data:function(){var e={selectedField:""};return this.initFormModel(e),{showFormFields:!1,formModel:e}},mounted:function(){this.$watch("formModel",(function(){this.setTransactor(this.formModel.transactor);var e=c({},this.formModel.additionalCondition);e.selectOneFromMultiple?"customType"===e.selectType&&delete e.selectUrl:(delete e.selectType,delete e.selectUrl),this.model.additionalCondition=e}),{deep:!0})},methods:{formatLabel:function(e){return(0,a.getFormFieldLabel)(e)},initFormModel:function(e){e.userCondition="";var t=this.model.userCondition;void 0===t||""===t||null===t?(e.transactor="${instanceCreator}",this.model.userCondition="${instanceCreator}"):"${instanceCreator}"===t||"${previousTransactorAssignment}"===t?e.transactor=t:t.indexOf("${field[")>=0?(e.transactor="byField",e.selectedField=t):(e.transactor="byCondition",e.userCondition=t),this.initAdditionalCondition(e),void 0!==this.model.url?e.url=this.model.url:e.url=""},initAdditionalCondition:function(e){void 0===this.model.additionalCondition?e.additionalCondition={onlyInCreatorDepartment:!1,withCreatorDepartment:!1,selectOneFromMultiple:!1,selectType:"customType",selectUrl:""}:(e.additionalCondition=c({},this.model.additionalCondition),void 0===e.additionalCondition.selectType&&(e.additionalCondition.selectType="customType"))},changeA:function(e){this.setTransactor(e)},handleUrlChange:function(e){this.model.url=e},setTransactor:function(e){"${instanceCreator}"!==e&&"${previousTransactorAssignment}"!==e||(this.model.userCondition=e),"byField"===e&&(this.model.userCondition=this.formModel.selectedField),"byCondition"===e&&(this.model.userCondition=this.formModel.userCondition),this.model.url="${previousTransactorAssignment}"===e?this.formModel.url:"",this.model.additionalCondition="byCondition"===e?c({},this.formModel.additionalCondition):void 0},handleFieldSelection:function(e){},setField:function(e){void 0!==e&&(this.formModel.selectedField="${field["+e+"]}",this.model.userCondition=this.formModel.selectedField),this.showFormFields=!1}}};t.default=u},function(e,t,n){"use strict";n.r(t);var r=n(182),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(6),n(7),n(8),n(4);var r=n(2);n(4),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(30),n(20),n(3),n(1),n(1),n(5),n(3),n(20);var o=r(n(9)),i=r(n(14)),s=n(701),a=r(n(73)),l=n(50);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={name:"AutoFilledFields",components:{FormFields:a.default},props:{value:{type:Object,default:function(){return(0,i.default)(this,void 0),{}}.bind(void 0)}},data:function(){var e=this,t=[];if(void 0!==this.value.field&&null!==this.value.field)if(Array.isArray(this.value.field))this.value.field.map(function(n){(0,i.default)(this,e);var r=u({},n);"string"==typeof n.value&&-1!==n.value.indexOf("+")?r.value=n.value.split("+"):(r.value=[],r.value.push(n.value)),t.push(r)}.bind(this));else{var n=u({},this.value.field);"string"==typeof this.value.field.value&&-1!==this.value.field.value.indexOf("+")?n.value=this.value.field.value.split("+"):(n.value=[],n.value.push(this.value.field.value)),t.push(n)}return{tableData:t,currentRow:null,standardValues:s.standardValues,showFormFields:!1}},computed:{keys:function(){return Object.keys(this.standardValues)}},watch:{},mounted:function(){this.tableData&&this.tableData.length>0&&this.setCurrentRow(this.tableData[0]),this.$watch("tableData",(function(){var e=this,t=[];this.tableData.map(function(n){if((0,i.default)(this,e),""!==n.name&&n.value.length>0){var r=u({},n);r.value=n.value.join("+"),t.push(r)}}.bind(this)),this.$emit("input",{field:t})}),{deep:!0})},created:function(){},methods:{add:function(){for(var e=0;e<this.tableData.length;e++)if(""===this.tableData[e].name||""===this.tableData[e].value)return void this.$alert(this.$t("workflowEditorMessage.theFieldNameOrFieldValueInLineCannotBeEmpty",{row:e+1}));var t={name:"",value:[],separator:"",fillType:"cover",fillTime:"after"};this.tableData.push(t),this.setCurrentRow(t)},remove:function(){if(null!==this.currentRow){for(var e,t=0;t<this.tableData.length;t++)if(this.tableData[t].name===this.currentRow.name){e=t;break}this.tableData.splice(e,1),e=e<=this.tableData.length-1?e:this.tableData.length-1,this.setCurrentRow(this.tableData[e])}else this.$alert(this.$t("workflowEditorMessage.pleaseSelectARow"))},setCurrentRow:function(e){this.$refs.table.setCurrentRow(e)},handleCurrentChange:function(e){this.currentRow=e},checkName:function(e){this.showFormFields||""!==e||this.$alert(this.$t("workflowEditorMessage.fieldNameCannotBeEmpty"))},checkValue:function(e){0===e.length&&this.$alert(this.$t("workflowEditorMessage.fieldValueCannotBeEmpty"))},setField:function(e){void 0!==e&&(this.currentRow.name=e),this.showFormFields=!1},getFieldLabel:function(e){return(0,l.getFormFieldLabel)(e)}}};t.default=d},function(e,t,n){"use strict";n.r(t);var r=n(184),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(90),n(90);var o=r(n(493)),i=r(n(280)),s=r(n(89)),a=r(n(15)),l={name:"Reminder",components:{CommonNoticeTool:o.default,CommonUserCondition:i.default,SelectMailTemplates:s.default},props:{value:{type:[Object,String],default:null}},data:function(){var e=!1,t=!1,n={dueDate:1,dueTimeUnit:"day",repeat:1,containTransferUser:!1,containNoticeUser:!1,remindType:"mail",timeUnit:"day",remindTimes:0,noticeType:"",noticeUserCondition:"",transferUserCondition:""};return null!==this.value&&void 0!==this.value&&""!==this.value&&(n=this.value,e=!0,this.value.remindTimes>0&&(t=!0),n.dueTimeUnit||(n.dueTimeUnit="day")),{showReminder:e,showNotice:t,model:n,showMailTemplateFlag:!1,baseURL:"",optionUrl:"",multiSelectData:[],options:{showColumns:"code,name"}}},watch:{showReminder:function(e){e?this.$emit("input",this.model):this.$emit("input",null)},showNotice:function(e){e?this.$emit("input",this.model):this.$emit("input",{remindType:this.model.remindType,dueDate:this.model.dueDate,dueTimeUnit:this.model.dueTimeUnit,repeat:this.model.repeat,timeUnit:this.model.timeUnit,remindTimes:0,noticeType:"",noticeUserCondition:"",containTransferUser:!1,transferUserCondition:"",containNoticeUser:!1})}},created:function(){this.baseURL=a.default.prototype.baseURL,this.optionUrl="/bs/email-templates/list/0",this.$watch("model",(function(e,t){var n=null;this.showReminder&&((n=this.model).dueTimeUnit||(n.dueTimeUnit="day")),console.log(n),this.$emit("input",n)}),{deep:!0})},methods:{setMailTemplateCode:function(e){this.model.noticeMailTemplateCode=e},selectData:function(e,t){this.multiSelectData=e}}};t.default=l},function(e,t,n){"use strict";n.r(t);var r=n(186),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(20),n(20);var r={name:"CommonNoticeTool",props:{label:{type:String,default:null},value:{type:String,default:null}},data:function(){var e=[];return this.value&&""!==this.value&&null!==this.value&&(e=this.value.split(",")),{tools:e}},watch:{tools:function(e){this.$emit("input",this.tools.join(","))}}};t.default=r},function(e,t,n){"use strict";n.r(t);var r=n(188),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1);var o=r(n(14));n(7),n(1);var i={name:"Variables",props:{value:{type:Object,default:null}},data:function(){var e=[];return void 0!==this.value.variable&&(Array.isArray(this.value.variable)?e=this.value.variable:e.push(this.value.variable)),{variables:e,currentRow:null}},watch:{},mounted:function(){this.variables.length>0&&this.setCurrentRow(this.variables[0]),this.$watch("variables",(function(){var e=this,t=this.variables.filter(function(t){return(0,o.default)(this,e),""!==t.name&&""!==t.value}.bind(this));this.$emit("input",{variable:t})}),{deep:!0})},methods:{add:function(){for(var e=0;e<this.variables.length;e++)if(""===this.variables[e].name||""===this.variables[e].value)return void this.$alert(this.$t("workflowEditorMessage.variableNameOrValueOnLineCannotBeEmpty",{row:e+1}));var t={name:"",value:""};this.variables.push(t),this.setCurrentRow(t)},remove:function(){if(null!==this.currentRow){for(var e,t=0;t<this.variables.length;t++)if(this.variables[t].name===this.currentRow.name){e=t;break}this.variables.splice(e,1),e=e<=this.variables.length-1?e:this.variables.length-1,this.setCurrentRow(this.variables[e])}else this.$alert(this.$t("workflowEditorMessage.pleaseSelectARow"))},setCurrentRow:function(e){this.$refs.table.setCurrentRow(e)},handleCurrentChange:function(e){this.currentRow=e},checkName:function(e){""===e&&this.$alert(this.$t("workflowEditorMessage.variableNameCannotBeEmpty"))},checkValue:function(e){""===e&&this.$alert(this.$t("workflowEditorMessage.variableValueCannotBeEmpty"))}}};t.default=i},function(e,t,n){"use strict";n.r(t);var r=n(190),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9));function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var a={name:"Events",props:{value:{type:Object,default:null}},data:function(){var e={beforeSubmitEnabled:!1,beforeSubmit:{}};return this.value.beforeSubmit&&(e.beforeSubmitEnabled=!0,e.beforeSubmit=s({},this.value.beforeSubmit)),e.afterComplete=this.value.afterComplete,{formModel:e}},mounted:function(){this.$watch("formModel",(function(e,t){var n={};this.formModel.beforeSubmitEnabled&&(n.beforeSubmit=s({},this.formModel.beforeSubmit)),n.afterComplete=this.formModel.afterComplete,this.$emit("input",n)}),{deep:!0})}};t.default=a},function(e,t,n){"use strict";n.r(t);var r=n(192),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(283)),i=r(n(727)),s=r(n(728)),a=r(n(491)),l=r(n(729)),c=r(n(731)),u=r(n(496)),d=r(n(732)),f={name:"ProcessPropertiesEditor",components:{BasicProperties:i.default,PermissionSettings:s.default,Reminder:a.default,ParameterSettings:l.default,Events:c.default,Variables:u.default,NoticeSettings:d.default},props:{model:{type:Object,default:null}},data:function(){return{activeTab:"basicProperties"}},computed:{basicProperties:function(){return this.model.properties.basicProperties},accessRight:function(){return this.model.properties.accessRight},reminder:function(){return this.model.properties.reminder},parameterSettings:function(){return this.model.properties.parameterSettings},events:function(){return this.model.properties.events},variables:function(){return this.model.properties.variables}},methods:{toXml:function(){console.log(o.default.js2xml({basicProperties:this.basicProperties},{compact:!0,ignoreComment:!0,spaces:4}))},handleClick:function(e,t){}}};t.default=f},function(e,t,n){"use strict";n.r(t);var r=n(194),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(14)),i=r(n(9));n(1),n(1),n(7);var s=n(13),a=r(n(291)),l=n(12),c=r(n(62)),u=n(791);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p={name:"BasicProperties",components:{i18nInput:c.default},props:{model:{type:Object,default:null},name:{type:String,default:null},code:{type:String,default:null}},data:function(){return{formModel:{name:this.name,code:this.code,model:this.model},allForms:[],allProcessTypes:[],allSystems:[],allBranches:[],nameError:null,codeError:null,systemError:null,adminError:null,formError:null,requiredRule:{required:!0,message:(0,l.getI18n)().t("workflowEditor.process.cannotBeEmpty"),trigger:"blur"},isSelectAdmin:!1,selectedForm:[]}},created:function(){this.getAdminNameWhenUpdate(),this.listAllForms(),this.listAllProcessTypes(),this.listAllSystems(),this.listAllBranches(),this.model.creator||(this.model.creator=(0,u.getUsername)()),this.setProcessCode(this.formModel.code),this.setSystemCode(this.model.systemCode)},mounted:function(){this.$watch("formModel.name",(function(e,t){this.$emit("update:name",e)})),this.$watch("formModel.code",(function(e,t){this.$emit("update:code",e),this.setProcessCode(e)})),this.$watch("model.systemCode",(function(e,t){this.setSystemCode(e)}))},methods:f(f({},(0,s.mapMutations)("wfEditor",["setFormFields","setSystemCode","setProcessCode"])),{},{handleChange:function(e){console.log(e);var t=e[1];this.model.formCode=t.substring(t.indexOf("/")+1,t.lastIndexOf("/")),this.model.formVersion=t.substring(t.lastIndexOf("/")+1),a.default.fetchFormFields(this.model.formCode,this.model.formVersion)},selectAdmin:function(){this.isSelectAdmin=!0},addAdmin:function(e){if(e){e.containBranch=!0;var t=e.loginName,n=e.user;e.containBranch&&(t=n.subCompanyCode?e.loginName+"~~"+n.subCompanyCode:e.loginName+"~~"+n.tenantCode),this.model.admin=t,console.log(t),this.formModel.adminName=e.name}this.isSelectAdmin=!1},listAllForms:function(){var e=this;this.$http.get(this.baseAPI+"/wf-editor/workflow-editors/forms").then(function(t){(0,o.default)(this,e);var n=this.model.formCode+"/"+this.model.formVersion;this.setDefaultSelectedFormWhenUpdate(t,n),this.allForms=t}.bind(this))},setDefaultSelectedFormWhenUpdate:function(e,t){for(var n,r,o=0;o<e.length;o++){var i=e[o].value,s=e[o].children.filter(this.filterForm(t));if(s.length>0){r=i,n=s[0];break}}if(n){var a=[];a.push(r+""),a.push(r+"/"+t),this.selectedForm=a}},filterForm:function(e){var t=this;return function(n){(0,o.default)(this,t);var r=n.value;return r.substring(r.indexOf("/")+1)===e}.bind(this)},listAllProcessTypes:function(){var e=this;this.$http.get(this.baseAPI+"/api/workflow-types/all").then(function(t){(0,o.default)(this,e),this.allProcessTypes=t}.bind(this))},listAllSystems:function(){var e=this;this.$http.get(this.baseAPI+"/api/all-enabled-systems").then(function(t){(0,o.default)(this,e),console.log(t),this.allSystems=t}.bind(this))},listAllBranches:function(){var e=this;this.$http.get(this.baseAPI+"/api/branches/all").then(function(t){(0,o.default)(this,e),this.allBranches=t}.bind(this))},getAdminNameWhenUpdate:function(){var e=this;this.model.admin&&""!==this.model.admin&&this.$http.get(this.baseAPI+"/wf-editor/workflow-editors/admin-name-info?loginNameInfo="+this.model.admin).then(function(t){(0,o.default)(this,e),console.log(t),this.formModel.adminName=t}.bind(this))},setI18nValue:function(e){this.model.i18nKey=e}})};t.default=p},function(e,t,n){"use strict";n.r(t);var r=n(196),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={name:"PermissionSettings",components:{UserSelection:r(n(281)).default},props:{model:{type:Object,default:null}},data:function(){return{showNotice:!1}}};t.default=o},function(e,t,n){"use strict";n.r(t);var r=n(198),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=r(n(730)),s=n(13);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var l={name:"ParameterSettings",components:{selectPage:i.default},props:{model:{type:Object,default:null}},data:function(){return{selectPageFlag:!1,pageFormCode:null}},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},(0,s.mapGetters)("wfEditor",["formCode"])),methods:{openSelectPage:function(){this.formCode&&(this.pageFormCode=this.formCode),this.selectPageFlag=!0},setPage:function(e){this.$set(this.model.doTask,"url",e),this.selectPageFlag=!1}}};t.default=l},function(e,t,n){"use strict";n.r(t);var r=n(200),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(15)),i={props:{pageFormCode:{type:String,default:null}},data:function(){return{baseURL:"",listURL:"",selection:[]}},watch:{conditionList:{handler:function(e,t){this.judgeHeavyData=e}}},created:function(){this.baseURL=o.default.prototype.baseURL,this.pageFormCode&&(this.listURL="/wf-editor/workflow-editors/modulePages/"+this.pageFormCode)},methods:{savePage:function(){if(this.selection&&this.selection.length>0)if(1!==this.selection.length)this.$message({showClose:!0,type:"error",message:this.$t("message.pleaseSelectARecord")});else{var e="page:"+this.selection[0].code;this.$emit("setPage",e)}else this.$emit("setPage","")},select:function(e,t){this.selection=e}}};t.default=i},function(e,t,n){"use strict";n.r(t);var r=n(202),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(20),n(20),n(30);var r=n(12),o={name:"Events",props:{value:{type:Object,default:null}},data:function(){var e=[],t=this.value.event;if(void 0!==t&&t.length&&t.length>0){("string"==typeof t?t.split(","):this.value.event).map((function(t){e.push(t)}))}return{events:[{name:"START_INSTANCE",label:(0,r.getI18n)().t("workflowEditor.process.initiationProcess")},{name:"DELETE_INSTANCE",label:(0,r.getI18n)().t("workflowEditor.process.deleteProcess")},{name:"CANCEL_INSTANCE",label:(0,r.getI18n)().t("workflowEditor.process.cancelProcess")},{name:"END_INSTANCE",label:(0,r.getI18n)().t("workflowEditor.process.endProcess")},{name:"STOP_INSTANCE",label:(0,r.getI18n)().t("workflowEditor.process.pauseProcess")},{name:"RESUME_INSTANCE",label:(0,r.getI18n)().t("workflowEditor.process.continueTheProcess")},{name:"JUMP_TACHE",label:(0,r.getI18n)().t("workflowEditor.process.jumpLink")},{name:"CHANGE_TRANSACTOR",label:(0,r.getI18n)().t("workflowEditor.process.modificationHandler")},{name:"ADD_TRANSACTOR",label:(0,r.getI18n)().t("workflowEditor.process.addHandler")},{name:"REMOVE_TRANSACTOR",label:(0,r.getI18n)().t("workflowEditor.process.decreaseOofHandler")},{name:"ASSIGN_TASK",label:(0,r.getI18n)().t("workflowEditor.process.appointedTask")},{name:"RETURN_TASK",label:(0,r.getI18n)().t("workflowEditor.process.returnTask")},{name:"WITHDRAW_TASK",label:(0,r.getI18n)().t("workflowEditor.process.retrieveTask")},{name:"TRUST_TASK",label:(0,r.getI18n)().t("workflowEditor.process.trustTask")}],selectedEvents:e}},watch:{selectedEvents:function(e){this.$emit("input",{event:this.selectedEvents})}},methods:{}};t.default=o},function(e,t,n){"use strict";n.r(t);var r=n(204),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(514)),i=r(n(89)),s={name:"NoticeSettings",components:{Notice:o.default,SelectMailTemplates:i.default},props:{value:{type:[Object,String],default:null}},data:function(){var e={informType:"",userCondition:"",subject:null,content:null,defaultMailTemplateCode:""};return null!==this.value&&void 0!==this.value&&""!==this.value&&(e=this.value),{showMailTemplateFlag:!1,model:e}},created:function(){this.$watch("model",(function(e,t){this.getValue()}),{deep:!0})},methods:{getValue:function(){var e=this.model;this.$emit("input",e)},setMailTemplateCode:function(e){this.model.defaultMailTemplateCode=e}}};t.default=s},function(e,t,n){"use strict";n.r(t);var r=n(206),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(281)),i=r(n(493)),s=r(n(89)),a={name:"Notice",components:{UserSelection:o.default,CommonNoticeTool:i.default,SelectMailTemplates:s.default},props:{value:{type:[Object,String],default:null},switchLabel:{type:String,default:""}},data:function(){var e=!1,t={informType:"",userCondition:"",subject:null,content:null};return null!==this.value&&void 0!==this.value&&""!==this.value&&(t=this.value).informType&&""!==t.informType&&(e=!0),{showNotice:e,model:t,options:{showColumns:"code,name"}}},watch:{showNotice:function(e){this.getValue()}},created:function(){this.$watch("model",(function(e,t){this.getValue()}),{deep:!0})},methods:{getValue:function(){var e=this.model;this.$emit("input",e)},setMailTemplateCode:function(e){this.model.noticeMailTemplateCode=e}}};t.default=a},function(e,t,n){"use strict";n.r(t);var r=n(208),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(14));n(30),n(1);var i=n(12),s={name:"DecisionPropertiesEditor",components:{i18nInput:r(n(62)).default},props:{model:{type:Object,default:null}},computed:{formModel:function(){return this.model.ref},transitions:function(){var e=this,t=(0,i.findOutgoingTransitionsByTacheId)(this.formModel.attr.id),n=[];return t.map(function(t){(0,o.default)(this,e),n.push({to:t.ref.attr.to,condition:t.ref.basicProperties.condition})}.bind(this)),n}},mounted:function(){this.$watch("model.ref.attr.name",(function(e){this.model.name=e}))},methods:{setI18nValue:function(e){this.formModel&&(this.formModel.basicProperties={},this.formModel.basicProperties.i18nKey=e)}}};t.default=s},function(e,t,n){"use strict";n.r(t);var r=n(210),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(514)),i=r(n(489)),s=r(n(735)),a={name:"TransitionPropertiesEditor",components:{Notice:o.default,AutoFilledFields:i.default,BasicProperties:s.default},props:{model:{type:Object,default:null}},data:function(){return{activeTab:"basicProperties"}},mounted:function(){this.$watch("model.ref.basicProperties.remark",(function(e){this.model.remark=e}))}};t.default=a},function(e,t,n){"use strict";n.r(t);var r=n(212),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(61)),i=r(n(62)),s={name:"BasicProperties",components:{AdditionalCondition:o.default,i18nInput:i.default},props:{model:{type:Object,default:null},sourceTacheType:{type:String,default:null},id:{type:String,default:null}},created:function(){},methods:{setI18nValue:function(e){this.model.i18nKey=e}}};t.default=s},function(e,t,n){"use strict";n.r(t);var r=n(214),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1);var o=r(n(14));n(30),n(1);var i=n(12),s={name:"ForkPropertiesEditor",props:{model:{type:Object,default:null}},computed:{formModel:function(){return this.model.ref},transitions:function(){var e=this,t=(0,i.findOutgoingTransitionsByTacheId)(this.formModel.attr.id),n=[];return t.map(function(t){(0,o.default)(this,e),n.push({to:t.endJoint.parent.name})}.bind(this)),n}},mounted:function(){this.$watch("model.ref.attr.name",(function(e){this.model.name=e}))}};t.default=s},function(e,t,n){"use strict";n.r(t);var r=n(216),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1);var r={name:"ForkPropertiesEditor",props:{model:{type:Object,default:null}},computed:{formModel:function(){return this.model.ref}},mounted:function(){this.$watch("model.ref.attr.name",(function(e){this.model.name=e}))}};t.default=r},function(e,t,n){"use strict";n.r(t);var r=n(218),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1);var r={name:"HumanDecisionPropertiesEditor",props:{model:{type:Object,default:null}},computed:{formModel:function(){return this.model.ref}},mounted:function(){this.$watch("model.ref.attr.name",(function(e){this.model.name=e}))}};t.default=r},function(e,t,n){"use strict";n.r(t);var r=n(220),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1);var o=r(n(742)),i=r(n(745)),s=r(n(282)),a={name:"HumanTaskPropertiesEditor",components:{BasicProperties:o.default,TransactorSettings:s.default,PermissionSettings:i.default},props:{model:{type:Object,default:null}},data:function(){return console.log(this.model),{activeTab:"basicProperties"}},computed:{formModel:function(){return this.model.ref}},mounted:function(){this.$watch("model.ref.attr.id",(function(e,t){this.model.id=e})),this.$watch("model.ref.attr.name",(function(e,t){this.model.name=e}))},methods:{handleClick:function(e,t){}}};t.default=a},function(e,t,n){"use strict";n.r(t);var r=n(222),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1),n(1);var o=r(n(455)),i=n(12),s=r(n(62)),a={name:"BasicProperties",components:{TaskTitle:o.default,i18nInput:s.default},props:{model:{type:Object,default:null},id:{type:String,default:null},name:{type:String,default:null}},data:function(){return{formModel:{name:this.name,id:this.id,tache:this.model}}},computed:{tache:function(){return this.model}},mounted:function(){this.$watch("formModel.name",(function(e,t){this.$emit("update:name",e)}))},methods:{validateId:function(){(0,i.validateTacheCode)(this)},setI18nValue:function(e){this.tache.i18nKey=e}}};t.default=a},function(e,t,n){"use strict";n.r(t);var r=n(224),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(30),n(1);var o=r(n(14)),i=r(n(61)),s=n(12),a={name:"PermissionSettings",components:{AdditionalCondition:i.default},props:{value:{type:Object,default:null}},data:function(){var e=this,t=(0,s.deepCopy)(this.value),n=["viewOpinion","viewMeetingResult","viewVoteResult","viewFlowHistory","printForm"];n.forEach(function(n){(0,o.default)(this,e),t[n+"Checkbox"]=!!this.value[n].condition}.bind(this));var r=["download"];return r.forEach(function(n){(0,o.default)(this,e),t.attachment[name+"Checkbox"]=!!this.value.attachment[name]&&!!this.value.attachment[name].condition,t.attachment.permission||(t.attachment[name]={permission:!1,condition:""})}.bind(this)),{formModel:t,attrNames:n,attachmentAttrNames:r}},mounted:function(){this.$watch("formModel",(function(e){var t=this,n={viewOpinion:{},viewMeetingResult:{},viewVoteResult:{},viewFlowHistory:{},printForm:{},officialText:{},attachment:{}};this.attrNames.map(function(r){(0,o.default)(this,t),n[r].permission=e[r].permission,e[r].permission&&e[r+"Checkbox"]?n[r].condition=e[r].condition:n[r].condition=""}.bind(this)),n.attachment.permission=e.attachment.permission,e.attachment.permission&&this.attachmentAttrNames.map(function(r){(0,o.default)(this,t),n.attachment[r]||(n.attachment[r]={}),n.attachment[r].permission=e.attachment[r].permission,e.attachment[r].permission&&e.attachment[r+"Checkbox"]?n.attachment[r].condition=e.attachment[r].condition:n.attachment[r].condition=""}.bind(this)),this.$emit("input",n)}),{deep:!0})},methods:{}};t.default=a},function(e,t,n){"use strict";n.r(t);var r=n(226),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1);var o=r(n(751)),i=r(n(753)),s=r(n(754)),a={name:"SubprocessPropertiesEditor",components:{BasicProperties:o.default,SubprocessTransactorSettings:s.default,Events:i.default},props:{model:{type:Object,default:null}},data:function(){return{activeTab:"basicProperties"}},computed:{formModel:function(){return this.model.ref}},mounted:function(){this.$watch("model.ref.attr.id",(function(e,t){this.model.id=e})),this.$watch("model.ref.attr.name",(function(e,t){this.model.name=e}))},methods:{handleClick:function(e,t){}}};t.default=a},function(e,t,n){"use strict";n.r(t);var r=n(228),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(14));n(1),n(1),n(23),n(384),n(7);var i=r(n(752)),s=r(n(291)),a=n(12),l=r(n(62)),c={name:"BasicProperties",components:{FieldMappings:i.default,i18nInput:l.default},props:{model:{type:Object,default:null},id:{type:String,default:null},name:{type:String,default:null}},data:function(){return{selectedProcess:[],processes:[],subprocessFormFields:[],formModel:{name:this.name,id:this.id,tache:this.model}}},computed:{},created:function(){var e=this;this.listAllProcesses().then(function(){(0,o.default)(this,e),this.fetchSubprocessFormFields()}.bind(this)),""===this.formModel.tache.parameters&&(this.formModel.tache.parameters={}),""===this.formModel.tache.result&&(this.formModel.tache.result={})},mounted:function(){},methods:{fetchSubprocessFormFields:function(){var e=this;this.model.processCode&&s.default.fetchSubprocessFormFields(this.model.processCode,this.model.processVersion).then(function(t){(0,o.default)(this,e),this.subprocessFormFields=t}.bind(this))},handleChange:function(e){console.log("handleChange=",e);var t=e[1];this.model.processCode=t.substring(t.indexOf("/")+1,t.lastIndexOf("/")),this.model.processVersion=t.substring(t.lastIndexOf("/")+1),this.fetchSubprocessFormFields()},listAllProcesses:function(){var e=this;return new Promise(function(t,n){var r=this;(0,o.default)(this,e),this.$http.get(this.baseAPI+"/wf-editor/workflow-editors/all-active-definitions").then(function(e){if((0,o.default)(this,r),e.length>0){var n=this.model.processCode+"/"+this.model.processVersion;this.setDefaultSelectedProcessWhenUpdate(e,n),this.processes=e,t()}}.bind(this)).catch(function(e){(0,o.default)(this,r),n(e)}.bind(this))}.bind(this))},setDefaultSelectedProcessWhenUpdate:function(e,t){for(var n,r,o=0;o<e.length;o++){var i=e[o].value,s=e[o].children.filter(this.filterProcess(t));if(s.length>0){r=i,n=s[0];break}}if(n){var a=[];a.push(r),a.push(n.value),this.selectedProcess=a}},filterProcess:function(e){var t=this;return function(n){(0,o.default)(this,t);var r=n.value,i=r.substring(r.indexOf("/")+1);return e===i}.bind(this)},validateId:function(){(0,a.validateTacheCode)(this)},setI18nValue:function(e){this.formModel.tache.i18nKey=e}}};t.default=c},function(e,t,n){"use strict";n.r(t);var r=n(230),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1);var o=r(n(14));n(7),n(1);var i=r(n(73)),s=n(50),a={name:"FieldMappings",components:{FormFields:i.default},props:{value:{type:Object,default:null},srcLabel:{type:String,default:null},targetLabel:{type:String,default:null},srcFields:{type:Array,default:null},targetFields:{type:Array,default:null}},data:function(){var e=[];return void 0!==this.value.field&&(Array.isArray(this.value.field)?e=this.value.field:e.push(this.value.field)),{tableData:e,currentRow:null,showSourceFields:!1,showTargetFields:!1}},computed:{formFields:function(){return this.showSourceFields?this.srcFields:this.showTargetFields?this.targetFields:[]}},watch:{},mounted:function(){this.tableData.length>0&&this.setCurrentRow(this.tableData[0]),this.$watch("tableData",(function(){var e=this,t=this.tableData.filter(function(t){return(0,o.default)(this,e),""!==t.source&&""!==t.target}.bind(this));this.$emit("input",{field:t})}),{deep:!0})},methods:{getSubFormFieldLabel:function(e){var t=this,n=(this.srcFields||this.targetFields).filter(function(n){return(0,o.default)(this,t),n.name===e}.bind(this));return n.length>0?n[0].label:e},showSourceFieldLabel:function(e){return this.srcFields?this.getSubFormFieldLabel(e):(0,s.getFormFieldLabel)(e)},showTargetFieldLabel:function(e){return this.targetFields?this.getSubFormFieldLabel(e):(0,s.getFormFieldLabel)(e)},add:function(){for(var e=0;e<this.tableData.length;e++)if(""===this.tableData[e].source||""===this.tableData[e].target)return void this.$alert(this.$t("workflowEditorMessage.dataInLineCannotBeEmpty",{row:e+1,data1:this.srcLabel,data2:this.targetLabel}));var t={source:"",target:""};this.tableData.push(t),this.setCurrentRow(t)},remove:function(){if(null!==this.currentRow){for(var e,t=0;t<this.tableData.length;t++)if(this.tableData[t].source===this.currentRow.source){e=t;break}this.tableData.splice(e,1),e=e<=this.tableData.length-1?e:this.tableData.length-1,this.setCurrentRow(this.tableData[e])}else this.$alert(this.$t("workflowEditorMessage.pleaseSelectARow"))},setCurrentRow:function(e){this.$refs.table.setCurrentRow(e)},handleCurrentChange:function(e){this.currentRow=e},checkSource:function(e){""===e&&this.$alert(this.$t("workflowEditorMessage.dataCannotBeEmpty",{data:this.srcLabel}))},checkTarget:function(e){""===e&&this.$alert(this.$t("workflowEditorMessage.dataCannotBeEmpty",{data:this.targetLabel}))},selectField:function(e){this.showSourceFields&&(this.$set(this.currentRow,"source",e),this.showSourceFields=!1),this.showTargetFields&&(this.$set(this.currentRow,"target",e),this.showTargetFields=!1),console.log("this.tableData===",this.tableData,"this.srcFields===",this.srcFields,"this.targetFields===",this.targetFields)}}};t.default=a},function(e,t,n){"use strict";n.r(t);var r=n(232),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={name:"Events",props:{model:{type:Object,default:null}}};t.default=r},function(e,t,n){"use strict";n.r(t);var r=n(234),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(282)),i=n(12),s={name:"SubprocessTransactorSettings",components:{TransactorSettings:o.default},props:{value:{type:Object,default:null}},data:function(){var e=!1;this.value.userCondition&&(e=!0);var t=(0,i.deepCopy)(this.value);return t.userCondition||(t={userCondition:"${instanceCreator}",additionalCondition:{onlyInCreatorDepartment:!1,withCreatorDepartment:!1,selectOneFromMultiple:!1}}),{model:{showTransactorSettings:e,transactorSettings:t}}},mounted:function(){this.$watch("model",(function(e){e.showTransactorSettings?this.$emit("input",e.transactorSettings):this.$emit("input",{})}),{deep:!0})}};t.default=s},function(e,t,n){"use strict";n.r(t);var r=n(236),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={name:"TacheHistoryTooltip",props:{content:{type:String,default:""}},methods:{}};t.default=r},function(e,t,n){"use strict";n.r(t);var r=n(238),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=n(13);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l={name:"ContextMenu",components:{IconSvg:r(n(277)).default},data:function(){return{menusForTransition:[{name:"switch-line-type-StraightLine",label:this.$t("workflowEditor.main.straightLine"),icon:"switch"},{name:"switch-line-type-CurveLine",label:this.$t("workflowEditor.main.curveLine"),icon:"switch"},{name:"switch-line-type-BrokenLine",label:this.$t("workflowEditor.main.brokenLine"),icon:"switch"},{name:"remove",label:this.$t("workflowEditor.common.remove"),icon:"delete"},{name:"properties",label:this.$t("workflowEditor.common.attribute"),icon:"properties"}],menusForTache:[{name:"remove",label:this.$t("workflowEditor.common.remove"),icon:"delete"},{name:"properties",label:this.$t("workflowEditor.common.attribute"),icon:"properties"}],menusForProcess:[{name:"properties",label:this.$t("workflowEditor.common.attribute"),icon:"properties"}]}},computed:a(a({},(0,i.mapGetters)("wfEditor",["taches","transitions","selectedTransition","selectedTaches"])),{},{menuType:function(){var e="";return this.selectedTransition?e="Transition":1===this.selectedTaches.length&&(e="Tache"),null===this.selectedTransition&&0===this.selectedTaches.length&&(e="Process"),e},menus:function(){return this.menuType?this["menusFor"+this.menuType]:[]}}),methods:a(a({},(0,i.mapMutations)("wfEditor",["setPropertiesEditorFor","setContextMenuVisible"])),{},{switchLineType:function(e){this.selectedTransition.lineInfo.controlPoint=null,this.selectedTransition.lineInfo.type=e},execute:function(e){if(console.log("menu:"+e),e.indexOf("switch-line-type-")>=0){var t=e.substring(e.lastIndexOf("-")+1);this.switchLineType(t)}"remove"===e&&("Tache"===this.menuType?this.taches.splice(this.taches.indexOf(this.selectedTaches[0]),1):"Transition"===this.menuType&&this.transitions.splice(this.transitions.indexOf(this.selectedTransition),1));"properties"===e&&("Tache"===this.menuType?this.setPropertiesEditorFor(["Start","End"].indexOf(this.selectedTaches[0].type)>=0?"":this.selectedTaches[0].type):"Transition"===this.menuType?this.setPropertiesEditorFor("Transition"):this.setPropertiesEditorFor("Process")),this.setContextMenuVisible(!1)}})};t.default=l},function(e,t,n){"use strict";n.r(t);var r=n(240),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={name:"AdminSaveDialog",data:function(){return{}},methods:{updateWfVersion:function(){this.$emit("update")},addWfVersion:function(){this.$emit("add")}}}},function(e,t,n){"use strict";n.r(t);var r=n(242),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(14)),i=r(n(9));n(55),n(55),n(392);var s=n(13),a=n(12),l=r(n(781)),c=r(n(283)),u=r(n(788));function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p={name:"WorkflowHistory",components:{WfHistoryCanvas:l.default},props:{id:{type:Number,default:null}},data:function(){return{process:null,histories:[],currentTasks:[],allProcessI18n:null}},computed:f(f({},(0,s.mapGetters)("wfEditor",["componentToDraw","taches","transitions","contextMenuVisible"])),(0,s.mapGetters)(["sidebar"])),watch:{},created:function(){this.showHistory()},mounted:function(){},methods:f(f(f({},u.default),(0,s.mapMutations)("wfEditor",["setComponentToDraw","clearCanvas","setContextMenuVisible","setProcessI18n"])),{},{showHistory:function(){var e=this;this.clearCanvas(),this.id?this.$http.get(this.baseAPI+"/wf-editor/i18n-settings/get-bundle-info?workflowId="+this.id).then(function(t){var n=this;(0,o.default)(this,e),this.allProcessI18n=t;var r=this.baseAPI+"/wf-editor/instance-histories/"+this.id;this.$http.get(r).then(function(e){var r;(0,o.default)(this,n),this.initProcessByXml(e.xml),e.histories&&e.histories.length>0&&(r=e.histories[0].bundleCode),!r&&e.currentTasks&&e.currentTasks.length>0&&(r=e.currentTasks[0].bundleCode),r&&this.setProcessI18n(t[r]),this.histories=e.histories,this.currentTasks=e.currentTasks}.bind(this))}.bind(this)):(this.process=a.processTemplate.newProcess(),(0,a.initializeProcessData)(this.process))},showContextMenu:function(e){},initProcessByXml:function(e){var t=c.default.xml2js(e,{nativeType:!0,attributesKey:"attr",compact:!0,ignoreComment:!0,spaces:4});(0,a.removeTextProperty)(t.process),this.process=t.process,(0,a.initializeProcessData)(this.process)}})};t.default=p},function(e,t,n){"use strict";n.r(t);var r=n(244),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4),n(41),n(23),n(18),n(19),n(25),n(5);var r=n(2);n(42),n(6),n(19),n(18),n(43),n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1),n(1);var o=r(n(9)),i=r(n(411)),s=r(n(416)),a=r(n(419)),l=r(n(423)),c=r(n(426)),u=r(n(428)),d=r(n(430)),f=r(n(433)),p=r(n(436)),h=r(n(439)),m=r(n(441)),v=r(n(535)),g=n(13),b=n(12),w=n(782),y=n(33),k=r(n(783));function _(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return x(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw i}}}}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var C={name:"WfHistoryCanvas",components:{Start:i.default,End:s.default,HumanTask:a.default,Decision:l.default,Subprocess:c.default,CustomTask:u.default,Fork:d.default,Join:f.default,HumanDecision:p.default,CopyTask:h.default,Transition:m.default,TacheHistoryTooltip:v.default,TacheSubprocessHistoryDialog:k.default},props:{process:{type:Object,default:null},histories:{type:Array,default:null},currentTasks:{type:Array,default:null},allProcessI18n:{type:Object,default:null}},data:function(){return{showHistory:!1,tooltipPosition:null,tacheHistoryInfo:null,showSubprocessDialog:!1,subWorkflowId:null}},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},(0,g.mapGetters)("wfEditor",["taches","transitions","processI18n"])),mounted:function(){},methods:{getTacheClass:function(e){if(this.getCurrentTache(e))return"current-tache";var t=this.getPassedTache(e);return t&&t.current?"current-tache":t?"passed-tache":""},getPassedTache:function(e){var t,n=null,r=_(this.histories);try{for(r.s();!(t=r.n()).done;){var o=t.value;if("PROCESS_START"===o.historyType&&e.ref.attr.id&&"start"===e.ref.attr.id||"PROCESS_END"===o.historyType&&e.ref.attr.id&&"end"===e.ref.attr.id||e.ref.attr.name&&o.taskName&&o.taskName===e.ref.attr.name){n=o;break}}}catch(e){r.e(e)}finally{r.f()}return n},getPassedTacheHistories:function(e){var t,n=[],r=_(this.histories);try{for(r.s();!(t=r.n()).done;){var o=t.value;("PROCESS_START"===o.historyType&&e.ref.attr.id&&"start"===e.ref.attr.id||"PROCESS_END"===o.historyType&&e.ref.attr.id&&"end"===e.ref.attr.id||e.ref.attr.name&&o.taskName&&o.taskName===e.ref.attr.name)&&n.push(this.i18nOperation(o))}}catch(e){r.e(e)}finally{r.f()}return n},i18nOperation:function(e){var t,n,r=(0,y.getLanguageWithLocale)(),o=e.bundleCode;return o&&""!==o&&this.processI18n&&(t=this.processI18n[o]),t&&t.processName&&(n=t.processName[r]),(0,w.i18nOperation)(e,n,t,r)},getCurrentTache:function(e){var t,n=null,r=_(this.currentTasks);try{for(r.s();!(t=r.n()).done;){var o=t.value;if(o.taskName===e.ref.attr.name){n=o;break}}}catch(e){r.e(e)}finally{r.f()}return n},getTacheHistory:function(e){var t,n=null,r=this.getPassedTacheHistories(e);r&&r.length>0&&(t=r.join("</br>"));var o=this.getCurrentTache(e);return o?(n=this.$t("workflowEditorMessage.currentHandlingPersonnel")+": "+o.transactionResult,t&&(n+="</br>"+t)):n=t,n},forbidSelection:function(){return!1},mousedown:function(e){console.log("mousedown")},mousemove:function(e){},mouseup:function(e){},mouseleave:function(e){},endDrag:function(e){},showTacheHistoryTooltip:function(e,t){this.tacheHistoryInfo=this.getTacheHistory(e),this.showHistory=!0},hideTacheHistoryTooltip:function(){this.showHistory=!1},updateTacheHistoryTooltipPosition:function(e){var t=(0,b.getMousePosition)(e);this.tooltipPosition={left:t.x+5+"px",top:t.y+5+"px"}},showSubprocessHistory:function(e){var t=this.getPassedTache(e);t&&void 0!==t.hasChildren&&!0===t.hasChildren&&(t.children&&t.children.length>0&&(this.subWorkflowId=t.children[0].workflowId),this.showSubprocessDialog=!0)},closeSubprocessHistory:function(){this.showSubprocessDialog=!1}}};t.default=C},function(e,t,n){"use strict";n.r(t);var r=n(246),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(55),n(55);var r={name:"TacheSubprocessHistoryDialog",props:{workflowId:{type:Number,default:null}}};t.default=r},function(e,t,n){"use strict";n.r(t);
8
+ var r=n(707),o=n(708),i=n(502);function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,n){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return d(this,e)}return c(this,e,t,n)}function c(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=f(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!l.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|h(t,n),o=(e=s(e,r)).write(t,n);o!==r&&(e=e.slice(0,o));return e}(e,t,n):function(e,t){if(l.isBuffer(t)){var n=0|p(t.length);return 0===(e=s(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?s(e,0):f(e,t);if("Buffer"===t.type&&i(t.data))return f(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function d(e,t){if(u(t),e=s(e,t<0?0:0|p(t)),!l.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function f(e,t){var n=t.length<0?0:0|p(t.length);e=s(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function p(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return V(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return U(e).length;default:if(r)return V(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,n);case"utf8":case"utf-8":return E(this,t,n);case"ascii":return S(this,t,n);case"latin1":case"binary":return F(this,t,n);case"base64":return x(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function g(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,o);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,o){var i,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var u=-1;for(i=n;i<s;i++)if(c(e,i)===c(t,-1===u?0:i-u)){if(-1===u&&(u=i),i-u+1===l)return u*a}else-1!==u&&(i-=i-u),u=-1}else for(n+l>s&&(n=s-l),i=n;i>=0;i--){for(var d=!0,f=0;f<l;f++)if(c(e,i+f)!==c(t,f)){d=!1;break}if(d)return i}return-1}function w(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function y(e,t,n,r){return B(V(t,e.length-n),e,n,r)}function _(e,t,n,r){return B(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function k(e,t,n,r){return _(e,t,n,r)}function O(e,t,n,r){return B(U(t),e,n,r)}function T(e,t,n,r){return B(function(e,t){for(var n,r,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function x(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function E(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i,a,s,l,c=e[o],u=null,d=c>239?4:c>223?3:c>191?2:1;if(o+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(i=e[o+1]))&&(l=(31&c)<<6|63&i)>127&&(u=l);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(l=(15&c)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(l=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),o+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,n){return c(null,e,t,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,n){return function(e,t,n,r){return u(t),t<=0?s(e,t):void 0!==n?"string"==typeof r?s(e,t).fill(n,r):s(e,t).fill(n):s(e,t)}(null,e,t,n)},l.allocUnsafe=function(e){return d(null,e)},l.allocUnsafeSlow=function(e){return d(null,e)},l.isBuffer=function(e){return!(null==e||!e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!i(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=l.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var a=e[n];if(!l.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,o),o+=a.length}return r},l.byteLength=h,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)v(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},l.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?E(this,0,e):m.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},l.prototype.compare=function(e,t,n,r,o){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(i,a),c=this.slice(r,o),u=e.slice(t,n),d=0;d<s;++d)if(c[d]!==u[d]){i=c[d],a=u[d];break}return i<a?-1:a<i?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return g(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return g(this,e,t,n,!1)},l.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return w(this,e,t,n);case"utf8":case"utf-8":return y(this,e,t,n);case"ascii":return _(this,e,t,n);case"latin1":case"binary":return k(this,e,t,n);case"base64":return O(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function S(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function F(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function P(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=L(e[i]);return o}function C(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function M(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,n,r,o,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function I(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o<i;++o)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function D(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o<i;++o)e[n+o]=t>>>8*(r?o:3-o)&255}function $(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function A(e,t,n,r,i){return i||$(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function j(e,t,n,r,i){return i||$(e,0,n,8),o.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),l.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=l.prototype;else{var o=t-e;n=new l(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+e]}return n},l.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||M(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},l.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||M(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},l.prototype.readUInt8=function(e,t){return t||M(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||M(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||M(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||M(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||M(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||M(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||M(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return t||M(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||M(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){t||M(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return t||M(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||M(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||M(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||M(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||M(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||M(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||R(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},l.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||R(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):D(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);R(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);R(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):D(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return A(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return A(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return j(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return j(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o,i=r-n;if(this===e&&n<t&&t<r)for(o=i-1;o>=0;--o)e[o+t]=this[o+n];else if(i<1e3||!l.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i},l.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var a=l.isBuffer(e)?e:V(new l(e,r).toString()),s=a.length;for(i=0;i<n-t;++i)this[i+t]=a[i%s]}return this};var N=/[^+\/0-9A-Za-z-_]/g;function L(e){return e<16?"0"+e.toString(16):e.toString(16)}function V(e,t){var n;t=t||1/0;for(var r=e.length,o=null,i=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function U(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(N,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function B(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}}).call(this,n(46))},function(e,t,n){function r(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===r(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===r(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===r(e)},t.isError=function(e){return"[object Error]"===r(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(74).Buffer.isBuffer},function(e,t,n){var r=n(27);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(47),o=n(17),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(66)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(26).f,o=n(35),i=n(16)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(373),o=n(252).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(37),o=n(16)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var r=n(264);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=!0},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(71);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(401),o=n(272);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){"use strict";n.r(t);var r=n(302),o=n(109);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(647);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(327),o=n(159);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){var r=n(22);r(r.P,"String",{repeat:n(699)})},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,c=[],u=!1,d=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||u||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";(function(t){void 0===t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,n,r,o){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var i,a,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,n)}));case 3:return t.nextTick((function(){e.call(null,n,r)}));case 4:return t.nextTick((function(){e.call(null,n,r,o)}));default:for(i=new Array(s-1),a=0;a<i.length;)i[a++]=arguments[a];return t.nextTick((function(){e.apply(null,i)}))}}}:e.exports=t}).call(this,n(91))},function(e,t,n){"use strict";n.r(t);var r=n(94),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1),n(5);var o=r(n(12)),i=r(n(9));n(55),n(55),n(30),n(23),n(384),n(1),n(392);var a=n(11),s=n(10),l=r(n(635)),c=r(n(640)),u=r(n(277)),d=r(n(757)),f=r(n(283)),p=r(n(291)),h=r(n(759)),m=r(n(760));n(761),n(762),n(763),n(764),n(765),n(767),n(768);var v=r(n(770));function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var w={name:"WorkflowEditor",components:{WorkflowCanvas:c.default,Toolbox:l.default,IconSvg:u.default,ContextMenu:d.default,AdminSaveDialog:v.default},props:{code:{type:String,default:null},version:{type:Number,default:null},id:{type:Number,default:null},readonly:{type:Boolean,default:!1}},data:function(){return{activeTab:"canvas",count:1,currentPosition:{x:0,y:0},process:null,definitionId:null,xml:"",contextMenuPosition:null,isAdminSave:!1}},computed:b(b(b({},(0,a.mapGetters)("wfEditor",["componentToDraw","taches","transitions","contextMenuVisible"])),(0,a.mapGetters)(["sidebar"])),{},{componentInfo:function(){return(0,s.getComponentInfo)(this.componentToDraw)}}),watch:{activeTab:function(e){"xml"===e&&(this.xml=this.getProcessXml(),this.$nextTick((function(){m.default.highlightElement(this.$refs.xml)})))}},created:function(){var e=this;if(this.clearCanvas(),this.id&&(this.definitionId=this.id),console.log("canvas-created=",this.code,this.id),this.code||this.id){var t=this.baseAPI+"/wf-editor/open-xmls/with-definitions";t=this.packageUrlParam(t),this.$http.get(t).then(function(t){(0,o.default)(this,e),this.initProcessByXml(t)}.bind(this))}else this.process=s.processTemplate.newProcess(),(0,s.initializeProcessData)(this.process)},mounted:function(){},methods:b(b({},(0,a.mapMutations)("wfEditor",["setComponentToDraw","clearCanvas","setContextMenuVisible","setSystemCode","setProcessCode"])),{},{showContextMenu:function(e){console.log(e),this.setContextMenuVisible(!0);var t=this.$refs.wfEditor.getBoundingClientRect();this.contextMenuPosition={x:e.clientX-t.x,y:e.clientY-t.y}},initProcessByXml:function(e){var t=f.default.xml2js(e,{nativeType:!0,attributesKey:"attr",compact:!0,ignoreComment:!0,spaces:4});(0,s.removeTextProperty)(t.process),this.process=t.process,this.process&&this.process.properties&&this.process.properties.basicProperties&&this.setSystemCode(this.process.properties.basicProperties.systemCode),this.process&&this.process.attr&&this.setProcessCode(this.process.attr.code),this.fetchFormFields(),(0,s.initializeProcessData)(this.process),this.count=this.getMaxCount()+1},fetchFormFields:function(){var e=this.process.properties.basicProperties,t=e.formCode,n=e.formVersion;t&&""!==t&&n&&p.default.fetchFormFields(e.formCode,e.formVersion)},packageUrlParam:function(e){return this.id?e=e+"?id="+this.id:this.code&&(e=e+"?code="+this.code+"&version="+this.version),e},getProcessXml:function(){var e=this,t={start:[],humanTask:[],decision:[],transition:[],fork:[],join:[],subprocess:[],humanDecision:[],copyTask:[],end:[]};t.attr=this.process.attr,t.properties=this.process.properties,this.taches.map(function(n){(0,o.default)(this,e);var r=n.type;t[r.charAt(0).toLowerCase()+r.substring(1)].push(n.ref),n.ref.g={x:n.x,y:n.y,width:n.width,height:n.height}}.bind(this)),this.transitions.map(function(n){var r=this;if((0,o.default)(this,e),t.transition.push(n.ref),n.ref.g={fromJoint:n.startJoint.position,toJoint:n.endJoint.position,coordinate:"",lineType:n.lineInfo.type},"CurveLine"===n.lineInfo.type&&n.lineInfo.controlPoint)n.ref.g.coordinate=n.lineInfo.controlPoint.x+","+n.lineInfo.controlPoint.y;else if("BrokenLine"===n.lineInfo.type&&n.lineInfo.controlPoint){var i="";n.lineInfo.controlPoint.forEach(function(e){(0,o.default)(this,r),i+=e.x+","+e.y+";"}.bind(this)),n.ref.g.coordinate=i}}.bind(this));var n=f.default.json2xml({process:t},{attributesKey:"attr",compact:!0,ignoreComment:!0,spaces:4});return n='<?xml version="1.0" encoding="utf-8"?>\n'+n},saveXml:function(){var e=this,t=this.getProcessXml();if(this.code||this.id||this.definitionId)this.saveWf(t,this.baseAPI+"/wf-editor/workflow-definitions/updates").then(function(){(0,o.default)(this,e),this.$alert(this.$t("workflowEditorMessage.updateSuccessful"))}.bind(this));else{var n={xml:t};this.$http.post(this.baseAPI+"/wf-editor/workflow-definitions",n).then(function(t){(0,o.default)(this,e),this.definitionId=t.id,this.$alert(this.$t("workflowEditorMessage.savedSuccessfully"))}.bind(this))}},saveWf:function(e,t,n){var r=this;return new Promise(function(n,i){var a=this;(0,o.default)(this,r);var s=this.packageSaveXmlParam(e);this.$http.post(t,s).then(function(e){(0,o.default)(this,a),this.definitionId=e.id,n()}.bind(this))}.bind(this))},packageSaveXmlParam:function(e){var t={xml:e};return this.definitionId?t.id=this.definitionId:this.id?t.id=this.id:this.code&&(t.code=this.code,t.version=this.version),t},adminSave:function(){var e=this,t=this.getProcessXml();if(this.code||this.id||this.definitionId){var n=this.baseAPI+"/wf-editor/workflow-definitions/states",r={};this.definitionId?r.id=this.definitionId:this.id?r.id=this.id:this.code&&(r.code=this.code,r.version=this.version),this.$http.post(n,r).then(function(n){var r=this;(0,o.default)(this,e),"DRAFT"===n?this.saveWf(t,this.baseAPI+"/wf-editor/workflow-definitions/updates").then(function(){(0,o.default)(this,r),this.$alert(this.$t("workflowEditorMessage.updateSuccessful"))}.bind(this)):this.isAdminSave=!0}.bind(this))}else{var i={xml:t};this.$http.post(this.baseAPI+"/wf-editor/workflow-definitions",i).then(function(t){(0,o.default)(this,e),this.definitionId=t.id,this.$alert(this.$t("workflowEditorMessage.savedSuccessfully"))}.bind(this))}},updateWfVersion:function(){var e=this,t=this.getProcessXml();this.saveWf(t,this.baseAPI+"/wf-editor/workflow-definitions/update-version").then(function(){(0,o.default)(this,e),this.isAdminSave=!1,this.$alert(this.$t("workflowEditorMessage.updateVersionSuccessful"))}.bind(this))},addWfVersion:function(){var e=this,t=this.getProcessXml();this.saveWf(t,this.baseAPI+"/wf-editor/workflow-definitions/updates").then(function(){(0,o.default)(this,e),this.isAdminSave=!1,this.$alert(this.$t("workflowEditorMessage.addVersionSuccessful"))}.bind(this))},exportProcessFromClient:function(){var e=new Blob([this.getProcessXml()],{type:"text/xml;charset=utf-8"});h.default.saveAs(e,this.process.attr.name+".xml")},exportProcess:function(){var e=this,t=this.getProcessXml();this.$http({method:"post",url:this.baseAPI+"/wf-editor/save-as-xmls",data:{xmlContent:t}}).then(function(t){(0,o.default)(this,e),this.download(t),console.log(this.$t("workflowEditorMessage.exportSucceeded"))}.bind(this))},download:function(e){if(e){var t=window.URL.createObjectURL(new Blob([e])),n=document.createElement("a");n.style.display="none",n.href=t,n.setAttribute("download","myXml.xml"),document.body.appendChild(n),n.click()}},uploadSuccess:function(e,t,n){var r=e;this.clearCanvas(),this.initProcessByXml(r),this.$refs.upload.clearFiles()},getCurrentPosition:function(e){if(this.componentToDraw){var t=this.$refs.wfEditor.getBoundingClientRect();this.currentPosition={x:e.clientX-t.x-22,y:e.clientY-t.y-22}}},startDrag:function(e){this.getCurrentPosition(e)},drag:function(e){this.getCurrentPosition(e)},endDrag:function(){this.componentToDraw&&this.setComponentToDraw("")},addTache:function(e){if(this.componentToDraw){var t=(0,s.getMousePosition)(e),n=s.processTemplate["new"+this.componentToDraw]();n.attr.id=this.componentToDraw.charAt(0).toLowerCase()+this.componentToDraw.substring(1)+"_"+this.count;var r={id:n.attr.id,name:n.attr.name,x:t.x-this.componentInfo.width/2,y:t.y-this.componentInfo.height/2,width:this.componentInfo.width,height:this.componentInfo.height,type:this.componentToDraw,isSelected:!1};r.ref=n,this.taches.push(r),this.count++}},clearStatus:function(){this.componentToDraw&&this.setComponentToDraw("")},getMaxCount:function(){var e=this,t=0;return this.taches.map(function(n){(0,o.default)(this,e);var r=n.id.substring(n.id.lastIndexOf("_")+1);t<(r=+r)&&(t=r)}.bind(this)),t},selectProcessFile:function(){this.$refs.processFile.click()},openXmlFromClient:function(){if(""!==this.$refs.processFile.value){var e=this.$refs.processFile.files[0],t=new FileReader;t.readAsText(e);var n=this;t.onload=function(){n.clearCanvas(),n.initProcessByXml(t.result),n.$refs.processFile.value=""}}}})};t.default=w},function(e,t,n){"use strict";n.r(t);var r=n(96),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=n(11),a=r(n(277)),s=n(10);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={name:"Toolbox",components:{IconSvg:a.default},data:function(){return{componentList:(0,s.getComponentList)()}},computed:c({},(0,i.mapGetters)("wfEditor",["componentToDraw"])),methods:c(c({},(0,i.mapMutations)("wfEditor",["setComponentToDraw"])),{},{select:function(e){this.setComponentToDraw(e)}})};t.default=u},function(e,t,n){"use strict";n.r(t);var r=n(98),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={name:"IconSvg",props:{icon:{type:String,required:!0}},computed:{iconName:function(){return"#icon-".concat(this.icon)}}};t.default=r},function(e,t,n){"use strict";n.r(t);var r=n(100),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4),n(40),n(23),n(1),n(18),n(19),n(25),n(5);var r=n(2);n(41),n(6),n(19),n(18),n(1),n(42),n(4),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(12));n(5);var i=r(n(9)),a=r(n(411)),s=r(n(416)),l=r(n(419)),c=r(n(423)),u=r(n(426)),d=r(n(428)),f=r(n(430)),p=r(n(433)),h=r(n(436)),m=r(n(439)),v=r(n(441)),g=r(n(666)),b=r(n(669)),w=r(n(672)),y=r(n(705)),_=r(n(730)),k=r(n(731)),O=r(n(735)),T=r(n(736)),x=r(n(737)),E=r(n(738)),S=r(n(747)),F=r(n(535)),P=n(11),C=n(10);function M(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return R(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return R(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var $={name:"Canvas",components:{Start:a.default,End:s.default,HumanTask:l.default,Decision:c.default,Subprocess:u.default,CustomTask:d.default,Fork:f.default,Join:p.default,HumanDecision:h.default,CopyTask:m.default,Transition:v.default,VirtualTransition:g.default,SelectionRegion:b.default,HumanTaskPropertiesEditor:w.default,ProcessPropertiesEditor:y.default,DecisionPropertiesEditor:_.default,TransitionPropertiesEditor:k.default,ForkPropertiesEditor:O.default,JoinPropertiesEditor:T.default,HumanDecisionPropertiesEditor:x.default,CopyTaskPropertiesEditor:E.default,SubprocessPropertiesEditor:S.default,TacheHistoryTooltip:F.default},props:{process:{type:Object,default:null},showHistory:{type:Boolean,default:!1}},data:function(){return{inputArea:null,currentPosition:null,originPosition:null,offset:null,startPoint:null,region:null,endPoint:null,transitionsInRegion:[],showTacheHistory:!1,tooltipPosition:null}},computed:D({},(0,P.mapGetters)("wfEditor",["taches","transitions","isMovingTache","mouseDownPosition","startJoint","endJoint","isDrawingRegion","isMovingRegion","selectedTransition","selectedTaches","resizerToMove","draggerToMove","controlPointToMove","propertiesEditorFor","contextMenuVisible"])),mounted:function(){},methods:D(D({},(0,P.mapMutations)("wfEditor",["setTaches","setTransitions","resetState","setMovingTache","stopDrawingLine","setSelectedTaches","setDrawingRegion","setResizerToMove","setDraggerToMove","setControlPointToMove","setPropertiesEditorFor"])),{},{forbidSelection:function(){return!1},add:function(){},mousedown:function(e){console.log("mousedown"),this.unselectAll(),this.setDrawingRegion(!0),this.startPoint=(0,C.getMousePosition)(e)},mousemove:function(e){this.showHistory||(!this.originPosition&&this.mouseDownPosition&&(this.originPosition=this.mouseDownPosition),this.currentPosition=(0,C.getMousePosition)(e),this.isMovingTache&&this.moveTache(this.selectedTaches[0]),this.drawVirtualSelectionRegion(),this.moveSelectionRegion(),this.resizeSelectedTache(),this.moveTransition(),this.adjustCurveLine(),this.originPosition=this.currentPosition)},mouseup:function(e){console.log("mouseup"),this.isMovingTache&&this.setMovingTache(!1),this.startJoint&&this.stopDrawingLine(),this.drawRegionWhenNeeded(),this.resizerToMove&&this.setResizerToMove(null),this.resetMovedTransition()},mouseleave:function(e){this.drawRegionWhenNeeded(),this.resetMovedTransition(),this.resetState()},drawRegionWhenNeeded:function(){this.isDrawingRegion&&(this.selectComponents(),this.drawRealSelectionRegion(),this.setDrawingRegion(!1))},resetMovedTransition:function(){this.draggerToMove&&(this.draggerToMove.owner.startJoint=this.draggerToMove.originStartJoint,this.draggerToMove.owner.endJoint=this.draggerToMove.originEndJoint,this.setDraggerToMove(null))},unselectAll:function(){(0,C.clearAllSelectedComponents)(),this.transitionsInRegion=[],this.startPoint=null,this.region=null},selectComponents:function(){if(!this.startPoint||!this.region)return this.startPoint=null,void(this.region=null);var e,t=M(this.taches);try{for(t.s();!(e=t.n()).done;){var n=e.value;this.isInsideSelectionRegion(n)&&(n.isSelected=!0,this.selectedTaches.push(n))}}catch(e){t.e(e)}finally{t.f()}var r,o=M(this.transitions);try{for(o.s();!(r=o.n()).done;){var i=r.value;i.startJoint.parent.isSelected&&i.endJoint.parent.isSelected&&this.transitionsInRegion.push(i)}}catch(e){o.e(e)}finally{o.f()}},isInsideSelectionRegion:function(e){var t=e.x>=this.region.x&&e.y>=this.region.y,n=e.x+e.width<=this.region.x+this.region.width&&e.y+e.height<=this.region.y+this.region.height;return t&&n},moveTache:function(e){var t=this.currentPosition.x-this.originPosition.x,n=this.currentPosition.y-this.originPosition.y;e.x+=t,e.y+=n,e.x<0&&(e.x=2),e.y<0&&(e.y=2)},drawVirtualSelectionRegion:function(){this.isDrawingRegion&&this.startPoint&&(this.region=(0,C.getVirtualRegion)(this.startPoint,this.currentPosition))},drawRealSelectionRegion:function(){if(this.selectedTaches.length<=1)return this.startPoint=null,void(this.region=null);this.region=(0,C.getRealRegion)(this.selectedTaches)},moveSelectionRegion:function(){if(this.isMovingRegion){var e=this.currentPosition.x-this.originPosition.x,t=this.currentPosition.y-this.originPosition.y;this.region.x+e<0&&(e=2-this.region.x),this.region.y+t<0&&(t=2-this.region.y),this.region.x=this.region.x+e,this.region.y=this.region.y+t,this.moveTachesInRegion(e,t),this.moveTransitionControlPoints(e,t)}},moveTachesInRegion:function(e,t){var n,r=M(this.selectedTaches);try{for(r.s();!(n=r.n()).done;){var o=n.value;o.x+=e,o.y+=t}}catch(e){r.e(e)}finally{r.f()}},moveTransitionControlPoints:function(e,t){var n,r=this,i=M(this.transitionsInRegion);try{for(i.s();!(n=i.n()).done;){var a=n.value;"CurveLine"===a.lineInfo.type?(a.lineInfo.controlPoint.x+=e,a.lineInfo.controlPoint.y+=t):"BrokenLine"===a.lineInfo.type&&a.lineInfo.controlPoint.forEach(function(n){(0,o.default)(this,r),n.x+=e,n.y+=t}.bind(this))}}catch(e){i.e(e)}finally{i.f()}},resizeSelectedTache:function(){if(this.resizerToMove){var e=this.currentPosition.x-this.originPosition.x,t=this.currentPosition.y-this.originPosition.y,n=this.resizerToMove.owner;switch(this.resizerToMove.position){case"NW":n.width-e<80&&(e=n.width-80),n.height-t<40&&(t=n.height-40),n.width-=e,n.height-=t,n.x+=e,n.y+=t;break;case"NE":n.width+e<80&&(e=80-n.width),n.height-t<40&&(t=n.height-40),n.width+=e,n.height-=t,n.y+=t;break;case"SW":n.width-e<80&&(e=n.width-80),n.height+t<40&&(t=40-n.height),n.width-=e,n.height+=t,n.x+=e;break;case"SE":n.width+e<80&&(e=80-n.width),n.height+t<40&&(t=40-n.height),n.width+=e,n.height+=t}}},moveTransition:function(){if(this.draggerToMove){var e=this.draggerToMove.owner,t=this.draggerToMove.position,n={parent:this.currentPosition,position:""};"start"===t?e.startJoint=n:e.endJoint=n}},adjustCurveLine:function(){if(this.controlPointToMove){var e=this.controlPointToMove.owner;if(e.lineInfo&&"CurveLine"===e.lineInfo.type)e.lineInfo.controlPoint=this.currentPosition;else if(e.lineInfo&&"BrokenLine"===e.lineInfo.type){var t=this.controlPointToMove.pointIndex,n=e.lineInfo.controlPoint;this.$set(n,t,this.currentPosition)}}},endDrag:function(e){},showTacheHistoryTooltip:function(e){this.showTacheHistory=!0},hideTacheHistoryTooltip:function(){this.showTacheHistory=!1},updateTacheHistoryTooltipPosition:function(e){var t=(0,C.getMousePosition)(e);this.tooltipPosition={left:t.x+"px",top:t.y+"px"}}})};t.default=$},function(e,t,n){"use strict";n.r(t);var r=n(102),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=n(11),a=r(n(31)),s=r(n(32));function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={name:"Start",components:{Joint:a.default},props:{model:{type:Object,default:null}},data:function(){return{jointPoints:[]}},computed:c({},(0,i.mapGetters)("wfEditor",["selectedTaches"])),methods:c(c({},(0,i.mapMutations)("wfEditor",["setPropertiesEditorFor","setContextMenuVisible"])),s.default)};t.default=u},function(e,t,n){"use strict";n.r(t);var r=n(104),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=n(11),a=n(10);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c={name:"Joint",props:{parent:{type:Object,default:null},position:{type:String,default:null}},data:function(){return{isActivated:!1}},computed:l(l({},(0,i.mapGetters)("wfEditor",["transitions","startJoint","endJoint","draggerToMove"])),{},{joint:function(){return(0,a.getJoint)(this.parent,this.position)},jointContainer:function(){return{x:this.joint.x-10,y:this.joint.y-10}}}),methods:l(l({},(0,i.mapMutations)("wfEditor",["setStartJoint","setEndJoint","stopDrawingLine","setDraggerToMove","setContextMenuVisible"])),{},{isValidTransition:function(e,t){if(!e)return!1;if(e.parent===t.parent)return this.$alert(this.$t("workflowEditorMessage.theStartAndEndOfTheFlowDirectionCannotBeTheSame")),!1;if("Decision"!==e.parent.type&&"Fork"!==e.parent.type&&"HumanDecision"!==e.parent.type){var n=0;if(this.draggerToMove&&(n=1),(0,a.findOutgoingTransitionsByTacheId)(e.parent.id).length>n)return this.$alert(this.$t("workflowEditorMessage.onlyConditionJudgmentBranchAndManualJudgmentCanHaveMultipleOutboundFlows")),!1}return"Start"===e.parent.type&&"End"===t.parent.type?(this.$alert(this.$t("workflowEditorMessage.startAndEndNodesCannotBeConnectedDirectly")),!1):"End"!==e.parent.type||(this.$alert(this.$t("workflowEditorMessage.endNodeCannotHaveOutFlowDirection")),!1)},mouseup:function(){if(console.log("joint mouseup"),this.draggerToMove){var e=this.draggerToMove.position,t={parent:this.parent,position:this.position};if("start"===e?this.draggerToMove.owner.startJoint=t:this.draggerToMove.owner.endJoint=t,this.isValidTransition(this.draggerToMove.owner.startJoint,this.draggerToMove.owner.endJoint)){var n=this.draggerToMove.owner;n.id="flow_"+n.startJoint.parent.id+"_to_"+n.endJoint.parent.id,n.ref.attr={id:n.id,from:n.startJoint.parent.id,to:n.endJoint.parent.id}}else this.draggerToMove.owner.startJoint=this.draggerToMove.originStartJoint,this.draggerToMove.owner.endJoint=this.draggerToMove.originEndJoint;this.setDraggerToMove(null)}else this.addTransition()},addTransition:function(){var e={parent:this.parent,position:this.position};if(this.isValidTransition(this.startJoint,e)){this.setEndJoint(e);var t={id:"flow_"+this.startJoint.parent.id+"_to_"+this.endJoint.parent.id,startJoint:this.startJoint,endJoint:this.endJoint,isSelected:!1,lineInfo:{type:"StraightLine",controlPoint:null}};t.ref=a.processTemplate.newTransition(),t.ref.attr={id:t.id,from:this.startJoint.parent.id,to:this.endJoint.parent.id},this.transitions.push(t)}this.stopDrawingLine()},enterJoint:function(){this.isActivated=!0,this.$emit("enter-joint")},leaveJoint:function(){this.isActivated=!1,this.$emit("leave-joint")}})};t.default=c},function(e,t,n){"use strict";n.r(t);var r=n(106),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=n(11),a=r(n(31)),s=r(n(32));function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={name:"End",components:{Joint:a.default},props:{model:{type:Object,default:null}},data:function(){return{jointPoints:[]}},computed:c({},(0,i.mapGetters)("wfEditor",["selectedTaches"])),methods:c(c({},(0,i.mapMutations)("wfEditor",["setPropertiesEditorFor","setContextMenuVisible"])),s.default)};t.default=u},function(e,t,n){"use strict";n.r(t);var r=n(108),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9));n(1),n(1);var i=n(11),a=r(n(31)),s=r(n(88)),l=r(n(32)),c=n(10);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f={name:"HumanTask",components:{Joint:a.default,TacheResizer:s.default},props:{model:{type:Object,default:null}},data:function(){return{jointPoints:[],resizers:["NW","NE","SW","SE"],name:this.model.name}},computed:d(d({},(0,i.mapGetters)("wfEditor",["selectedTaches","processI18n"])),{},{text:function(){return{x:this.model.x+this.model.width/2,y:this.model.y+this.model.height/2}}}),created:function(){this.name=(0,c.watchShowName)(this,this.name)},mounted:function(){this.$watch("model.name",(function(e){this.name=(0,c.watchShowName)(this,e)}))},methods:d(d({},(0,i.mapMutations)("wfEditor",["setPropertiesEditorFor","setContextMenuVisible"])),l.default)};t.default=f},function(e,t,n){"use strict";n.r(t);var r=n(110),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=n(11);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l={name:"TacheResizer",props:{owner:{type:Object,default:null},position:{type:String,default:""}},computed:s(s({},(0,i.mapGetters)("wfEditor",["selectedTaches"])),{},{area:function(){var e,t;switch(this.position){case"NW":e=this.owner.x,t=this.owner.y;break;case"NE":e=this.owner.x+this.owner.width,t=this.owner.y;break;case"SW":e=this.owner.x,t=this.owner.y+this.owner.height;break;case"SE":e=this.owner.x+this.owner.width,t=this.owner.y+this.owner.height}return{x:e-=4,y:t-=4,width:8,height:8,cursor:this.position.toLowerCase()+"-resize"}}}),methods:s({},(0,i.mapMutations)("wfEditor",["setMovingResizer","setResizerToMove","setContextMenuVisible"]))};t.default=l},function(e,t,n){"use strict";n.r(t);var r=n(112),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9));n(1),n(1);var i=n(11),a=r(n(31)),s=r(n(32)),l=n(10);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={name:"Decision",components:{Joint:a.default},props:{model:{type:Object,default:null}},data:function(){return{jointPoints:[],name:this.model.name}},computed:u(u({},(0,i.mapGetters)("wfEditor",["selectedTaches","processI18n"])),{},{text:function(){return{x:this.model.x+this.model.width/2,y:this.model.y+this.model.height+12}}}),created:function(){this.name=(0,l.watchShowName)(this,this.name)},mounted:function(){this.$watch("model.name",(function(e){this.name=(0,l.watchShowName)(this,e)}))},methods:u(u({},(0,i.mapMutations)("wfEditor",["setPropertiesEditorFor","setContextMenuVisible"])),s.default)};t.default=d},function(e,t,n){"use strict";n.r(t);var r=n(114),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9));n(1),n(1);var i=n(11),a=r(n(31)),s=r(n(88)),l=r(n(32)),c=n(10);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f={name:"Subprocess",components:{Joint:a.default,TacheResizer:s.default},props:{model:{type:Object,default:null}},data:function(){return{jointPoints:[],resizers:["NW","NE","SW","SE"],name:this.model.name}},computed:d(d({},(0,i.mapGetters)("wfEditor",["selectedTaches","processI18n"])),{},{text:function(){return{x:this.model.x+this.model.width/2,y:this.model.y+this.model.height/2}}}),created:function(){this.name=(0,c.watchShowName)(this,this.name)},mounted:function(){this.$watch("model.name",(function(e){this.name=(0,c.watchShowName)(this,e)}))},methods:d(d({},(0,i.mapMutations)("wfEditor",["setPropertiesEditorFor","setContextMenuVisible"])),l.default)};t.default=f},function(e,t,n){"use strict";n.r(t);var r=n(116),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=n(11),a=r(n(31)),s=r(n(88)),l=r(n(32));function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={name:"CustomTask",components:{Joint:a.default,TacheResizer:s.default},props:{model:{type:Object,default:null}},data:function(){return{jointPoints:[],resizers:["NW","NE","SW","SE"]}},computed:u(u({},(0,i.mapGetters)("wfEditor",["selectedTaches"])),{},{text:function(){return{x:this.model.x+this.model.width/2,y:this.model.y+this.model.height/2}}}),methods:u(u({},(0,i.mapMutations)("wfEditor",["setPropertiesEditorFor","setContextMenuVisible"])),l.default)};t.default=d},function(e,t,n){"use strict";n.r(t);var r=n(118),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9));n(1),n(1);var i=n(11),a=r(n(31)),s=r(n(32)),l=n(10);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={name:"Fork",components:{Joint:a.default},props:{model:{type:Object,default:null}},data:function(){return{jointPoints:[],name:this.model.name}},computed:u(u({},(0,i.mapGetters)("wfEditor",["selectedTaches","processI18n"])),{},{text:function(){return{x:this.model.x+this.model.width/2,y:this.model.y+this.model.height+12}}}),created:function(){this.name=(0,l.watchShowName)(this,this.name)},mounted:function(){this.$watch("model.name",(function(e){this.name=(0,l.watchShowName)(this,e)}))},methods:u(u({},(0,i.mapMutations)("wfEditor",["setPropertiesEditorFor","setContextMenuVisible"])),s.default)};t.default=d},function(e,t,n){"use strict";n.r(t);var r=n(120),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=n(11),a=r(n(31)),s=r(n(32));function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={name:"Join",components:{Joint:a.default},props:{model:{type:Object,default:null}},data:function(){return{jointPoints:[]}},computed:c(c({},(0,i.mapGetters)("wfEditor",["selectedTaches"])),{},{text:function(){return{x:this.model.x+this.model.width/2,y:this.model.y+this.model.height+12}}}),methods:c(c({},(0,i.mapMutations)("wfEditor",["setPropertiesEditorFor","setContextMenuVisible"])),s.default)};t.default=u},function(e,t,n){"use strict";n.r(t);var r=n(122),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9));n(1),n(1);var i=n(11),a=r(n(31)),s=r(n(32)),l=n(10);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={name:"HumanDecision",components:{Joint:a.default},props:{model:{type:Object,default:null}},data:function(){return{jointPoints:[],name:this.model.name}},computed:u(u({},(0,i.mapGetters)("wfEditor",["selectedTaches","processI18n"])),{},{text:function(){return{x:this.model.x+this.model.width/2,y:this.model.y+this.model.height+12}}}),created:function(){this.name=(0,l.watchShowName)(this,this.name)},mounted:function(){this.$watch("model.name",(function(e){this.name=(0,l.watchShowName)(this,e)}))},methods:u(u({},(0,i.mapMutations)("wfEditor",["setPropertiesEditorFor","setContextMenuVisible"])),s.default)};t.default=d},function(e,t,n){"use strict";n.r(t);var r=n(124),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9));n(1),n(1);var i=n(11),a=r(n(31)),s=r(n(88)),l=r(n(32)),c=n(10);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f={name:"CopyTask",components:{Joint:a.default,TacheResizer:s.default},props:{model:{type:Object,default:null}},data:function(){return{jointPoints:[],resizers:["NW","NE","SW","SE"],name:this.model.name}},computed:d(d({},(0,i.mapGetters)("wfEditor",["selectedTaches","processI18n"])),{},{text:function(){return{x:this.model.x+this.model.width/2,y:this.model.y+this.model.height/2}}}),created:function(){this.name=(0,c.watchShowName)(this,this.name)},mounted:function(){this.$watch("model.name",(function(e){this.name=(0,c.watchShowName)(this,e)}))},methods:d(d({},(0,i.mapMutations)("wfEditor",["setPropertiesEditorFor","setContextMenuVisible"])),l.default)};t.default=f},function(e,t,n){"use strict";n.r(t);var r=n(126),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1),n(1);var o=r(n(9)),i=n(10),a=n(11),s=r(n(657)),l=r(n(658)),c=r(n(661));function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f={name:"Transition",components:{StraightLine:s.default,CurveLine:l.default,BrokenLine:c.default},props:{model:{type:Object,default:null}},data:function(){var e=this.getTextPoint();return{text:{x:e.x,y:e.y},name:this.model.remark}},computed:d(d({},(0,a.mapGetters)("wfEditor",["draggerToMove","processI18n"])),{},{draggers:function(){var e=(0,i.getJoint)(this.model.startJoint.parent,this.model.startJoint.position);e.position="start";var t=(0,i.getJoint)(this.model.endJoint.parent,this.model.endJoint.position);return t.position="end",[e,t]},path:function(){return"M"+this.draggers[0].x+" "+this.draggers[0].y+" L"+this.draggers[1].x+" "+this.draggers[1].y}}),created:function(){this.name=(0,i.watchShowName)(this,this.name)},mounted:function(){this.$watch("model.remark",(function(e){if(this.name=(0,i.watchShowName)(this,e),this.name&&""!==this.name){var t=this.getTextPoint();this.text.x=t.x,this.text.y=t.y}})),this.$watch("model.lineInfo.type",(function(e){var t=this.getTextPoint();this.text.x=t.x,this.text.y=t.y})),this.$watch("model.lineInfo.controlPoint",(function(e){var t=this.getTextPoint();this.text.x=t.x,this.text.y=t.y})),this.$watch("model.startJoint.parent.x",(function(e){var t=this.getTextPoint();this.text.x=t.x,this.text.y=t.y})),this.$watch("model.startJoint.parent.y",(function(e){var t=this.getTextPoint();this.text.x=t.x,this.text.y=t.y})),this.$watch("model.endJoint.parent.x",(function(e){var t=this.getTextPoint();this.text.x=t.x,this.text.y=t.y})),this.$watch("model.endJoint.parent.y",(function(e){var t=this.getTextPoint();this.text.x=t.x,this.text.y=t.y}))},methods:d(d({},(0,a.mapMutations)("wfEditor",["setMouseDownPosition","setDraggerToMove","setSelectedTransition","setPropertiesEditorFor"])),{},{getTextPoint:function(){var e=(0,i.getJoint)(this.model.startJoint.parent,this.model.startJoint.position),t=(0,i.getJoint)(this.model.endJoint.parent,this.model.endJoint.position),n=e.x<t.x?e.x:t.x,r=e.y<t.y?e.y:t.y,o=n+Math.abs(e.x-t.x)/2,a=r+Math.abs(e.y-t.y)/2;if("CurveLine"===this.model.lineInfo.type){var s=this.model.lineInfo.controlPoint;s&&(n=e.x<s.x?e.x:parseFloat(s.x),r=e.y<s.y?e.y:parseFloat(s.y),o=n+Math.abs(e.x-s.x)/2+10,a=r+Math.abs(e.y-s.y)/2-10)}else if("BrokenLine"===this.model.lineInfo.type){var l=this.model.lineInfo.controlPoint[0];l&&(n=e.x<l.x?e.x:parseFloat(l.x),r=e.y<l.y?e.y:parseFloat(l.y),o=n+Math.abs(e.x-l.x)/2,a=r+Math.abs(e.y-l.y)/2-10)}return{x:o,y:a}},select:function(e){(0,i.clearAllSelectedComponents)(),this.model.isSelected=!0,this.setSelectedTransition(this.model)},startDrag:function(e,t){console.log("start dragging line"),this.setMouseDownPosition((0,i.getMousePosition)(e)),this.setDraggerToMove({owner:this.model,position:t,originStartJoint:this.model.startJoint,originEndJoint:this.model.endJoint})},endDrag:function(){},showPropertiesEditor:function(){"Decision"!==this.model.endJoint.parent.type&&this.setPropertiesEditorFor("Transition")}})};t.default=f},function(e,t,n){"use strict";n.r(t);var r=n(128),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(10),o={name:"StraightLine",props:{owner:{type:Object,default:null}},computed:{path:function(){var e=(0,r.getJoint)(this.owner.startJoint.parent,this.owner.startJoint.position),t=(0,r.getJoint)(this.owner.endJoint.parent,this.owner.endJoint.position);return"M"+e.x+" "+e.y+" L"+t.x+" "+t.y}}};t.default=o},function(e,t,n){"use strict";n.r(t);var r=n(130),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=n(10),a=n(11);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c={name:"CurveLine",props:{owner:{type:Object,default:null}},computed:{startPoint:function(){return(0,i.getJoint)(this.owner.startJoint.parent,this.owner.startJoint.position)},endPoint:function(){return(0,i.getJoint)(this.owner.endJoint.parent,this.owner.endJoint.position)},controlPoint:function(){return this.owner.lineInfo.controlPoint},path:function(){return"M "+this.startPoint.x+" "+this.startPoint.y+" Q "+this.controlPoint.x+" "+this.controlPoint.y+" "+this.endPoint.x+" "+this.endPoint.y},pathToStartPoint:function(){return"M "+this.controlPoint.x+" "+this.controlPoint.y+"L "+this.startPoint.x+" "+this.startPoint.y},pathToEndPoint:function(){return"M "+this.controlPoint.x+" "+this.controlPoint.y+"L "+this.endPoint.x+" "+this.endPoint.y}},created:function(){if(!this.owner.lineInfo.controlPoint){var e=this.startPoint.x+(this.endPoint.x-this.startPoint.x)/2;(e+10<this.startPoint.x||e<this.startPoint.x+10)&&(e=this.startPoint.x+30),this.owner.lineInfo.controlPoint={x:e,y:this.endPoint.y}}},methods:l(l({},(0,a.mapMutations)("wfEditor",["setControlPointToMove"])),{},{startDrag:function(e){this.setControlPointToMove({owner:this.owner})},endDrag:function(){this.setControlPointToMove(null)}})};t.default=c},function(e,t,n){"use strict";n.r(t);var r=n(132),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=r(n(12));n(5);var a=n(10),s=n(11);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={name:"BrokenLine",props:{owner:{type:Object,default:null}},computed:{startPoint:function(){return(0,a.getJoint)(this.owner.startJoint.parent,this.owner.startJoint.position)},endPoint:function(){return(0,a.getJoint)(this.owner.endJoint.parent,this.owner.endJoint.position)},controlPoint:function(){return this.owner.lineInfo.controlPoint},path:function(){var e=this,t="M "+this.startPoint.x+" "+this.startPoint.y+" ";return this.controlPoint&&this.controlPoint.forEach(function(n){(0,i.default)(this,e),t+="L "+n.x+" "+n.y}.bind(this)),t+="L "+this.endPoint.x+" "+this.endPoint.y}},created:function(){if(console.log("this.owner.lineInfo=",this.owner.lineInfo),!this.owner.lineInfo.controlPoint){var e=this.startPoint.x+(this.endPoint.x-this.startPoint.x)/2,t=this.startPoint.y+(this.endPoint.y-this.startPoint.y)/2;this.owner.lineInfo.controlPoint=[{x:e,y:t}]}},methods:c(c({},(0,s.mapMutations)("wfEditor",["setControlPointToMove"])),{},{startDrag:function(e,t){console.log("brokenLine--startDrag-----"),this.setControlPointToMove({owner:this.owner,pointIndex:e})},endDrag:function(){this.setControlPointToMove(null)}})};t.default=u},function(e,t,n){"use strict";n.r(t);var r=n(134),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=n(10),a=n(11);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c={name:"VirtualTransition",props:{toPosition:{type:Object,default:null}},computed:l(l({},(0,a.mapGetters)("wfEditor",["startJoint"])),{},{path:function(){if(!this.startJoint)return null;var e=(0,i.getJoint)(this.startJoint.parent,this.startJoint.position),t=this.toPosition;return"M"+e.x+" "+e.y+" L"+t.x+" "+t.y}}),methods:{}};t.default=c},function(e,t,n){"use strict";n.r(t);var r=n(136),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=n(11),a=n(10);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c={name:"SelectionRegion",props:{region:{type:Object,default:null}},computed:l({},(0,i.mapGetters)("wfEditor",["selectedTaches"])),methods:l(l({},(0,i.mapMutations)("wfEditor",["setDrawingRegion","setMovingRegion","setMouseDownPosition"])),{},{startDrag:function(e){console.log("region mousedown");var t=(0,a.getMousePosition)(e);this.setMouseDownPosition(t),this.setMovingRegion(!0)},endDrag:function(e){console.log("region mouseup"),this.setMovingRegion(!1),this.setMouseDownPosition(null)}})};t.default=c},function(e,t,n){"use strict";n.r(t);var r=n(138),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1);var o=r(n(673)),i=r(n(685)),a=r(n(282)),s=r(n(489)),l=r(n(491)),c=r(n(496)),u=r(n(702)),d={name:"HumanTaskPropertiesEditor",components:{BasicProperties:o.default,TransactorSettings:a.default,PermissionSettings:i.default,AutoFilledFields:s.default,Reminder:l.default,Events:u.default,Variables:c.default},props:{model:{type:Object,default:null}},data:function(){return console.log(this.model),{activeTab:"basicProperties"}},computed:{formModel:function(){return this.model.ref}},mounted:function(){this.$watch("model.ref.attr.id",(function(e,t){this.model.id=e})),this.$watch("model.ref.attr.name",(function(e,t){this.model.name=e}))},methods:{handleClick:function(e,t){}}};t.default=d},function(e,t,n){"use strict";n.r(t);var r=n(140),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1),n(1);var o=r(n(455)),i=r(n(677)),a=n(10),s=r(n(62)),l=r(n(89)),c={name:"BasicProperties",components:{TaskTitle:o.default,CustomActions:i.default,i18nInput:s.default,SelectMailTemplates:l.default},props:{model:{type:Object,default:null},id:{type:String,default:null},name:{type:String,default:null}},data:function(){var e=!1,t=this.model.processingMode.actions.action;return t&&(e=!Array.isArray(t)||0!==t.length),{showActions:e,formModel:{name:this.name,id:this.id,tache:this.model}}},computed:{tache:function(){return this.model}},created:function(){this.tache.processingMode.actions||this.$set(this.tache.processingMode,"actions",{})},mounted:function(){this.$watch("formModel.name",(function(e,t){this.$emit("update:name",e)}))},methods:{validateId:function(){(0,a.validateTacheCode)(this)},setMailTemplateCode:function(e){this.tache.mailTemplateCode=e},setI18nValue:function(e){this.tache.i18nKey=e}}};t.default=c},function(e,t,n){"use strict";n.r(t);var r=n(142),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(40),n(23),n(1),n(6),n(18),n(19),n(25),n(5);var r=n(2);n(41),n(6),n(19),n(18),n(1),n(42),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(12));n(457),n(457);var i=r(n(73)),a=n(50);function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c={name:"TaskTitle",components:{FormFields:i.default},filters:{showText:function(e){var t=e;if(e.indexOf("${field[")>=0){var n=t.substring(t.indexOf("[")+1,t.lastIndexOf("]"));t="["+(t=(0,a.getFormFieldLabel)(n))+"]"}else if(e.indexOf("${writeTitle[")>=0){var r=e.indexOf("${writeTitle[");t=(t=t.substring(r+13)).substring(0,t.indexOf("]"))}return t}},props:{value:{type:String,default:null}},data:function(){var e=[];if(this.value){var t,n=s(this.value.match(/\$\{(.+?)\}/g));try{for(n.s();!(t=n.n()).done;){var r=t.value;e.push(r)}}catch(e){n.e(e)}finally{n.f()}}return{dynamicTags:e,inputVisible:!1,showFormFields:!1,inputValue:""}},watch:{dynamicTags:function(e){this.$emit("input",this.dynamicTags.join(""))}},mounted:function(){},methods:{handleClose:function(e){this.dynamicTags.splice(this.dynamicTags.indexOf(e),1)},showInput:function(){var e=this;this.inputVisible=!0,this.$nextTick(function(t){(0,o.default)(this,e),this.$refs.saveTagInput.focus()}.bind(this))},handleInputConfirm:function(){var e=this.inputValue;e&&(this.inputVisible&&(e="${writeTitle["+e+"]}"),this.dynamicTags.push(e)),this.inputVisible=!1,this.inputValue=""},getType:function(e){return e.indexOf("${field")>=0?"success":null},setField:function(e){void 0!==e&&this.dynamicTags.push("${field["+e+"]}"),this.showFormFields=!1}}};t.default=c},function(e,t,n){"use strict";n.r(t);var r=n(144),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(7),n(1),n(1);var o=r(n(12)),i=r(n(9)),a=n(11);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c={name:"FormFields",props:{fields:{type:Array,default:null}},data:function(){return{selectedField:null,copyShowFields:[],showFields:[],searchFormCode:""}},computed:l(l({},(0,a.mapGetters)("wfEditor",["formFields"])),{},{allFields:function(){return this.fields?this.fields:this.formFields}}),mounted:function(){this.copyAllFields=this.allFields,this.showFields=this.allFields},methods:{setField:function(){this.$emit("close",this.selectedField)},searchForm:function(){var e=this;this.searchFormCode&&""!==this.searchFormCode?this.showFields=this.copyAllFields.filter(function(t){return(0,o.default)(this,e),t.name.indexOf(this.searchFormCode)>-1||t.label.indexOf(this.searchFormCode)>-1}.bind(this)):this.showFields=this.copyAllFields}}};t.default=c},function(e,t,n){"use strict";n.r(t);var r=n(146),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(40),n(23),n(1),n(6),n(18),n(19),n(25),n(5),n(3),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),n(41),n(6),n(19),n(18),n(1),n(42),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=n(10),a=r(n(462)),s=n(278);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var f={name:"CustomActions",components:{AdditionalConditionDialog:a.default},props:{value:{type:Object,default:null}},data:function(){var e=[],t=1;if(this.value.action)if(Array.isArray(this.value.action)){var n,r=u(this.value.action);try{for(r.s();!(n=r.n()).done;){var o=n.value;e.push(c(c({},o),{},{id:t})),t++}}catch(e){r.e(e)}finally{r.f()}}else e.push(c(c({},this.value.action),{},{id:t})),t++;return{actions:e,actionTypes:[{type:"SAVE",label:(0,i.getI18n)().t("workflowEditor.task.save")},{type:"SUBMIT",label:(0,i.getI18n)().t("workflowEditor.task.submission")},{type:"APPROVE",label:(0,i.getI18n)().t("workflowEditor.task.agree")},{type:"REFUSE",label:(0,i.getI18n)().t("workflowEditor.task.disagree")},{type:"AGREEMENT",label:(0,i.getI18n)().t("workflowEditor.task.favor")},{type:"OPPOSE",label:(0,i.getI18n)().t("workflowEditor.task.opposition")},{type:"KIKEN",label:(0,i.getI18n)().t("workflowEditor.task.waiver")},{type:"DRAW",label:(0,i.getI18n)().t("workflowEditor.task.receive")},{type:"ABANDON_DRAW",label:(0,i.getI18n)().t("workflowEditor.task.giveUp")},{type:"ADD_SIGN",label:(0,i.getI18n)().t("workflowEditor.task.additionalSignature")},{type:"REMOVE_SIGN",label:(0,i.getI18n)().t("workflowEditor.task.reductionOfSignature")},{type:"ASSIGN_TASK",label:(0,i.getI18n)().t("workflowEditor.task.assignTask")},{type:"COPY",label:(0,i.getI18n)().t("workflowEditor.task.copyTask")},{type:"GET_BACK_BUTTON",label:(0,i.getI18n)().t("workflowEditor.task.retrieveTask")},{type:"READED",label:(0,i.getI18n)().t("workflowEditor.task.readTask")},{type:"EXPORT_REPORT",label:(0,i.getI18n)().t("workflowEditor.task.exportReport")}],currentRow:null,count:t,showAdditionalCondition:!1}},mounted:function(){this.actions.length>0&&this.selectRow(this.actions[this.actions.length-1]),this.$watch("actions",(function(e,t){var n,r=[],o=u(this.actions);try{for(o.s();!(n=o.n()).done;){var i=c({},n.value);delete i.id,r.push(i)}}catch(e){o.e(e)}finally{o.f()}this.$emit("input",{action:r})}),{deep:!0})},methods:{selectRow:function(e){this.$refs.table.setCurrentRow(e)},getRowIndex:function(e){for(var t=0;t<this.actions.length;t++)if(this.actions[t].id===e.id)return t;return-1},handleCurrentChange:function(e){this.currentRow=e},isDuplicated:function(e){var t=this.getRowIndex(this.currentRow);console.log("index:"+t);for(var n=0;n<this.actions.length;n++)n!==t&&this.actions[n].type===e&&(this.$alert(this.$t("workflowEditorMessage.duplicateOperationTypeWithLinePleaseReselect",{row:n+1})),this.currentRow.type="")},add:function(){for(var e=0;e<this.actions.length;e++){var t=this.actions[e];if(""===t.type||""===t.label)return void this.$alert(this.$t("workflowEditorMessage.theOperationTypeOrNameInLineIsEmpty",{row:e+1}))}var n={id:this.count,type:"",label:"",visible:!0,condition:""};this.actions.push(n),this.selectRow(n),this.count++},remove:function(){var e=this.getRowIndex(this.currentRow);this.actions.splice(e,1),this.actions.length>0&&(e=e<=this.actions.length-1?e:this.actions.length-1,this.$refs.table.setCurrentRow(this.actions[e]))},formatCondition:function(e){if(""===e||!e)return this.$t("workflowEditor.task.nothing");var t=[];return(0,s.parseCondition)(t,e),(0,s.displayCondition)(t)},selectCondition:function(e){this.selectRow(e),this.currentRow||this.$set(this.currentRow,"condition",""),this.showAdditionalCondition=!0}}};t.default=f},function(e,t,n){"use strict";n.r(t);var r=n(148),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={name:"AdditionalConditionDialog",components:{AdditionalCondition:r(n(61)).default},props:{value:{type:String,default:""}},data:function(){return{condition:this.value}},watch:{value:function(e){this.condition=e}},methods:{setConditions:function(){this.$emit("input",this.condition),this.$emit("close")}}};t.default=o},function(e,t,n){"use strict";n.r(t);var r=n(150),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(7),n(1),n(1);var o=r(n(12)),i=r(n(9)),a=n(278),s=r(n(465)),l=n(11);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={name:"AdditionalCondition",components:{ValueSelectionDialog:s.default},props:{value:{type:String,default:null},isTransition:{type:Boolean,default:!1}},data:function(){var e=[],t=(0,a.parseCondition)(e,this.value);return{standardFields:a.standardFields,tableData:e,count:t,currentRow:null,currentInput:null,options:[],valueDialogTitle:null,showOrganization:!0,orgType:null}},computed:u(u({},(0,l.mapGetters)("wfEditor",["formFields"])),{},{availableStandardFields:function(){return"key"===this.currentInput?(0,a.getStandardFieldsByTacheType)(this.isTransition):(0,a.getRelatedStandardFields)(this.currentRow.key)}}),mounted:function(){this.tableData.length>0&&this.$refs.table.setCurrentRow(this.tableData[this.tableData.length-1]),this.$watch("tableData",(function(e,t){this.$emit("input",(0,a.generateCondition)(this.tableData))}),{deep:!0})},methods:{format:function(e,t){return console.log("row",t),""===e||null==e?"":(0,a.getFieldLabel)(e)},getOperatorOptions:function(e){return(0,a.getOperators)(e)},selectRow:function(e){this.$refs.table.setCurrentRow(e)},openValueDialog:function(e){this.showValueDialog=!0,this.selectRow(e)},closeValueDialog:function(e){void 0!==e&&""!==e&&("key"===this.currentInput&&this.currentRow.key!==e&&(this.currentRow.operator="",this.currentRow.value=""),this.currentRow[this.currentInput]=e),this.currentInput=""},getCondition:function(e){return e.key+" "+e.operator+" "+e.value},handleCurrentChange:function(e){this.currentRow=e},getRowIndex:function(e){for(var t=0;t<this.tableData.length;t++)if(this.tableData[t].id===e.id)return t;return-1},add:function(){(null===this.count||void 0===this.count||this.count.isNaN||"NaN"===this.count)&&(this.count=0);var e={id:this.count,leftBracket:"",key:"",operator:"",value:"",rightBracket:"",logicOperator:"condition.operator.or"};this.tableData.push(e),this.$refs.table.setCurrentRow(e),this.count++},insert:function(){if(null!==this.currentRow){var e={id:this.count,leftBracket:"",key:"",operator:"operator.text.eq",value:"",rightBracket:"",logicOperator:"condition.operator.or"};this.tableData.splice(this.getRowIndex(this.currentRow),0,e),this.$refs.table.setCurrentRow(e),this.count++}else this.$alert(this.$t("workflowEditorMessage.pleaseSelectARow"))},remove:function(){if(null!==this.currentRow){var e=this.getRowIndex(this.currentRow);this.tableData.splice(e,1),this.tableData.length>0&&(e=e<=this.tableData.length-1?e:this.tableData.length-1,this.$refs.table.setCurrentRow(this.tableData[e]))}else this.$alert(this.$t("workflowEditorMessage.pleaseSelectARow"))},view:function(){var e=(0,a.displayCondition)(this.tableData);""===e&&(e=this.$t("workflowEditorMessage.conditionsHaveNotBeenSet")),this.$confirm(e,this.$t("workflowEditorMessage.viewConditions"),{showConfirmButton:!1,showCancelButton:!1,callback:function(){}})},selectField:function(e){this.selectRow(e),this.currentInput="key",this.valueDialogTitle=this.$t("workflowEditorMessage.fieldSettings"),this.showOrganization=!1},selectValue:function(){this.currentInput="value",this.valueDialogTitle=this.$t("workflowEditorMessage.valueSetting"),this.showOrganization=!0,this.orgType=this.getStandardFieldOrgType()},getStandardFieldOrgType:function(){var e=this,t=this.standardFields.filter(function(t){return(0,o.default)(this,e),t.name===this.currentRow.key}.bind(this));return t.length>0?t[0].orgType:""},isTransitionOtherField:function(e){return(0,a.isTransitionOtherField)(e)}}};t.default=d},function(e,t,n){"use strict";n.r(t);var r=n(152),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(6),n(7),n(8),n(4);var r=n(2);n(4),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(3),n(1),n(1),n(5),n(3);var o=r(n(9)),i=r(n(467)),a=n(11),s=n(10);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={name:"ValueSelectionDialog",components:{InlineSystemRoleTree:i.default},props:{standardFields:{type:[Object,Array],default:null},title:{type:String,default:""},showOrganization:{type:Boolean,default:!0},showFormFields:{type:Boolean,default:!0},orgType:{type:String,default:""}},data:function(){var e=this.title,t="organization";return this.showOrganization||(t="standardFields"),this.title&&""!==this.title||(e=(0,s.getI18n)().t("workflowEditorMessage.pleaseSelectAValue")),{selectedValue:"",activeTab:t,titleName:e}},computed:c(c({},(0,a.mapGetters)("wfEditor",["formFields"])),{},{options:function(){if(Array.isArray(this.standardFields))return this.standardFields;for(var e=[],t=0,n=Object.keys(this.standardFields);t<n.length;t++){var r=n[t];e.push({name:r,label:this.standardFields[r]})}return e}}),watch:{activeTab:function(e){this.selectedValue=""}},methods:{setValue:function(){this.organizationResultValue(),""!==this.selectedValue?this.$emit("close",this.selectedValue):this.$alert(this.$t("workflowEditorMessage.pleaseSelectAValueInTheCurrentTab"))},orgSelect:function(e){e&&("user"===this.orgType?this.getSelectedUser(e.user,e.containBranch):"department"===this.orgType?this.getSelectedDepartmentOrWorkgroup(e.department,e.containBranch):"workgroup"===this.orgType?this.getSelectedDepartmentOrWorkgroup(e.workgroup,e.containBranch):"role"===this.orgType&&this.getSelectedRole(e.role))},organizationResultValue:function(){this.orgType&&"organization"===this.activeTab&&("user"===this.orgType?this.$refs.organizationTree.confirmSelectUser():"department"===this.orgType?this.$refs.organizationTree.selectDepartment():"workgroup"===this.orgType?this.$refs.organizationTree.selectWorkgroup():"role"===this.orgType&&this.$refs.organizationTree.selectRole())},getSelectedUser:function(e,t){var n=e.loginName,r=e.name;if(t){if(e.subCompanyId&&null!==e.subCompanyId)n=n+"~~"+e.subCompanyCode,r=r+"/"+e.subCompanyName;else n=n+"~~"+e.tenantCode,r=r+"/"+e.tenantName;this.selectedValue=r+"["+n+"]"}else this.selectedValue=e.name+"["+e.loginName+"]"},getSelectedDepartmentOrWorkgroup:function(e,t){this.selectedValue=e.name;var n=e.name;if(t){if(e.subCompanyId&&null!==e.subCompanyId)n=n+"/"+e.subCompanyName;else n=n+"/"+e.tenantName;this.selectedValue=n+"["+e.code+"]"}else this.selectedValue=e.name+"["+e.code+"]"},getSelectedRole:function(e){this.selectedValue=e.name+"["+e.code+"]"}}};t.default=u},function(e,t,n){"use strict";n.r(t);var r=n(154),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(7),n(1),n(1),n(5);var o=r(n(12)),i={name:"InlineSystemRoleTree",props:{multiple:{type:Boolean,default:!1}},data:function(){return{systemRoleTrees:null,filterText:"",defaultProps:{id:"id",label:"label",children:"children",isLeaf:"leaf"},containBranch:!1,tenantInfo:null,tenantNodeId:-1,allSearchNodeIds:[],allExpandNodeIds:[],isClickNode:!1,searchValue:null,selectNodeInfo:null}},computed:{},watch:{filterText:function(e){e||(this.searchValue=e,this.loadRole(this.tenantNodeId,this.tenantNodeId+""))}},created:function(){},methods:{loadNode:function(e,t){var n,r=0;0===e.level?n=(r=0)+"":(r=e.data.id,n=e.data.nodeId);var o=[];this.$refs.roleTree&&(o=this.$refs.roleTree.getCheckedKeys()),this.initLoadRole(r,n,e,t,o)},initLoadRole:function(e,t,n,r,i){var a=this;this.$http.get(this.baseAPI+"/acs/roles/system-role-trees/"+e).then(function(s){if((0,o.default)(this,a),r(s),this.$refs.roleTree.updateKeyChildren(t,s),0===e){var l=s[0].data;this.tenantInfo=JSON.parse(l),this.containBranch=s[0].containBranch,this.loadRole(this.tenantNodeId,this.tenantNodeId+"")}this.isClickNode?(this.isClickNode=!1,this.checkedNodeAndChildren(n.data)):i&&i.indexOf(t)>-1&&this.checkedNodeAndChildren(n.data)}.bind(this))},loadRole:function(e,t,n,r){var i=this;this.$http.get(this.baseAPI+"/acs/roles/system-role-trees/"+e).then(function(e){(0,o.default)(this,i),this.$refs.roleTree.updateKeyChildren(t,e),this.$refs.roleTree.store.nodesMap[t]&&(this.$refs.roleTree.store.nodesMap[t].expanded=!0),n&&(-1===this.allExpandNodeIds.indexOf(t)&&this.allExpandNodeIds.push(t),this.allExpandNodeIds.length===this.allSearchNodeIds.length&&(this.$refs.roleTree.filter(r),this.allExpandNodeIds=[],this.allSearchNodeIds=[]))}.bind(this))},clickSearch:function(){this.searchValue=this.filterText,this.filterAppendNodes(this.filterText)},filterAppendNodes:function(e){var t=this;this.$http.get(this.baseAPI+"/acs/roles/search-system-role-trees?searchValue="+e).then(function(n){var r=this;if((0,o.default)(this,t),n){if(0===n.length)return void this.$message({showClose:!0,type:"error",message:this.$t("workflowEditorMessage.queryResultIsEmpty")});n.forEach(function(t){(0,o.default)(this,r);var n="SYSTEM_"+t;-1===this.allSearchNodeIds.indexOf(n)&&(this.allSearchNodeIds.push(n),this.loadRole(t,n,!0,e))}.bind(this))}else this.$message({showClose:!0,type:"error",message:this.$t("workflowEditorMessage.queryResultIsEmpty")})}.bind(this))},handleCheckNode:function(e,t){var n=this;t.checkedKeys.indexOf(e.nodeId)>-1?e.children?(this.$refs.roleTree.store.nodesMap[e.nodeId].expanded=!0,this.checkedNodeAndChildren(e)):e.leaf||this.$http.get(this.baseAPI+"/acs/roles/system-role-trees/"+e.id).then(function(t){(0,o.default)(this,n),this.$refs.roleTree.updateKeyChildren(e.nodeId,t),this.$refs.roleTree.store.nodesMap[e.nodeId].expanded=!0,this.checkedNodeAndChildren(e)}.bind(this)):this.cancelChildCheckedNodes(e)},checkedNodeAndChildren:function(e){var t=this;this.$refs.roleTree.store.nodesMap[e.nodeId].expanded=!0,this.$refs.roleTree.setChecked(e.nodeId,!0);var n=e.children;n&&n.forEach(function(e){(0,o.default)(this,t),this.checkedNodeAndChildren(e)}.bind(this))},cancelChildCheckedNodes:function(e){var t=this;e.id!==this.tenantNodeId&&this.$refs.roleTree.setChecked(this.tenantNodeId+"",!1);var n=e.children;n&&n.forEach(function(e){(0,o.default)(this,t),this.$refs.roleTree.setChecked(e.nodeId,!1),this.cancelChildCheckedNodes(e)}.bind(this))},selectRole:function(){var e=this;if(this.multiple){var t={containBranch:this.containBranch,roles:[]},n=[];this.$refs.roleTree.getCheckedNodes().forEach(function(t){if((0,o.default)(this,e),"ROLE"===t.nodeType){var r=JSON.parse(t.data);r.tenantCode=this.tenantInfo.code,r.tenantName=this.tenantInfo.tenantName,n.push(r)}}.bind(this)),t.roles=n,t.length>0?this.$emit("result",t):this.$message({showClose:!0,type:"warning",message:this.$t("workflowEditor.pleaseSelectRole")})}else this.selectNodeInfo?this.$emit("result",this.selectNodeInfo):this.$message({showClose:!0,type:"warning",message:this.$t("workflowEditor.pleaseSelectRole")})},filterNode:function(e,t,n){if(e){var r=t.label;return"ROLE"===t.nodeType&&-1!==r.indexOf(e)}return!0},handleNodeClick:function(e,t,n){if(this.multiple&&this.clickNodeWhenMultiple(e),console.log(e),"ROLE"===e.nodeType&&!this.multiple){var r=JSON.parse(e.data);r.tenantName=this.tenantInfo.tenantName,r.tenantCode=this.tenantInfo.code;var o={id:e.id,name:e.name,containBranch:this.containBranch,role:r};this.selectNodeInfo=o}},clickNodeWhenMultiple:function(e){var t=[];if(this.$refs.roleTree&&(t=this.$refs.roleTree.getCheckedKeys()),t.indexOf(e.nodeId)>-1)this.$refs.roleTree.setChecked(e.nodeId,!1),this.cancelChildCheckedNodes(e),this.$refs.roleTree.store.nodesMap[e.nodeId].expanded=!0;else{this.$refs.roleTree.setChecked(e.nodeId,!0);var n=e.childDepartments;n&&n.length>0?this.checkedNodeAndChildren(e):this.isClickNode=!0}},renderContent:function(e,t){var n=t.node,r=t.data;t.store;return r.nodeType&&"ROLE"===r.nodeType&&this.searchValue&&r.label.indexOf(this.searchValue)>-1?e("span",[e("span",{class:"searchResult"},[n.label])]):e("span",[e("span",[n.label])])}}};t.default=i},function(e,t,n){"use strict";n.r(t);var r=n(156),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=r(n(682)),a=n(11);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var l={name:"I18nInput",components:{I18nSet:i.default},model:{prop:"value",event:"input"},props:{value:{type:String,default:""},i18nKey:{type:String,default:""}},data:function(){var e=this.value;return{isShowI18n:!1,myI18nKey:this.i18nKey,zh:e}},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},(0,a.mapGetters)("wfEditor",["processCode"])),mounted:function(){this.$watch("zh",(function(e){this.$emit("input",e)}))},created:function(){},methods:{i18nSet:function(){this.myI18nKey?this.isShowI18n=!0:this.$message({showClose:!0,type:"warning",message:this.$t("workflowEditorMessage.pleaseInputCode")})},closeI18nSet:function(e){e&&this.$emit("setI18n",e),this.isShowI18n=!1}}};t.default=l},function(e,t,n){"use strict";n.r(t);var r=n(158),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(6),n(7),n(8),n(4);var r=n(2);n(4),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(3),n(23),n(25),n(5),n(3),n(5);var o=r(n(12)),i=r(n(9)),a=n(10),s=n(11);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var c={name:"I18nSet",props:{value:{type:Object,default:null}},data:function(){var e={};return this.value&&(e=JSON.parse(JSON.stringify(this.value))),{requiredRule:{required:!0,message:(0,a.getI18n)().t("workflowEditor.process.cannotBeEmpty"),trigger:"blur"},i18nModel:e,bundleCode:null,isShow:!1,i18nKey:null,languages:{}}},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},(0,s.mapGetters)("wfEditor",["systemCode","processCode"])),created:function(){this.bundleCode=this.systemCode+".workflow."+this.processCode,this.getI18nSet()},methods:{getI18nSet:function(){var e=this;this.$http.get(this.baseAPI+"/wf-editor/i18n-settings/languages").then(function(t){var n=this;(0,o.default)(this,e);var r={bundleCode:this.bundleCode,i18nKey:this.i18nModel.key};this.$http.post(this.baseAPI+"/wf-editor/i18n-settings/get-info",r).then(function(e){var r=this;(0,o.default)(this,n),this.languages=t,Object.keys(this.languages).forEach(function(t){(0,o.default)(this,r),e&&e[t]?this.$set(this.i18nModel.values,t,e[t]):this.i18nModel.values[t]||this.$set(this.i18nModel.values,t,"")}.bind(this)),this.isShow=!0}.bind(this))}.bind(this))},saveI18nSet:function(e){var t=this;this.$refs[e].validate(function(e){var n=this;if((0,o.default)(this,t),!e)return console.log("error submit!!"),!1;this.i18nModel.bundleCode=this.bundleCode,this.i18nModel.systemCode=this.systemCode,console.log("this.i18nModel---",this.i18nModel),this.$http.post(this.baseAPI+"/wf-editor/i18n-settings",this.i18nModel).then(function(){(0,o.default)(this,n),console.log("更新成功-----"),this.$emit("close",this.i18nModel.key)}.bind(this))}.bind(this))},goBack:function(){this.$emit("close")}}};t.default=c},function(e,t,n){"use strict";n.r(t);var r=n(160),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(15)),i={name:"SelectMailTemplates",model:{prop:"value",event:"input"},props:{value:{type:String,default:""}},data:function(){return{baseURL:"",optionUrl:"",multiSelectData:[],showMailTemplateFlag:!1,code:this.value,options:{showColumns:"code,name"}}},created:function(){this.baseURL=o.default.prototype.baseURL,this.optionUrl="/mc/email-templates/list/0"},methods:{selectTemplate:function(){this.multiSelectData&&1===this.multiSelectData.length?(this.code=this.multiSelectData[0].code,this.$emit("set-value",this.code),this.showMailTemplateFlag=!1):this.$message({showClose:!0,type:"warning",message:this.$t("workflowEditorMessage.pleaseSelectARow")})},selectData:function(e,t){this.multiSelectData=e}}};t.default=i},function(e,t,n){"use strict";n.r(t);var r=n(162),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(30),n(1);var o=r(n(12)),i=r(n(686)),a=r(n(689)),s=r(n(61)),l=r(n(281)),c=n(10),u={name:"PermissionSettings",components:{EditableFields:i.default,UserSelection:l.default,AdditionalCondition:s.default,editableChildFields:a.default},props:{value:{type:Object,default:null}},data:function(){var e=this,t=(0,c.deepCopy)(this.value),n=["viewOpinion","editOpinion","requireOpinion","viewMeetingResult","viewVoteResult","viewFlowHistory","printForm"];n.forEach(function(n){(0,o.default)(this,e),t[n+"Checkbox"]=!!this.value[n].condition}.bind(this));var r=["add","delete","download"];return r.forEach(function(n){(0,o.default)(this,e),t.attachment[n+"Checkbox"]=!!this.value.attachment[n]&&!!this.value.attachment[n].condition,t.attachment.permission||(t.attachment[n]={permission:!1,condition:""})}.bind(this)),{formModel:t,attrNames:n,attachmentAttrNames:r}},mounted:function(){this.$watch("formModel",(function(e){var t=this,n={editForm:{},viewOpinion:{},editOpinion:{},requireOpinion:{},viewMeetingResult:{},viewVoteResult:{},viewFlowHistory:{},printForm:{},officialText:{},attachment:{},deleteInstance:{userCondition:""}};console.log("触发了watch"),n.editForm.permission=e.editForm.permission,e.editForm.permission&&(n.editForm.field=e.editForm.field,n.editForm.subTablePermission=e.editForm.subTablePermission),this.attrNames.map(function(r){(0,o.default)(this,t),n[r].permission=e[r].permission,e[r].permission&&e[r+"Checkbox"]?n[r].condition=e[r].condition:n[r].condition=""}.bind(this)),n.attachment.permission=e.attachment.permission,e.attachment.permission&&this.attachmentAttrNames.map(function(r){(0,o.default)(this,t),n.attachment[r]||(n.attachment[r]={}),n.attachment[r].permission=e.attachment[r].permission,e.attachment[r].permission&&e.attachment[r+"Checkbox"]?n.attachment[r].condition=e.attachment[r].condition:n.attachment[r].condition=""}.bind(this)),this.$emit("input",n)}),{deep:!0})},methods:{}};t.default=u},function(e,t,n){"use strict";n.r(t);var r=n(164),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(30),n(1),n(7),n(1);var o=r(n(12)),i=r(n(9)),a=r(n(687)),s=r(n(462)),l=n(11),c=n(278);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f={name:"EditableFields",components:{EditableFieldSelection:a.default,AdditionalConditionDialog:s.default},props:{value:{type:[Array,Object],default:null}},data:function(){var e=[];return""!==this.value&&null!==this.value&&void 0!==this.value&&(Array.isArray(this.value)?e=this.value:e.push(this.value)),{showFieldSelection:!1,showAdditionalCondition:!1,selectedFields:e,currentRow:null,multipleSelection:[]}},computed:d(d({},(0,l.mapGetters)("wfEditor",["formFieldsWithSub"])),{},{disabledFields:function(){var e=this;if(null===this.value||void 0===this.value)return[];var t=[];return Array.isArray(this.value)?this.value.map(function(n){(0,o.default)(this,e),t.push(n.name)}.bind(this)):t.push(this.value),t}}),mounted:function(){this.selectedFields.length>0&&this.selectRow(this.selectedFields[this.selectedFields.length-1])},methods:{handleCurrentChange:function(e){this.currentRow=e},handleSelectionChange:function(e){this.multipleSelection=e},selectRow:function(e){this.$refs.table.setCurrentRow(e)},add:function(){this.showFieldSelection=!0},getCurrentRowIndex:function(){for(var e=-1,t=0;t<this.selectedFields.length;t++)if(this.selectedFields[t].name===this.currentRow.name){e=t;break}return e},remove:function(){if(this.multipleSelection&&this.multipleSelection.length>0){for(var e=0;e<this.multipleSelection.length;e++){var t=this.multipleSelection[e];this.selectRow(t);var n=this.getCurrentRowIndex();this.selectedFields.splice(n,1)}this.$emit("input",this.selectedFields)}},setSelectedFields:function(e){null==e&&(e=[]),this.selectedFields=this.selectedFields.concat(e),this.selectRow(this.selectedFields[this.selectedFields.length-1]),this.$emit("input",this.selectedFields)},formatCondition:function(e){if(""===e||!e)return this.$t("workflowEditor.task.nothing");var t=[];return(0,c.parseCondition)(t,e),(0,c.displayCondition)(t)},getFieldLabel:function(e){var t=this,n=this.formFieldsWithSub.filter(function(n){return(0,o.default)(this,t),n.name===e.name}.bind(this));return n.length>0?n[0].label:""},selectCondition:function(e){this.selectRow(e),this.showAdditionalCondition=!0}}};t.default=f},function(e,t,n){"use strict";n.r(t);var r=n(166),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4),n(40),n(23),n(18),n(19),n(25),n(5);var r=n(2);n(41),n(6),n(19),n(18),n(42),n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(12)),i=r(n(9));n(1),n(1),n(30);var a=r(n(61)),s=n(11);function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var d={name:"EditableFieldSelection",components:{AdditionalCondition:a.default},props:{value:{type:Array,default:null},disabledFields:{type:Array,default:null}},data:function(){this.$createElement;return{availableFields:[],formModel:{selectedFields:[],constraintRule:"REQUIRED",showCondition:!1,condition:""},availableFieldsCount:null,orange:-1,pin:!1,renderTransferFunc:function(e,t){return 0===t.name.indexOf("$")?e("span",{style:"color:#409EFF"},[t.label]):e("span",[t.label])}}},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},(0,s.mapGetters)("wfEditor",["formFieldsWithSub"])),created:function(){var e=this,t=0;this.formFieldsWithSub.map(function(n){(0,o.default)(this,e),this.disabledFields.indexOf(n.name)<0&&(n.index=t,this.availableFields.push(n),t++)}.bind(this));var n=this.availableFields.length;this.$set(this,"availableFieldsCount",Math.ceil(n/3))},mounted:function(){var e=this;window.addEventListener("keydown",function(t){(0,o.default)(this,e),console.log("按住"),16===t.keyCode&&t.shiftKey&&(this.pin=!0)}.bind(this)),window.addEventListener("keyup",function(t){(0,o.default)(this,e),console.log("松开"),16===t.keyCode&&(this.pin=!1)}.bind(this))},methods:{filterMethod:function(e,t){return!!(t.label&&t.label.indexOf(e)>-1)||(console.log("filterMethod--item.label=",t.label,t),!1)},setSelectedFields:function(){var e,t=[],n=l(this.formModel.selectedFields);try{for(n.s();!(e=n.n()).done;){var r=e.value;t.push({name:r,constraintRule:this.formModel.constraintRule,condition:this.formModel.showCondition?this.formModel.condition:""})}}catch(e){n.e(e)}finally{n.f()}this.$emit("input",t),this.$emit("close")},pinSelect:function(e,t){console.log(e,t);var n=this.availableFields,r=this.origin,o=t;if(this.pin&&-1!==this.formModel.selectedFields.indexOf(e)){console.log(this.formModel.selectedFields.indexOf(e));for(var i=Math.abs(r-o)+1,a=Math.min(r,o),s=0;s<i;){var l=a+s;-1===this.formModel.selectedFields.indexOf(n[l].name)&&this.formModel.selectedFields.push(n[l].name),s++}}else this.origin=t}}};t.default=d},function(e,t,n){"use strict";n.r(t);var r=n(168),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1),n(480),n(480),n(1);var o=r(n(12));n(5);var i=r(n(9)),a=r(n(690)),s=r(n(279)),l=n(11);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={name:"EditableChildFields",components:{editableChildFieldSetting:a.default},props:{value:{type:[Array,Object],default:null}},data:function(){var e=[];return""!==this.value&&null!==this.value&&void 0!==this.value&&(Array.isArray(this.value)?e=this.value:e.push(this.value)),{selectedFields:e,selectedFieldMap:{}}},computed:u({},(0,l.mapGetters)("wfEditor",["subtableConditionMap"])),watch:{},created:function(){var e=this;if(this.selectedFields&&this.selectedFields.length>0&&this.selectedFields.forEach(function(t){var n=this;(0,o.default)(this,e);var r={},i=t.tableName;if(t.action)if(Array.isArray(t.action)){if(t.action.length>0){var a=[],s={};t.action.forEach(function(e){(0,o.default)(this,n),a.push(e.name);var t={};e.condition&&(t.condition=this.xmlToData(e.condition)),t.parentCondition=e.parentCondition,t.userCondition=e.userCondition,s[e.name]=t}.bind(this)),r.actionArr=a,r.visibleConditionArr=s}}else{var l=[],c={};l.push(t.action.name);var u={};t.action.condition&&(u.condition=this.xmlToData(t.action.condition)),u.parentCondition=t.action.parentCondition,u.userCondition=t.action.userCondition,c[t.action.name]=u,r.actionArr=l,r.visibleConditionArr=c}if(t.field)if(Array.isArray(t.field)){if(t.field.length>0){var d=[];t.field.forEach(function(e){(0,o.default)(this,n);var t={};t.name=e.name,t.constraintRule=e.constraintRule,t.condition=this.xmlToData(e.condition),t.userCondition=e.userCondition,t.parentCondition=e.parentCondition,d.push(t)}.bind(this)),r.fieldArr=d}}else{var f=[],p={};p.name=t.field.name,p.constraintRule=t.field.constraintRule,p.condition=this.xmlToData(t.field.condition),p.userCondition=t.field.userCondition,p.parentCondition=t.field.parentCondition,f.push(p),r.fieldArr=f}t.modelName?r.modelName=t.modelName:r.modelName=null,t.permission?r.sumPermission=t.permission:r.sumPermission=!1,this.$set(this.selectedFieldMap,i,r)}.bind(this)),this.subtableConditionMap)for(var t in this.subtableConditionMap)if(!this.selectedFieldMap[t]){var n={};n.tableName=t,n.modelName=this.subtableConditionMap[t].modelName,n.sumPermission=!1,this.$set(this.selectedFieldMap,t,n)}},mounted:function(){},methods:u(u({},s.default),{},{combinationParameters:function(e){var t=this;if(e&&e.tableName){if(this.selectedFields&&this.selectedFields.length>0){var n=this.selectedFields.findIndex(function(n){return(0,o.default)(this,t),n.tableName===e.tableName}.bind(this));-1!==n?this.$set(this.selectedFields,n,e):this.selectedFields.push(e)}else this.selectedFields=[],this.selectedFields.push(e);this.$emit("input",this.selectedFields)}},refreshModelName:function(e){if(this.subtableConditionMap&&this.subtableConditionMap[e]&&this.subtableConditionMap[e].modelName){if(this.selectedFieldMap[e]){this.selectedFieldMap[e].modelName=this.subtableConditionMap[e].modelName}else{var t={};t.modelName=this.subtableConditionMap[e].modelName,this.$set(this.selectedFieldMap,e,t)}this.$message({showClose:!0,type:"success",message:this.$t("workflowEditorMessage.updateSuccessful")})}},changeSumPermission:function(e){var t=this;if(e&&this.selectedFieldMap[e])if(this.selectedFields||this.$set(this,"selectedFields",[]),!1===this.selectedFieldMap[e].sumPermission){var n=this.selectedFields.findIndex(function(n){return(0,o.default)(this,t),n.tableName===e}.bind(this));null!=n&&-1!==n?this.$set(this.selectedFields[n],"permission",!1):this.$set(this.selectedFields,this.selectedFields.length,{permission:!1,tableName:e})}else{var r=this.selectedFields.findIndex(function(n){return(0,o.default)(this,t),n.tableName===e}.bind(this));null!=r&&-1!==r?this.$set(this.selectedFields[r],"permission",!0):this.$set(this.selectedFields,this.selectedFields.length,{permission:!0,tableName:e})}this.$emit("input",this.selectedFields)}})};t.default=d},function(e,t,n){"use strict";n.r(t);var r=n(170),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1);var o=r(n(12));n(5),n(1);var i=r(n(9)),a=n(11),s=r(n(691)),l=r(n(279));function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={name:"EditableChildFieldSetting",components:{selectionConditions:s.default},props:{setting:{type:Object,default:null},tableName:{type:String,default:null}},data:function(){var e=[];this.setting&&this.setting.actionArr&&(e=this.setting.actionArr);var t,n,r,o=[];return this.setting&&this.setting.fieldArr&&(o=this.setting.fieldArr),this.setting&&this.setting.visibleConditionArr&&(t=this.setting.visibleConditionArr),this.setting&&this.setting.modelName&&(n=this.setting.modelName),this.setting&&null!==this.setting.sumPermission&&(r=this.setting.sumPermission),{sumPermission:r,subtableConditionItem:null,attributeArr:null,showAdditionalCondition:!1,currentRow:null,multipleSelection:null,actionArr:e,fieldArr:o,queryList:null,fieldMap:null,fieldNameMap:null,actionVisibleConditionArr:t,buttonType:null,buttonVisibleCon:null,showButtonVisibleFlag:!1,clickButton:!1,operationArr:[],modelName:n}},watch:{setting:{handler:function(e,t){e&&e.actionArr&&(this.actionArr=e.actionArr),e&&e.fieldArr&&(this.fieldArr=e.fieldArr),e&&e.actionVisibleConditionArr&&(this.actionVisibleConditionArr=e.actionVisibleConditionArr),this.modelName=e.modelName,this.sumPermission=e.sumPermission,this.combinationParameters()},deep:!0}},computed:u({},(0,a.mapGetters)("wfEditor",["subtableConditionMap"])),created:function(){this.subtableConditionMap&&this.tableName&&(this.subtableConditionItem=this.subtableConditionMap[this.tableName],this.getAttributeArr())},mounted:function(){this.subtableConditionMap&&this.tableName&&(this.subtableConditionItem=this.subtableConditionMap[this.tableName],this.subtableConditionMap[this.tableName]&&(this.attributeArr=this.subtableConditionItem.attributeArr))},methods:u(u({},l.default),{},{getAttributeArr:function(){this.subtableConditionItem&&this.subtableConditionItem.attributeArr&&(this.queryList=this.subtableConditionItem.attributeArr,this.fieldMap=this.subtableConditionItem.fieldMap,this.fieldNameMap=this.subtableConditionItem.fieldNameMap)},savebuttonSetting:function(e){e&&(this.$set(this.currentRow,"condition",e.condition),this.$set(this.currentRow,"userCondition",e.userCondition),this.$set(this.currentRow,"parentCondition",e.parentCondition),this.combinationParameters()),this.showAdditionalCondition=!1},handleCurrentChange:function(e){this.currentRow=e},handleSelectionChange:function(e){this.multipleSelection=e},selectRow:function(e){this.$refs.table.setCurrentRow(e)},add:function(){this.fieldArr||(this.fieldArr=[]),this.fieldArr.push({name:null,constraintRule:null,condition:null}),this.combinationParameters()},getCurrentRowIndex:function(){for(var e=-1,t=0;t<this.fieldArr.length;t++)if(this.fieldArr[t].name===this.currentRow.name){e=t;break}return e},remove:function(){if(this.multipleSelection&&this.multipleSelection.length>0){for(var e=0;e<this.multipleSelection.length;e++){var t=this.multipleSelection[e];this.selectRow(t);var n=this.getCurrentRowIndex();this.fieldArr.splice(n,1)}this.combinationParameters()}},selectCondition:function(e){this.selectRow(e),this.showAdditionalCondition=!0},showButtonVisible:function(e){this.clickButton=!0,this.buttonType=e,this.actionVisibleConditionArr&&this.actionVisibleConditionArr[e]?(this.buttonVisibleCon=this.actionVisibleConditionArr[e],this.$set(this,"buttonVisibleCon",this.actionVisibleConditionArr[e])):this.$set(this,"buttonVisibleCon",{}),this.$set(this,"showButtonVisibleFlag",!0)},saveButtonVisible:function(e){e&&(this.actionVisibleConditionArr||(this.actionVisibleConditionArr={}),this.$set(this.actionVisibleConditionArr,this.buttonType,e),this.combinationParameters()),this.showButtonVisibleFlag=!1},changeActionArr:function(){this.clickButton?(this.actionArr.push(this.buttonType),this.clickButton=!1):this.combinationParameters()},combinationParameters:function(){var e=this,t={};t.modelName=this.modelName,t.tableName=this.tableName,t.permission=this.sumPermission;var n=[];if(this.actionArr&&this.actionArr.length>0&&(this.actionArr.forEach(function(t){(0,o.default)(this,e);var r={};if(r.name=t,this.actionVisibleConditionArr&&this.actionVisibleConditionArr[t]){var i=this.actionVisibleConditionArr[t];r.condition=this.dataToXml(i.condition),r.parentCondition=i.parentCondition,r.userCondition=i.userCondition}n.push(r)}.bind(this)),t.action=n),this.fieldArr&&this.fieldArr.length>0){var r=[];this.fieldArr.forEach(function(t){(0,o.default)(this,e);var n={};n.name=t.name,n.constraintRule=t.constraintRule,t.condition&&(n.condition=this.dataToXml(t.condition)),n.userCondition=t.userCondition,n.parentCondition=t.parentCondition,r.push(n)}.bind(this)),t.field=r}console.log("触发combinationParameters",t),this.$emit("combinationParameters",t)}})};t.default=d},function(e,t,n){"use strict";n.r(t);var r=n(172),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(7);var o=r(n(12)),i=r(n(52)),a=r(n(9)),s=r(n(279)),l=r(n(61)),c=r(n(280)),u=n(11);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p={components:{AdditionalCondition:l.default,CommonUserCondition:c.default},props:{conditionList:{type:[Array,String],default:null},userCondition:{type:String,default:null},parentCondition:{type:String,default:null},attributeMap:{type:Object,default:null},isAdd:{type:Boolean,default:!1}},data:function(){var e,t;return this.userCondition&&""!==this.userCondition&&(e=this.userCondition),this.parentCondition&&""!==this.parentCondition&&(t=this.parentCondition),{myUserCondition:e,myParentCondition:t,tableData:null,attributeArr:[],fieldMap:{},fieldNameMap:{},queryList:[],operationArr:[],parentAttributeArr:[]}},created:function(){this.getAttributeArr()},computed:f({},(0,u.mapGetters)("wfEditor",["propSettingKeyList"])),mounted:function(){this.conditionList&&("object"===(0,i.default)(this.conditionList)?this.tableData=this.conditionList:this.tableData=this.xmlToData(this.conditionList),this.getOperatorsArr(this.tableData))},methods:f(f({},s.default),{},{add:function(){this.tableData||(this.tableData=[]),this.tableData.push({leftBracket:"",propName:"",operator:"",propValue:"",rightBracket:"",logicOperator:"condition.operator.or",dataType:"",propDbName:""}),this.operationArr.push([])},remove:function(){if(null!==this.currentRow){var e=this.getRowIndex(this.currentRow);this.tableData.splice(e,1),this.tableData.length>0&&(e=e<=this.tableData.length-1?e:this.tableData.length-1,this.$refs.table.setCurrentRow(this.tableData[e]))}else this.$alert(this.$t("workflowEditorMessage.pleaseSelectARow"))},changeFieldName:function(e){var t=this.currentRow.propName,n=this.fieldMap[t];n&&(this.tableData[e].dataType=n.type,this.tableData[e].propDbName=n.propDbName),this.operationArr[e]=this.getOperators(n)},getAttributeArr:function(){this.attributeMap&&this.attributeMap.attributeArr&&(this.attributeArr=this.attributeMap.attributeArr,this.queryList=this.attributeMap.attributeArr,this.fieldMap=this.attributeMap.fieldMap,this.fieldNameMap=this.attributeMap.fieldNameMap,this.parentAttributeArr=this.attributeMap.parentAttributeArr)},selectRow:function(e){this.attributeArr=this.queryList,this.$refs.table.setCurrentRow(e)},handleCurrentChange:function(e){this.currentRow=e},searchField:function(e){var t=this;e&&(this.attributeArr=this.queryList.filter(function(n){return(0,o.default)(this,t),n.label.indexOf(e)>-1||n.value.indexOf(e)>-1}.bind(this)))},getRowIndex:function(e){for(var t=0;t<this.tableData.length;t++)if(this.tableData[t].propName===e.propName)return t;return-1},savebuttonSetting:function(){if(this.tableData&&this.tableData.length>0)for(var e=0;e<this.tableData.length;e++){if(!this.tableData[e].propName)return void this.$alert(this.$t("workflowEditorMessage.blankFieldNameOrValue"))}var t={userCondition:this.myUserCondition,parentCondition:this.myParentCondition,condition:this.tableData};this.$emit("close",t)},closeButtonSetting:function(){this.$emit("close",null)},changePropValue:function(e){this.tableData[e]&&this.tableData[e].propValue?this.tableData[e].propValueType&&("request"===this.tableData[e].propValueType&&(-1===this.tableData[e].propValue.indexOf("${request.")&&(this.tableData[e].propValue="${request."+this.tableData[e].propValue),-1===this.tableData[e].propValue.indexOf("}")&&(this.tableData[e].propValue=this.tableData[e].propValue+"}")),"input"===this.tableData[e].propValueType&&(-1===this.tableData[e].propValue.indexOf("${input.")&&(this.tableData[e].propValue="${input."+this.tableData[e].propValue),-1===this.tableData[e].propValue.indexOf("}")&&(this.tableData[e].propValue=this.tableData[e].propValue+"}"))):this.$set(this.tableData[e],"propValueType",null)}})};t.default=p},function(e,t,n){"use strict";n.r(t);var r=n(174),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(465)),i=n(692),a=n(50),s={name:"CommonUserCondition",components:{ValueSelectionDialog:o.default},props:{value:{type:String,default:null},usedIn:{type:String,default:"reminder"}},data:function(){var e=[],t=0;return this.value&&""!==this.value&&(t=(0,i.parseCondition)(e,this.value)),{users:e,count:t,currentRow:null,showValueDialog:!1}},computed:{standardFields:function(){var e="reminder"===this.usedIn?i.userStandardFieldsForReminder:i.userStandardFieldsForTransactor;return"${department}"===this.currentRow.key?e="reminder"===this.usedIn?i.departmentStandardFieldsForReminder:i.departmentStandardFieldsForTransactor:"${workgroup}"===this.currentRow.key?e="reminder"===this.usedIn?i.workgroupStandardFieldsForReminder:i.workgroupStandardFieldsForTransactor:"${role}"===this.currentRow.key&&(e={}),e}},mounted:function(){this.users.length>0&&this.$refs.table.setCurrentRow(this.users[this.users.length-1]),this.$watch("users",(function(e,t){this.$emit("input",(0,i.generateUserCondition)(this.users))}),{deep:!0})},methods:{format:function(e){return e.indexOf("${field[")>=0?(0,a.getFormFieldLabel)(e):e.indexOf("${")>=0?(0,i.formatStandardValue)(e):e.substring(0,e.indexOf("["))},selectRow:function(e){this.$refs.table.setCurrentRow(e)},openValueDialog:function(e){this.showValueDialog=!0,this.selectRow(e)},closeValueDialog:function(e){console.log(e),void 0!==e&&""!==e&&(this.currentRow.value=e),this.showValueDialog=!1},getCondition:function(e){return e.key+" "+e.operator+" "+e.value},handleCurrentChange:function(e){this.currentRow=e},getRowIndex:function(e){for(var t=0;t<this.users.length;t++)if(this.users[t].id===e.id)return t;return-1},add:function(){var e={id:this.count,leftBracket:"",key:"${user}",operator:"operator.text.eq",value:"",rightBracket:"",logicOperator:"condition.operator.or"};this.users.push(e),this.$refs.table.setCurrentRow(e),this.count++},insert:function(){if(null!==this.currentRow){var e={id:this.count,leftBracket:"",key:"${user}",operator:"operator.text.eq",value:"",rightBracket:"",logicOperator:"condition.operator.or"};this.users.splice(this.getRowIndex(this.currentRow),0,e),this.$refs.table.setCurrentRow(e),this.count++}else this.$alert(this.$t("workflowEditorMessage.pleaseSelectARow"))},remove:function(){if(null!==this.currentRow){var e=this.getRowIndex(this.currentRow);this.users.splice(e,1),this.users.length>0&&(e=e<=this.users.length-1?e:this.users.length-1,this.$refs.table.setCurrentRow(this.users[e]))}else this.$alert(this.$t("workflowEditorMessage.pleaseSelectARow"))},view:function(){var e=(0,i.displayUserCondition)(this.users);""===e&&(e=this.$t("workflowEditorMessage.conditionsHaveNotBeenSet")),this.$confirm(e,this.$t("workflowEditorPublicModel.viewConditions"),{showConfirmButton:!1,showCancelButton:!1,callback:function(){}})},handleKeyChange:function(e){this.currentRow.value=""}}};t.default=s},function(e,t,n){"use strict";n.r(t);var r=n(176),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(45),n(1),n(5);var o=r(n(12));n(20),n(20),n(7),n(1),n(45);var i=r(n(73)),a=r(n(693)),s=n(50),l={name:"UserSelection",components:{SystemRoleTree:a.default,FormFields:i.default},props:{label:{type:String,default:""},labelWidth:{type:String,default:null},value:{type:String,default:""},currentTransactor:{type:Boolean,default:!1}},data:function(){var e=!1,t="",n=this.value.split("; "),r=n[0].split(" condition.operator.or ");return 2===n.length&&(e=!0,t=n[1].split(" condition.operator.or "),r.push("assignUser")),{checkList:r,showUserList:e,selectedUsers:t,showSelectUser:!1,selectedUsersShowValue:null,showSelectDepartment:!1,showSelectWorkgroup:!1,showSelectRole:!1,showSelectField:!1}},watch:{checkList:function(e){this.$emit("input",this.getValue())},selectedUsers:function(e){this.$emit("input",this.getValue())}},created:function(){console.log(this.checkList),this.getSelectedUsersShowValue()},methods:{formatLabel:function(e){return(0,s.getFormFieldLabel)(e)},getValue:function(){var e=this,t=this.checkList.filter(function(t){return(0,o.default)(this,e),""!==t&&"assignUser"!==t}.bind(this)).join(" condition.operator.or ");return this.showUserList&&this.selectedUsers&&0!==this.selectedUsers.length&&(t=t+"; "+this.selectedUsers.join(" condition.operator.or ")),t},toggleUserList:function(){this.showUserList=!this.showUserList},resetSelectedUsers:function(){this.selectedUsers=[],this.selectedUsersShowValue=""},handleCommand:function(e){"selectUser"===e?this.selectPointUser():"selectDepartment"===e?this.selectPointDepartment():"selectRole"===e?this.selectPointRole():"selectWorkgroup"===e?this.selectPointWorkgroup():"selectField"===e&&this.selectPointField()},selectPointUser:function(){this.showSelectUser=!0},selectPointDepartment:function(){this.showSelectDepartment=!0},selectPointRole:function(){this.showSelectRole=!0},selectPointField:function(){this.showSelectField=!0},selectPointWorkgroup:function(){this.showSelectWorkgroup=!0},addPointUsers:function(e){e&&(e.containBranch?this.packageSelectedUserConditionsWithBranch(e.users):this.packageSelectedUserConditionsWithOutBranch(e.users),this.getSelectedUsersShowValue());this.showSelectUser=!1},packageSelectedUserConditionsWithBranch:function(e){var t=this;e.forEach(function(e){(0,o.default)(this,t);var n=e.loginName,r=e.name;e.subCompanyId&&null!==e.subCompanyId?(n=n+"~~"+e.subCompanyCode,r=r+"/"+e.subCompanyName):(n=n+"~~"+e.tenantCode,r=r+"/"+e.tenantName);var i="${user} operator.text.eq "+r+"["+n+"]";this.selectedUsers?0===this.selectedUsers.filter(this.filterCondition(i)).length&&this.selectedUsers.push(i):(this.selectedUsers=[],this.selectedUsers.push(i))}.bind(this))},packageSelectedUserConditionsWithOutBranch:function(e){var t=this;e.forEach(function(e){(0,o.default)(this,t);var n="${user} operator.text.eq "+e.name+"["+e.loginName+"]";0===this.selectedUsers.filter(this.filterCondition(n)).length&&this.selectedUsers.push(n)}.bind(this))},getSelectedUsersShowValue:function(){if(this.selectedUsers){var e=this.selectedUsers.join(" condition.operator.or ");this.selectedUsersShowValue=e.replace(/\$\{user\}/g,"用户").replace(/\$\{department\}/g,"部门").replace(/\$\{workGroup\}/g,"工作组").replace(/\$\{role\}/g,"角色").replace(/operator\.text\.eq/g,"等于").replace(/condition\.operator\.or/g,"或者").replace(/\$\{field/g,"字段").replace(/]\}/g,"]")}},filterCondition:function(e){var t=this;return function(n){return(0,o.default)(this,t),n===e}.bind(this)},addPointDepartments:function(e){e&&(e.containBranch?this.packageSelectedDepartmentOrWorkgroupConditionsWithBranch(e.departments,"${department}"):this.packageSelectedDepartmentOrWorkgroupConditionsWithOutBranch(e.departments,"${department}"),this.getSelectedUsersShowValue());this.showSelectDepartment=!1},packageSelectedDepartmentOrWorkgroupConditionsWithBranch:function(e,t){var n=this,r=t+" operator.text.eq ";e.forEach(function(e){(0,o.default)(this,n);var t=e.code,i=e.name;if(e.subCompanyId&&null!==e.subCompanyId){var a=e.subCompanyName;a&&""!==a&&(i=i+"/"+a)}else i=i+"/"+e.tenantName;var s=r+i+"["+t+"]";this.selectedUsers?0===this.selectedUsers.filter(this.filterCondition(s)).length&&this.selectedUsers.push(s):(this.selectedUsers=[],this.selectedUsers.push(s))}.bind(this))},packageSelectedDepartmentOrWorkgroupConditionsWithOutBranch:function(e,t){var n=this,r=t+" operator.text.eq ";e.forEach(function(e){(0,o.default)(this,n);var t=r+e.name+"["+e.code+"]";this.selectedUsers?0===this.selectedUsers.filter(this.filterCondition(t)).length&&this.selectedUsers.push(t):(this.selectedUsers=[],this.selectedUsers.push(t))}.bind(this))},addPointWorkgroups:function(e){e&&(e.containBranch?this.packageSelectedDepartmentOrWorkgroupConditionsWithBranch(e.workgroups,"${workGroup}"):this.packageSelectedDepartmentOrWorkgroupConditionsWithOutBranch(e.workgroups,"${workGroup}"),this.getSelectedUsersShowValue());this.showSelectWorkgroup=!1},addPointRoles:function(e){e&&(this.packageSelectedDepartmentOrWorkgroupConditionsWithOutBranch(e.roles,"${role}"),this.getSelectedUsersShowValue()),this.showSelectRole=!1},packageSelectedFieldConditions:function(e,t){var n=t+" operator.text.eq "+"${field["+e+"]}";this.selectedUsers?0===this.selectedUsers.filter(this.filterCondition(n)).length&&this.selectedUsers.push(n):(this.selectedUsers=[],this.selectedUsers.push(n))},setField:function(e){void 0!==e&&(this.packageSelectedFieldConditions(e,"${user}"),this.getSelectedUsersShowValue()),this.showSelectField=!1}}};t.default=l},function(e,t,n){"use strict";n.r(t);var r=n(178),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={name:"SystemRoleTree",components:{InlineSystemRoleTree:r(n(467)).default},props:{multiple:{type:Boolean,default:!1}},computed:{},watch:{},created:function(){},methods:{roleResult:function(e){e?this.$emit("close",e):this.$emit("close")},selectRoles:function(){this.$refs.systemRoleTree.selectRole()}}};t.default=o},function(e,t,n){"use strict";n.r(t);var r=n(180),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=r(n(280)),a=r(n(73)),s=n(50);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={name:"TransactorSettings",components:{CommonUserCondition:i.default,FormFields:a.default},props:{model:{type:Object,default:null},usedIn:{type:String,default:"HumanTask"},isSubprocess:{type:Boolean,default:!1}},data:function(){var e={selectedField:""};return this.initFormModel(e),{showFormFields:!1,formModel:e}},mounted:function(){this.$watch("formModel",(function(){this.setTransactor(this.formModel.transactor);var e=c({},this.formModel.additionalCondition);e.selectOneFromMultiple?"customType"===e.selectType&&delete e.selectUrl:(delete e.selectType,delete e.selectUrl),this.model.additionalCondition=e}),{deep:!0})},methods:{formatLabel:function(e){return(0,s.getFormFieldLabel)(e)},initFormModel:function(e){e.userCondition="";var t=this.model.userCondition;void 0===t||""===t||null===t?(e.transactor="${instanceCreator}",this.model.userCondition="${instanceCreator}"):"${instanceCreator}"===t||"${previousTransactorAssignment}"===t?e.transactor=t:t.indexOf("${field[")>=0?(e.transactor="byField",e.selectedField=t):(e.transactor="byCondition",e.userCondition=t),this.initAdditionalCondition(e),void 0!==this.model.url?e.url=this.model.url:e.url=""},initAdditionalCondition:function(e){void 0===this.model.additionalCondition?e.additionalCondition={onlyInCreatorDepartment:!1,withCreatorDepartment:!1,selectOneFromMultiple:!1,selectType:"customType",selectUrl:""}:(e.additionalCondition=c({},this.model.additionalCondition),void 0===e.additionalCondition.selectType&&(e.additionalCondition.selectType="customType"))},changeA:function(e){this.setTransactor(e)},handleUrlChange:function(e){this.model.url=e},setTransactor:function(e){"${instanceCreator}"!==e&&"${previousTransactorAssignment}"!==e||(this.model.userCondition=e),"byField"===e&&(this.model.userCondition=this.formModel.selectedField),"byCondition"===e&&(this.model.userCondition=this.formModel.userCondition),this.model.url="${previousTransactorAssignment}"===e?this.formModel.url:"",this.model.additionalCondition="byCondition"===e?c({},this.formModel.additionalCondition):void 0},handleFieldSelection:function(e){},setField:function(e){void 0!==e&&(this.formModel.selectedField="${field["+e+"]}",this.model.userCondition=this.formModel.selectedField),this.showFormFields=!1}}};t.default=u},function(e,t,n){"use strict";n.r(t);var r=n(182),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(6),n(7),n(8),n(4);var r=n(2);n(4),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(30),n(20),n(3),n(1),n(1),n(5),n(3),n(20);var o=r(n(9)),i=r(n(12)),a=n(698),s=r(n(73)),l=n(50);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={name:"AutoFilledFields",components:{FormFields:s.default},props:{value:{type:Object,default:function(){return(0,i.default)(this,void 0),{}}.bind(void 0)}},data:function(){var e=this,t=[];if(void 0!==this.value.field&&null!==this.value.field)if(Array.isArray(this.value.field))this.value.field.map(function(n){(0,i.default)(this,e);var r=u({},n);"string"==typeof n.value&&-1!==n.value.indexOf("+")?r.value=n.value.split("+"):(r.value=[],r.value.push(n.value)),t.push(r)}.bind(this));else{var n=u({},this.value.field);"string"==typeof this.value.field.value&&-1!==this.value.field.value.indexOf("+")?n.value=this.value.field.value.split("+"):(n.value=[],n.value.push(this.value.field.value)),t.push(n)}return{tableData:t,currentRow:null,standardValues:a.standardValues,showFormFields:!1}},computed:{keys:function(){return Object.keys(this.standardValues)}},watch:{},mounted:function(){this.tableData&&this.tableData.length>0&&this.setCurrentRow(this.tableData[0]),this.$watch("tableData",(function(){var e=this,t=[];this.tableData.map(function(n){if((0,i.default)(this,e),""!==n.name&&n.value.length>0){var r=u({},n);r.value=n.value.join("+"),t.push(r)}}.bind(this)),this.$emit("input",{field:t})}),{deep:!0})},created:function(){},methods:{add:function(){for(var e=0;e<this.tableData.length;e++)if(""===this.tableData[e].name||""===this.tableData[e].value)return void this.$alert(this.$t("workflowEditorMessage.theFieldNameOrFieldValueInLineCannotBeEmpty",{row:e+1}));var t={name:"",value:[],separator:"",fillType:"cover",fillTime:"after"};this.tableData.push(t),this.setCurrentRow(t)},remove:function(){if(null!==this.currentRow){for(var e,t=0;t<this.tableData.length;t++)if(this.tableData[t].name===this.currentRow.name){e=t;break}this.tableData.splice(e,1),e=e<=this.tableData.length-1?e:this.tableData.length-1,this.setCurrentRow(this.tableData[e])}else this.$alert(this.$t("workflowEditorMessage.pleaseSelectARow"))},setCurrentRow:function(e){this.$refs.table.setCurrentRow(e)},handleCurrentChange:function(e){this.currentRow=e},checkName:function(e){this.showFormFields||""!==e||this.$alert(this.$t("workflowEditorMessage.fieldNameCannotBeEmpty"))},checkValue:function(e){0===e.length&&this.$alert(this.$t("workflowEditorMessage.fieldValueCannotBeEmpty"))},setField:function(e){void 0!==e&&(this.currentRow.name=e),this.showFormFields=!1},getFieldLabel:function(e){return(0,l.getFormFieldLabel)(e)}}};t.default=d},function(e,t,n){"use strict";n.r(t);var r=n(184),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(90),n(90);var o=r(n(493)),i=r(n(280)),a=r(n(89)),s=r(n(15)),l={name:"Reminder",components:{CommonNoticeTool:o.default,CommonUserCondition:i.default,SelectMailTemplates:a.default},props:{value:{type:[Object,String],default:null}},data:function(){var e=!1,t=!1,n={dueDate:1,dueTimeUnit:"day",repeat:1,containTransferUser:!1,containNoticeUser:!1,remindType:"mail",timeUnit:"day",remindTimes:0,noticeType:"",noticeUserCondition:"",transferUserCondition:""};return null!==this.value&&void 0!==this.value&&""!==this.value&&(n=this.value,e=!0,this.value.remindTimes>0&&(t=!0),n.dueTimeUnit||(n.dueTimeUnit="day")),{showReminder:e,showNotice:t,model:n,showMailTemplateFlag:!1,baseURL:"",optionUrl:"",multiSelectData:[],options:{showColumns:"code,name"}}},watch:{showReminder:function(e){e?this.$emit("input",this.model):this.$emit("input",null)},showNotice:function(e){e?this.$emit("input",this.model):this.$emit("input",{remindType:this.model.remindType,dueDate:this.model.dueDate,dueTimeUnit:this.model.dueTimeUnit,repeat:this.model.repeat,timeUnit:this.model.timeUnit,remindTimes:0,noticeType:"",noticeUserCondition:"",containTransferUser:!1,transferUserCondition:"",containNoticeUser:!1})}},created:function(){this.baseURL=s.default.prototype.baseURL,this.optionUrl="/bs/email-templates/list/0",this.$watch("model",(function(e,t){var n=null;this.showReminder&&((n=this.model).dueTimeUnit||(n.dueTimeUnit="day")),console.log(n),this.$emit("input",n)}),{deep:!0})},methods:{setMailTemplateCode:function(e){this.model.noticeMailTemplateCode=e},selectData:function(e,t){this.multiSelectData=e}}};t.default=l},function(e,t,n){"use strict";n.r(t);var r=n(186),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(20),n(20);var r={name:"CommonNoticeTool",props:{label:{type:String,default:null},value:{type:String,default:null}},data:function(){var e=[];return this.value&&""!==this.value&&null!==this.value&&(e=this.value.split(",")),{tools:e}},watch:{tools:function(e){this.$emit("input",this.tools.join(","))}}};t.default=r},function(e,t,n){"use strict";n.r(t);var r=n(188),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1);var o=r(n(12));n(7),n(1);var i={name:"Variables",props:{value:{type:Object,default:null}},data:function(){var e=[];return void 0!==this.value.variable&&(Array.isArray(this.value.variable)?e=this.value.variable:e.push(this.value.variable)),{variables:e,currentRow:null}},watch:{},mounted:function(){this.variables.length>0&&this.setCurrentRow(this.variables[0]),this.$watch("variables",(function(){var e=this,t=this.variables.filter(function(t){return(0,o.default)(this,e),""!==t.name&&""!==t.value}.bind(this));this.$emit("input",{variable:t})}),{deep:!0})},methods:{add:function(){for(var e=0;e<this.variables.length;e++)if(""===this.variables[e].name||""===this.variables[e].value)return void this.$alert(this.$t("workflowEditorMessage.variableNameOrValueOnLineCannotBeEmpty",{row:e+1}));var t={name:"",value:""};this.variables.push(t),this.setCurrentRow(t)},remove:function(){if(null!==this.currentRow){for(var e,t=0;t<this.variables.length;t++)if(this.variables[t].name===this.currentRow.name){e=t;break}this.variables.splice(e,1),e=e<=this.variables.length-1?e:this.variables.length-1,this.setCurrentRow(this.variables[e])}else this.$alert(this.$t("workflowEditorMessage.pleaseSelectARow"))},setCurrentRow:function(e){this.$refs.table.setCurrentRow(e)},handleCurrentChange:function(e){this.currentRow=e},checkName:function(e){""===e&&this.$alert(this.$t("workflowEditorMessage.variableNameCannotBeEmpty"))},checkValue:function(e){""===e&&this.$alert(this.$t("workflowEditorMessage.variableValueCannotBeEmpty"))}}};t.default=i},function(e,t,n){"use strict";n.r(t);var r=n(190),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9));function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s={name:"Events",props:{value:{type:Object,default:null}},data:function(){var e={beforeSubmitEnabled:!1,beforeSubmit:{}};return this.value.beforeSubmit&&(e.beforeSubmitEnabled=!0,e.beforeSubmit=a({},this.value.beforeSubmit)),e.afterComplete=this.value.afterComplete,{formModel:e}},mounted:function(){this.$watch("formModel",(function(e,t){var n={};this.formModel.beforeSubmitEnabled&&(n.beforeSubmit=a({},this.formModel.beforeSubmit)),n.afterComplete=this.formModel.afterComplete,this.$emit("input",n)}),{deep:!0})}};t.default=s},function(e,t,n){"use strict";n.r(t);var r=n(192),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(283)),i=r(n(724)),a=r(n(725)),s=r(n(491)),l=r(n(726)),c=r(n(728)),u=r(n(496)),d=r(n(729)),f={name:"ProcessPropertiesEditor",components:{BasicProperties:i.default,PermissionSettings:a.default,Reminder:s.default,ParameterSettings:l.default,Events:c.default,Variables:u.default,NoticeSettings:d.default},props:{model:{type:Object,default:null}},data:function(){return{activeTab:"basicProperties"}},computed:{basicProperties:function(){return this.model.properties.basicProperties},accessRight:function(){return this.model.properties.accessRight},reminder:function(){return this.model.properties.reminder},parameterSettings:function(){return this.model.properties.parameterSettings},events:function(){return this.model.properties.events},variables:function(){return this.model.properties.variables}},methods:{toXml:function(){console.log(o.default.js2xml({basicProperties:this.basicProperties},{compact:!0,ignoreComment:!0,spaces:4}))},handleClick:function(e,t){}}};t.default=f},function(e,t,n){"use strict";n.r(t);var r=n(194),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(12)),i=r(n(9));n(1),n(1),n(7);var a=n(11),s=r(n(291)),l=n(10),c=r(n(62)),u=n(783);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p={name:"BasicProperties",components:{i18nInput:c.default},props:{model:{type:Object,default:null},name:{type:String,default:null},code:{type:String,default:null}},data:function(){return{formModel:{name:this.name,code:this.code,model:this.model},allForms:[],allProcessTypes:[],allSystems:[],allBranches:[],nameError:null,codeError:null,systemError:null,adminError:null,formError:null,requiredRule:{required:!0,message:(0,l.getI18n)().t("workflowEditor.process.cannotBeEmpty"),trigger:"blur"},isSelectAdmin:!1,selectedForm:[]}},created:function(){this.getAdminNameWhenUpdate(),this.listAllForms(),this.listAllProcessTypes(),this.listAllSystems(),this.listAllBranches(),this.model.creator||(this.model.creator=(0,u.getUsername)()),this.setProcessCode(this.formModel.code),this.setSystemCode(this.model.systemCode)},mounted:function(){this.$watch("formModel.name",(function(e,t){this.$emit("update:name",e)})),this.$watch("formModel.code",(function(e,t){this.$emit("update:code",e),this.setProcessCode(e)})),this.$watch("model.systemCode",(function(e,t){this.setSystemCode(e)}))},methods:f(f({},(0,a.mapMutations)("wfEditor",["setFormFields","setSystemCode","setProcessCode"])),{},{handleChange:function(e){console.log(e);var t=e[1];this.model.formCode=t.substring(t.indexOf("/")+1,t.lastIndexOf("/")),this.model.formVersion=t.substring(t.lastIndexOf("/")+1),s.default.fetchFormFields(this.model.formCode,this.model.formVersion)},selectAdmin:function(){this.isSelectAdmin=!0},addAdmin:function(e){if(e){e.containBranch=!0;var t=e.loginName,n=e.user;e.containBranch&&(t=n.subCompanyCode?e.loginName+"~~"+n.subCompanyCode:e.loginName+"~~"+n.tenantCode),this.model.admin=t,console.log(t),this.formModel.adminName=e.name}this.isSelectAdmin=!1},listAllForms:function(){var e=this;this.$http.get(this.baseAPI+"/wf-editor/workflow-editors/forms").then(function(t){(0,o.default)(this,e);var n=this.model.formCode+"/"+this.model.formVersion;this.setDefaultSelectedFormWhenUpdate(t,n),this.allForms=t}.bind(this))},setDefaultSelectedFormWhenUpdate:function(e,t){for(var n,r,o=0;o<e.length;o++){var i=e[o].value,a=e[o].children.filter(this.filterForm(t));if(a.length>0){r=i,n=a[0];break}}if(n){var s=[];s.push(r+""),s.push(r+"/"+t),this.selectedForm=s}},filterForm:function(e){var t=this;return function(n){(0,o.default)(this,t);var r=n.value;return r.substring(r.indexOf("/")+1)===e}.bind(this)},listAllProcessTypes:function(){var e=this;this.$http.get(this.baseAPI+"/api/workflow-types/all").then(function(t){(0,o.default)(this,e),this.allProcessTypes=t}.bind(this))},listAllSystems:function(){var e=this;this.$http.get(this.baseAPI+"/api/all-enabled-systems").then(function(t){(0,o.default)(this,e),console.log(t),this.allSystems=t}.bind(this))},listAllBranches:function(){var e=this;this.$http.get(this.baseAPI+"/api/branches/all").then(function(t){(0,o.default)(this,e),this.allBranches=t}.bind(this))},getAdminNameWhenUpdate:function(){var e=this;this.model.admin&&""!==this.model.admin&&this.$http.get(this.baseAPI+"/wf-editor/workflow-editors/admin-name-info?loginNameInfo="+this.model.admin).then(function(t){(0,o.default)(this,e),console.log(t),this.formModel.adminName=t}.bind(this))},setI18nValue:function(e){this.model.i18nKey=e}})};t.default=p},function(e,t,n){"use strict";n.r(t);var r=n(196),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={name:"PermissionSettings",components:{UserSelection:r(n(281)).default},props:{model:{type:Object,default:null}},data:function(){return{showNotice:!1}}};t.default=o},function(e,t,n){"use strict";n.r(t);var r=n(198),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=r(n(727)),a=n(11);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var l={name:"ParameterSettings",components:{selectPage:i.default},props:{model:{type:Object,default:null}},data:function(){return{selectPageFlag:!1,pageFormCode:null}},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},(0,a.mapGetters)("wfEditor",["formCode"])),methods:{openSelectPage:function(){this.formCode&&(this.pageFormCode=this.formCode),this.selectPageFlag=!0},setPage:function(e){this.$set(this.model.doTask,"url",e),this.selectPageFlag=!1}}};t.default=l},function(e,t,n){"use strict";n.r(t);var r=n(200),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(15)),i={props:{pageFormCode:{type:String,default:null}},data:function(){return{baseURL:"",listURL:"",selection:[]}},watch:{conditionList:{handler:function(e,t){this.judgeHeavyData=e}}},created:function(){this.baseURL=o.default.prototype.baseURL,this.pageFormCode&&(this.listURL="/wf-editor/workflow-editors/modulePages/"+this.pageFormCode)},methods:{savePage:function(){if(this.selection&&this.selection.length>0)if(1!==this.selection.length)this.$message({showClose:!0,type:"error",message:this.$t("message.pleaseSelectARecord")});else{var e="page:"+this.selection[0].code;this.$emit("setPage",e)}else this.$emit("setPage","")},select:function(e,t){this.selection=e}}};t.default=i},function(e,t,n){"use strict";n.r(t);var r=n(202),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(20),n(20),n(30);var r=n(10),o={name:"Events",props:{value:{type:Object,default:null}},data:function(){var e=[],t=this.value.event;if(void 0!==t&&t.length&&t.length>0){("string"==typeof t?t.split(","):this.value.event).map((function(t){e.push(t)}))}return{events:[{name:"START_INSTANCE",label:(0,r.getI18n)().t("workflowEditor.process.initiationProcess")},{name:"DELETE_INSTANCE",label:(0,r.getI18n)().t("workflowEditor.process.deleteProcess")},{name:"CANCEL_INSTANCE",label:(0,r.getI18n)().t("workflowEditor.process.cancelProcess")},{name:"END_INSTANCE",label:(0,r.getI18n)().t("workflowEditor.process.endProcess")},{name:"STOP_INSTANCE",label:(0,r.getI18n)().t("workflowEditor.process.pauseProcess")},{name:"RESUME_INSTANCE",label:(0,r.getI18n)().t("workflowEditor.process.continueTheProcess")},{name:"JUMP_TACHE",label:(0,r.getI18n)().t("workflowEditor.process.jumpLink")},{name:"CHANGE_TRANSACTOR",label:(0,r.getI18n)().t("workflowEditor.process.modificationHandler")},{name:"ADD_TRANSACTOR",label:(0,r.getI18n)().t("workflowEditor.process.addHandler")},{name:"REMOVE_TRANSACTOR",label:(0,r.getI18n)().t("workflowEditor.process.decreaseOofHandler")},{name:"ASSIGN_TASK",label:(0,r.getI18n)().t("workflowEditor.process.appointedTask")},{name:"RETURN_TASK",label:(0,r.getI18n)().t("workflowEditor.process.returnTask")},{name:"WITHDRAW_TASK",label:(0,r.getI18n)().t("workflowEditor.process.retrieveTask")},{name:"TRUST_TASK",label:(0,r.getI18n)().t("workflowEditor.process.trustTask")}],selectedEvents:e}},watch:{selectedEvents:function(e){this.$emit("input",{event:this.selectedEvents})}},methods:{}};t.default=o},function(e,t,n){"use strict";n.r(t);var r=n(204),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(514)),i=r(n(89)),a={name:"NoticeSettings",components:{Notice:o.default,SelectMailTemplates:i.default},props:{value:{type:[Object,String],default:null}},data:function(){var e={informType:"",userCondition:"",subject:null,content:null,defaultMailTemplateCode:""};return null!==this.value&&void 0!==this.value&&""!==this.value&&(e=this.value),{showMailTemplateFlag:!1,model:e}},created:function(){this.$watch("model",(function(e,t){this.getValue()}),{deep:!0})},methods:{getValue:function(){var e=this.model;this.$emit("input",e)},setMailTemplateCode:function(e){this.model.defaultMailTemplateCode=e}}};t.default=a},function(e,t,n){"use strict";n.r(t);var r=n(206),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(281)),i=r(n(493)),a=r(n(89)),s={name:"Notice",components:{UserSelection:o.default,CommonNoticeTool:i.default,SelectMailTemplates:a.default},props:{value:{type:[Object,String],default:null},switchLabel:{type:String,default:""}},data:function(){var e=!1,t={informType:"",userCondition:"",subject:null,content:null};return null!==this.value&&void 0!==this.value&&""!==this.value&&(t=this.value).informType&&""!==t.informType&&(e=!0),{showNotice:e,model:t,options:{showColumns:"code,name"}}},watch:{showNotice:function(e){this.getValue()}},created:function(){this.$watch("model",(function(e,t){this.getValue()}),{deep:!0})},methods:{getValue:function(){var e=this.model;this.$emit("input",e)},setMailTemplateCode:function(e){this.model.noticeMailTemplateCode=e}}};t.default=s},function(e,t,n){"use strict";n.r(t);var r=n(208),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(12));n(30),n(1);var i=n(10),a={name:"DecisionPropertiesEditor",components:{i18nInput:r(n(62)).default},props:{model:{type:Object,default:null}},computed:{formModel:function(){return this.model.ref},transitions:function(){var e=this,t=(0,i.findOutgoingTransitionsByTacheId)(this.formModel.attr.id),n=[];return t.map(function(t){(0,o.default)(this,e),n.push({to:t.ref.attr.to,condition:t.ref.basicProperties.condition})}.bind(this)),n}},mounted:function(){this.$watch("model.ref.attr.name",(function(e){this.model.name=e}))},methods:{setI18nValue:function(e){this.formModel&&(this.formModel.basicProperties={},this.formModel.basicProperties.i18nKey=e)}}};t.default=a},function(e,t,n){"use strict";n.r(t);var r=n(210),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(514)),i=r(n(489)),a=r(n(732)),s={name:"TransitionPropertiesEditor",components:{Notice:o.default,AutoFilledFields:i.default,BasicProperties:a.default},props:{model:{type:Object,default:null}},data:function(){return{activeTab:"basicProperties"}},mounted:function(){this.$watch("model.ref.basicProperties.remark",(function(e){this.model.remark=e}))}};t.default=s},function(e,t,n){"use strict";n.r(t);var r=n(212),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(61)),i=r(n(62)),a={name:"BasicProperties",components:{AdditionalCondition:o.default,i18nInput:i.default},props:{model:{type:Object,default:null},sourceTacheType:{type:String,default:null},id:{type:String,default:null}},created:function(){},methods:{setI18nValue:function(e){this.model.i18nKey=e}}};t.default=a},function(e,t,n){"use strict";n.r(t);var r=n(214),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1);var o=r(n(12));n(30),n(1);var i=n(10),a={name:"ForkPropertiesEditor",props:{model:{type:Object,default:null}},computed:{formModel:function(){return this.model.ref},transitions:function(){var e=this,t=(0,i.findOutgoingTransitionsByTacheId)(this.formModel.attr.id),n=[];return t.map(function(t){(0,o.default)(this,e),n.push({to:t.endJoint.parent.name})}.bind(this)),n}},mounted:function(){this.$watch("model.ref.attr.name",(function(e){this.model.name=e}))}};t.default=a},function(e,t,n){"use strict";n.r(t);var r=n(216),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1);var r={name:"ForkPropertiesEditor",props:{model:{type:Object,default:null}},computed:{formModel:function(){return this.model.ref}},mounted:function(){this.$watch("model.ref.attr.name",(function(e){this.model.name=e}))}};t.default=r},function(e,t,n){"use strict";n.r(t);var r=n(218),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1);var r={name:"HumanDecisionPropertiesEditor",props:{model:{type:Object,default:null}},computed:{formModel:function(){return this.model.ref}},mounted:function(){this.$watch("model.ref.attr.name",(function(e){this.model.name=e}))}};t.default=r},function(e,t,n){"use strict";n.r(t);var r=n(220),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1);var o=r(n(739)),i=r(n(742)),a=r(n(282)),s={name:"HumanTaskPropertiesEditor",components:{BasicProperties:o.default,TransactorSettings:a.default,PermissionSettings:i.default},props:{model:{type:Object,default:null}},data:function(){return console.log(this.model),{activeTab:"basicProperties"}},computed:{formModel:function(){return this.model.ref}},mounted:function(){this.$watch("model.ref.attr.id",(function(e,t){this.model.id=e})),this.$watch("model.ref.attr.name",(function(e,t){this.model.name=e}))},methods:{handleClick:function(e,t){}}};t.default=s},function(e,t,n){"use strict";n.r(t);var r=n(222),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1),n(1);var o=r(n(455)),i=n(10),a=r(n(62)),s={name:"BasicProperties",components:{TaskTitle:o.default,i18nInput:a.default},props:{model:{type:Object,default:null},id:{type:String,default:null},name:{type:String,default:null}},data:function(){return{formModel:{name:this.name,id:this.id,tache:this.model}}},computed:{tache:function(){return this.model}},mounted:function(){this.$watch("formModel.name",(function(e,t){this.$emit("update:name",e)}))},methods:{validateId:function(){(0,i.validateTacheCode)(this)},setI18nValue:function(e){this.tache.i18nKey=e}}};t.default=s},function(e,t,n){"use strict";n.r(t);var r=n(224),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(30),n(1);var o=r(n(12)),i=r(n(61)),a=n(10),s={name:"PermissionSettings",components:{AdditionalCondition:i.default},props:{value:{type:Object,default:null}},data:function(){var e=this,t=(0,a.deepCopy)(this.value),n=["viewOpinion","viewMeetingResult","viewVoteResult","viewFlowHistory","printForm"];n.forEach(function(n){(0,o.default)(this,e),t[n+"Checkbox"]=!!this.value[n].condition}.bind(this));var r=["download"];return r.forEach(function(n){(0,o.default)(this,e),t.attachment[name+"Checkbox"]=!!this.value.attachment[name]&&!!this.value.attachment[name].condition,t.attachment.permission||(t.attachment[name]={permission:!1,condition:""})}.bind(this)),{formModel:t,attrNames:n,attachmentAttrNames:r}},mounted:function(){this.$watch("formModel",(function(e){var t=this,n={viewOpinion:{},viewMeetingResult:{},viewVoteResult:{},viewFlowHistory:{},printForm:{},officialText:{},attachment:{}};this.attrNames.map(function(r){(0,o.default)(this,t),n[r].permission=e[r].permission,e[r].permission&&e[r+"Checkbox"]?n[r].condition=e[r].condition:n[r].condition=""}.bind(this)),n.attachment.permission=e.attachment.permission,e.attachment.permission&&this.attachmentAttrNames.map(function(r){(0,o.default)(this,t),n.attachment[r]||(n.attachment[r]={}),n.attachment[r].permission=e.attachment[r].permission,e.attachment[r].permission&&e.attachment[r+"Checkbox"]?n.attachment[r].condition=e.attachment[r].condition:n.attachment[r].condition=""}.bind(this)),this.$emit("input",n)}),{deep:!0})},methods:{}};t.default=s},function(e,t,n){"use strict";n.r(t);var r=n(226),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1);var o=r(n(748)),i=r(n(750)),a=r(n(751)),s={name:"SubprocessPropertiesEditor",components:{BasicProperties:o.default,SubprocessTransactorSettings:a.default,Events:i.default},props:{model:{type:Object,default:null}},data:function(){return{activeTab:"basicProperties"}},computed:{formModel:function(){return this.model.ref}},mounted:function(){this.$watch("model.ref.attr.id",(function(e,t){this.model.id=e})),this.$watch("model.ref.attr.name",(function(e,t){this.model.name=e}))},methods:{handleClick:function(e,t){}}};t.default=s},function(e,t,n){"use strict";n.r(t);var r=n(228),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(12));n(1),n(1),n(23),n(384),n(7);var i=r(n(749)),a=r(n(291)),s=n(10),l=r(n(62)),c={name:"BasicProperties",components:{FieldMappings:i.default,i18nInput:l.default},props:{model:{type:Object,default:null},id:{type:String,default:null},name:{type:String,default:null}},data:function(){return{selectedProcess:[],processes:[],subprocessFormFields:[],formModel:{name:this.name,id:this.id,tache:this.model}}},computed:{},created:function(){var e=this;this.listAllProcesses().then(function(){(0,o.default)(this,e),this.fetchSubprocessFormFields()}.bind(this)),""===this.formModel.tache.parameters&&(this.formModel.tache.parameters={}),""===this.formModel.tache.result&&(this.formModel.tache.result={})},mounted:function(){},methods:{fetchSubprocessFormFields:function(){var e=this;this.model.processCode&&a.default.fetchSubprocessFormFields(this.model.processCode,this.model.processVersion).then(function(t){(0,o.default)(this,e),this.subprocessFormFields=t}.bind(this))},handleChange:function(e){console.log("handleChange=",e);var t=e[1];this.model.processCode=t.substring(t.indexOf("/")+1,t.lastIndexOf("/")),this.model.processVersion=t.substring(t.lastIndexOf("/")+1),this.fetchSubprocessFormFields()},listAllProcesses:function(){var e=this;return new Promise(function(t,n){var r=this;(0,o.default)(this,e),this.$http.get(this.baseAPI+"/wf-editor/workflow-editors/all-active-definitions").then(function(e){if((0,o.default)(this,r),e.length>0){var n=this.model.processCode+"/"+this.model.processVersion;this.setDefaultSelectedProcessWhenUpdate(e,n),this.processes=e,t()}}.bind(this)).catch(function(e){(0,o.default)(this,r),n(e)}.bind(this))}.bind(this))},setDefaultSelectedProcessWhenUpdate:function(e,t){for(var n,r,o=0;o<e.length;o++){var i=e[o].value,a=e[o].children.filter(this.filterProcess(t));if(a.length>0){r=i,n=a[0];break}}if(n){var s=[];s.push(r),s.push(n.value),this.selectedProcess=s}},filterProcess:function(e){var t=this;return function(n){(0,o.default)(this,t);var r=n.value,i=r.substring(r.indexOf("/")+1);return e===i}.bind(this)},validateId:function(){(0,s.validateTacheCode)(this)},setI18nValue:function(e){this.formModel.tache.i18nKey=e}}};t.default=c},function(e,t,n){"use strict";n.r(t);var r=n(230),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1);var o=r(n(12));n(7),n(1);var i=r(n(73)),a=n(50),s={name:"FieldMappings",components:{FormFields:i.default},props:{value:{type:Object,default:null},srcLabel:{type:String,default:null},targetLabel:{type:String,default:null},srcFields:{type:Array,default:null},targetFields:{type:Array,default:null}},data:function(){var e=[];return void 0!==this.value.field&&(Array.isArray(this.value.field)?e=this.value.field:e.push(this.value.field)),{tableData:e,currentRow:null,showSourceFields:!1,showTargetFields:!1}},computed:{formFields:function(){return this.showSourceFields?this.srcFields:this.showTargetFields?this.targetFields:[]}},watch:{},mounted:function(){this.tableData.length>0&&this.setCurrentRow(this.tableData[0]),this.$watch("tableData",(function(){var e=this,t=this.tableData.filter(function(t){return(0,o.default)(this,e),""!==t.source&&""!==t.target}.bind(this));this.$emit("input",{field:t})}),{deep:!0})},methods:{getSubFormFieldLabel:function(e){var t=this,n=(this.srcFields||this.targetFields).filter(function(n){return(0,o.default)(this,t),n.name===e}.bind(this));return n.length>0?n[0].label:e},showSourceFieldLabel:function(e){return this.srcFields?this.getSubFormFieldLabel(e):(0,a.getFormFieldLabel)(e)},showTargetFieldLabel:function(e){return this.targetFields?this.getSubFormFieldLabel(e):(0,a.getFormFieldLabel)(e)},add:function(){for(var e=0;e<this.tableData.length;e++)if(""===this.tableData[e].source||""===this.tableData[e].target)return void this.$alert(this.$t("workflowEditorMessage.dataInLineCannotBeEmpty",{row:e+1,data1:this.srcLabel,data2:this.targetLabel}));var t={source:"",target:""};this.tableData.push(t),this.setCurrentRow(t)},remove:function(){if(null!==this.currentRow){for(var e,t=0;t<this.tableData.length;t++)if(this.tableData[t].source===this.currentRow.source){e=t;break}this.tableData.splice(e,1),e=e<=this.tableData.length-1?e:this.tableData.length-1,this.setCurrentRow(this.tableData[e])}else this.$alert(this.$t("workflowEditorMessage.pleaseSelectARow"))},setCurrentRow:function(e){this.$refs.table.setCurrentRow(e)},handleCurrentChange:function(e){this.currentRow=e},checkSource:function(e){""===e&&this.$alert(this.$t("workflowEditorMessage.dataCannotBeEmpty",{data:this.srcLabel}))},checkTarget:function(e){""===e&&this.$alert(this.$t("workflowEditorMessage.dataCannotBeEmpty",{data:this.targetLabel}))},selectField:function(e){this.showSourceFields&&(this.$set(this.currentRow,"source",e),this.showSourceFields=!1),this.showTargetFields&&(this.$set(this.currentRow,"target",e),this.showTargetFields=!1),console.log("this.tableData===",this.tableData,"this.srcFields===",this.srcFields,"this.targetFields===",this.targetFields)}}};t.default=s},function(e,t,n){"use strict";n.r(t);var r=n(232),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={name:"Events",props:{model:{type:Object,default:null}}};t.default=r},function(e,t,n){"use strict";n.r(t);var r=n(234),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(282)),i=n(10),a={name:"SubprocessTransactorSettings",components:{TransactorSettings:o.default},props:{value:{type:Object,default:null}},data:function(){var e=!1;this.value.userCondition&&(e=!0);var t=(0,i.deepCopy)(this.value);return t.userCondition||(t={userCondition:"${instanceCreator}",additionalCondition:{onlyInCreatorDepartment:!1,withCreatorDepartment:!1,selectOneFromMultiple:!1}}),{model:{showTransactorSettings:e,transactorSettings:t}}},mounted:function(){this.$watch("model",(function(e){e.showTransactorSettings?this.$emit("input",e.transactorSettings):this.$emit("input",{})}),{deep:!0})}};t.default=a},function(e,t,n){"use strict";n.r(t);var r=n(236),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={name:"TacheHistoryTooltip",props:{content:{type:String,default:""}},methods:{}};t.default=r},function(e,t,n){"use strict";n.r(t);var r=n(238),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(9)),i=n(11);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l={name:"ContextMenu",components:{IconSvg:r(n(277)).default},data:function(){return{menusForTransition:[{name:"switch-line-type-StraightLine",label:this.$t("workflowEditor.main.straightLine"),icon:"switch"},{name:"switch-line-type-CurveLine",label:this.$t("workflowEditor.main.curveLine"),icon:"switch"},{name:"switch-line-type-BrokenLine",label:this.$t("workflowEditor.main.brokenLine"),icon:"switch"},{name:"remove",label:this.$t("workflowEditor.common.remove"),icon:"delete"},{name:"properties",label:this.$t("workflowEditor.common.attribute"),icon:"properties"}],menusForTache:[{name:"remove",label:this.$t("workflowEditor.common.remove"),icon:"delete"},{name:"properties",label:this.$t("workflowEditor.common.attribute"),icon:"properties"}],menusForProcess:[{name:"properties",label:this.$t("workflowEditor.common.attribute"),icon:"properties"}]}},computed:s(s({},(0,i.mapGetters)("wfEditor",["taches","transitions","selectedTransition","selectedTaches"])),{},{menuType:function(){var e="";return this.selectedTransition?e="Transition":1===this.selectedTaches.length&&(e="Tache"),null===this.selectedTransition&&0===this.selectedTaches.length&&(e="Process"),e},menus:function(){return this.menuType?this["menusFor"+this.menuType]:[]}}),methods:s(s({},(0,i.mapMutations)("wfEditor",["setPropertiesEditorFor","setContextMenuVisible"])),{},{switchLineType:function(e){this.selectedTransition.lineInfo.controlPoint=null,this.selectedTransition.lineInfo.type=e},execute:function(e){if(console.log("menu:"+e),e.indexOf("switch-line-type-")>=0){var t=e.substring(e.lastIndexOf("-")+1);this.switchLineType(t)}"remove"===e&&("Tache"===this.menuType?this.taches.splice(this.taches.indexOf(this.selectedTaches[0]),1):"Transition"===this.menuType&&this.transitions.splice(this.transitions.indexOf(this.selectedTransition),1));"properties"===e&&("Tache"===this.menuType?this.setPropertiesEditorFor(["Start","End"].indexOf(this.selectedTaches[0].type)>=0?"":this.selectedTaches[0].type):"Transition"===this.menuType?this.setPropertiesEditorFor("Transition"):this.setPropertiesEditorFor("Process")),this.setContextMenuVisible(!1)}})};t.default=l},function(e,t,n){"use strict";n.r(t);var r=n(240),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={name:"AdminSaveDialog",data:function(){return{}},methods:{updateWfVersion:function(){this.$emit("update")},addWfVersion:function(){this.$emit("add")}}}},function(e,t,n){"use strict";n.r(t);var r=n(242),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4);var r=n(2);n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(12)),i=r(n(9));n(55),n(55),n(392);var a=n(11),s=n(10),l=r(n(775)),c=r(n(283)),u=r(n(781));function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p={name:"WorkflowHistory",components:{WfHistoryCanvas:l.default},props:{id:{type:Number,default:null}},data:function(){return{process:null,histories:[],currentTasks:[],allProcessI18n:null}},computed:f(f({},(0,a.mapGetters)("wfEditor",["componentToDraw","taches","transitions","contextMenuVisible"])),(0,a.mapGetters)(["sidebar"])),watch:{},created:function(){this.showHistory()},mounted:function(){},methods:f(f(f({},u.default),(0,a.mapMutations)("wfEditor",["setComponentToDraw","clearCanvas","setContextMenuVisible","setProcessI18n"])),{},{showHistory:function(){var e=this;this.clearCanvas(),this.id?this.$http.get(this.baseAPI+"/wf-editor/i18n-settings/get-bundle-info?workflowId="+this.id).then(function(t){var n=this;(0,o.default)(this,e),this.allProcessI18n=t;var r=this.baseAPI+"/wf-editor/instance-histories/"+this.id;this.$http.get(r).then(function(e){var r;(0,o.default)(this,n),this.initProcessByXml(e.xml),e.histories&&e.histories.length>0&&(r=e.histories[0].bundleCode),!r&&e.currentTasks&&e.currentTasks.length>0&&(r=e.currentTasks[0].bundleCode),r&&this.setProcessI18n(t[r]),this.histories=e.histories,this.currentTasks=e.currentTasks}.bind(this))}.bind(this)):(this.process=s.processTemplate.newProcess(),(0,s.initializeProcessData)(this.process))},showContextMenu:function(e){},initProcessByXml:function(e){var t=c.default.xml2js(e,{nativeType:!0,attributesKey:"attr",compact:!0,ignoreComment:!0,spaces:4});(0,s.removeTextProperty)(t.process),this.process=t.process,(0,s.initializeProcessData)(this.process)}})};t.default=p},function(e,t,n){"use strict";n.r(t);var r=n(244),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4),n(40),n(23),n(18),n(19),n(25),n(5);var r=n(2);n(41),n(6),n(19),n(18),n(42),n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1),n(1);var o=r(n(9)),i=r(n(411)),a=r(n(416)),s=r(n(419)),l=r(n(423)),c=r(n(426)),u=r(n(428)),d=r(n(430)),f=r(n(433)),p=r(n(436)),h=r(n(439)),m=r(n(441)),v=r(n(535)),g=n(11),b=n(10),w=n(776),y=n(33),_=r(n(777));function k(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return O(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var x={name:"WfHistoryCanvas",components:{Start:i.default,End:a.default,HumanTask:s.default,Decision:l.default,Subprocess:c.default,CustomTask:u.default,Fork:d.default,Join:f.default,HumanDecision:p.default,CopyTask:h.default,Transition:m.default,TacheHistoryTooltip:v.default,TacheSubprocessHistoryDialog:_.default},props:{process:{type:Object,default:null},histories:{type:Array,default:null},currentTasks:{type:Array,default:null},allProcessI18n:{type:Object,default:null}},data:function(){return{showHistory:!1,tooltipPosition:null,tacheHistoryInfo:null,showSubprocessDialog:!1,subWorkflowId:null}},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},(0,g.mapGetters)("wfEditor",["taches","transitions","processI18n"])),mounted:function(){},methods:{getTacheClass:function(e){if(this.getCurrentTache(e))return"current-tache";var t=this.getPassedTache(e);return t&&t.current?"current-tache":t?"passed-tache":""},getPassedTache:function(e){var t,n=null,r=k(this.histories);try{for(r.s();!(t=r.n()).done;){var o=t.value;if("PROCESS_START"===o.historyType&&e.ref.attr.id&&"start"===e.ref.attr.id||"PROCESS_END"===o.historyType&&e.ref.attr.id&&"end"===e.ref.attr.id||e.ref.attr.name&&o.taskName&&o.taskName===e.ref.attr.name){n=o;break}}}catch(e){r.e(e)}finally{r.f()}return n},getPassedTacheHistories:function(e){var t,n=[],r=k(this.histories);try{for(r.s();!(t=r.n()).done;){var o=t.value;("PROCESS_START"===o.historyType&&e.ref.attr.id&&"start"===e.ref.attr.id||"PROCESS_END"===o.historyType&&e.ref.attr.id&&"end"===e.ref.attr.id||e.ref.attr.name&&o.taskName&&o.taskName===e.ref.attr.name)&&n.push(this.i18nOperation(o))}}catch(e){r.e(e)}finally{r.f()}return n},i18nOperation:function(e){var t,n,r=(0,y.getLanguageWithLocale)(),o=e.bundleCode;return o&&""!==o&&this.processI18n&&(t=this.processI18n[o]),t&&t.processName&&(n=t.processName[r]),(0,w.i18nOperation)(e,n,t,r)},getCurrentTache:function(e){var t,n=null,r=k(this.currentTasks);try{for(r.s();!(t=r.n()).done;){var o=t.value;if(o.taskName===e.ref.attr.name){n=o;break}}}catch(e){r.e(e)}finally{r.f()}return n},getTacheHistory:function(e){var t,n=null,r=this.getPassedTacheHistories(e);r&&r.length>0&&(t=r.join("</br>"));var o=this.getCurrentTache(e);return o?(n=this.$t("workflowEditorMessage.currentHandlingPersonnel")+": "+o.transactionResult,t&&(n+="</br>"+t)):n=t,n},forbidSelection:function(){return!1},mousedown:function(e){console.log("mousedown")},mousemove:function(e){},mouseup:function(e){},mouseleave:function(e){},endDrag:function(e){},showTacheHistoryTooltip:function(e,t){this.tacheHistoryInfo=this.getTacheHistory(e),this.showHistory=!0},hideTacheHistoryTooltip:function(){this.showHistory=!1},updateTacheHistoryTooltipPosition:function(e){var t=(0,b.getMousePosition)(e);this.tooltipPosition={left:t.x+5+"px",top:t.y+5+"px"}},showSubprocessHistory:function(e){var t=this.getPassedTache(e);t&&void 0!==t.hasChildren&&!0===t.hasChildren&&(t.children&&t.children.length>0&&(this.subWorkflowId=t.children[0].workflowId),this.showSubprocessDialog=!0)},closeSubprocessHistory:function(){this.showSubprocessDialog=!1}}};t.default=x},function(e,t,n){"use strict";n.r(t);var r=n(246),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(55),n(55);var r={name:"TacheSubprocessHistoryDialog",props:{workflowId:{type:Number,default:null}}};t.default=r},function(e,t,n){"use strict";n.r(t);
15
9
  /*!
16
10
  * vue-i18n v8.28.2
17
11
  * (c) 2022 kazuya kawaguchi
18
12
  * Released under the MIT License.
19
13
  */
20
- var r=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"],o=["dateStyle","timeStyle","calendar","localeMatcher","hour12","hourCycle","timeZone","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function i(e,t){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+e),t&&console.warn(t.stack))}var s=Array.isArray;function a(e){return null!==e&&"object"==typeof e}function l(e){return"string"==typeof e}var c=Object.prototype.toString;function u(e){return"[object Object]"===c.call(e)}function d(e){return null==e}function f(e){return"function"==typeof e}function p(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=null,r=null;return 1===e.length?a(e[0])||s(e[0])?r=e[0]:"string"==typeof e[0]&&(n=e[0]):2===e.length&&("string"==typeof e[0]&&(n=e[0]),(a(e[1])||s(e[1]))&&(r=e[1])),{locale:n,params:r}}function h(e){return JSON.parse(JSON.stringify(e))}function m(e,t){return!!~e.indexOf(t)}var v=Object.prototype.hasOwnProperty;function g(e,t){return v.call(e,t)}function b(e){for(var t=arguments,n=Object(e),r=1;r<arguments.length;r++){var o=t[r];if(null!=o){var i=void 0;for(i in o)g(o,i)&&(a(o[i])?n[i]=b(n[i],o[i]):n[i]=o[i])}}return n}function w(e,t){if(e===t)return!0;var n=a(e),r=a(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var o=s(e),i=s(t);if(o&&i)return e.length===t.length&&e.every((function(e,n){return w(e,t[n])}));if(o||i)return!1;var l=Object.keys(e),c=Object.keys(t);return l.length===c.length&&l.every((function(n){return w(e[n],t[n])}))}catch(e){return!1}}function y(e){return null!=e&&Object.keys(e).forEach((function(t){"string"==typeof e[t]&&(e[t]=e[t].replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;"))})),e}var k={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,t){var n=t.data,r=t.parent,o=t.props,i=t.slots,s=r.$i18n;if(s){var a=o.path,l=o.locale,c=o.places,u=i(),d=s.i(a,l,function(e){var t;for(t in e)if("default"!==t)return!1;return Boolean(t)}(u)||c?function(e,t){var n=t?function(e){0;return Array.isArray(e)?e.reduce(x,{}):Object.assign({},e)}(t):{};if(!e)return n;var r=(e=e.filter((function(e){return e.tag||""!==e.text.trim()}))).every(A);0;return e.reduce(r?_:x,n)}(u.default,c):u),f=o.tag&&!0!==o.tag||!1===o.tag?o.tag:"span";return f?e(f,n,d):d}}};function _(e,t){return t.data&&t.data.attrs&&t.data.attrs.place&&(e[t.data.attrs.place]=t),e}function x(e,t,n){return e[n]=t,e}function A(e){return Boolean(e.data&&e.data.attrs&&e.data.attrs.place)}var C,T={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,t){var n=t.props,o=t.parent,i=t.data,s=o.$i18n;if(!s)return null;var c=null,u=null;l(n.format)?c=n.format:a(n.format)&&(n.format.key&&(c=n.format.key),u=Object.keys(n.format).reduce((function(e,t){var o;return m(r,t)?Object.assign({},e,((o={})[t]=n.format[t],o)):e}),null));var d=n.locale||s.locale,f=s._ntp(n.value,d,c,u),p=f.map((function(e,t){var n,r=i.scopedSlots&&i.scopedSlots[e.type];return r?r(((n={})[e.type]=e.value,n.index=t,n.parts=f,n)):e.value})),h=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return h?e(h,{attrs:i.attrs,class:i.class,staticClass:i.staticClass},p):p}};function E(e,t,n){S(e,n)&&M(e,t,n)}function O(e,t,n,r){if(S(e,n)){var o=n.context.$i18n;(function(e,t){var n=t.context;return e._locale===n.$i18n.locale})(e,n)&&w(t.value,t.oldValue)&&w(e._localeMessage,o.getLocaleMessage(o.locale))||M(e,t,n)}}function P(e,t,n,r){if(n.context){var o=n.context.$i18n||{};t.modifiers.preserve||o.preserveDirectiveContent||(e.textContent=""),e._vt=void 0,delete e._vt,e._locale=void 0,delete e._locale,e._localeMessage=void 0,delete e._localeMessage}else i("Vue instance does not exists in VNode context")}function S(e,t){var n=t.context;return n?!!n.$i18n||(i("VueI18n instance does not exists in Vue instance"),!1):(i("Vue instance does not exists in VNode context"),!1)}function M(e,t,n){var r,o,s=function(e){var t,n,r,o;l(e)?t=e:u(e)&&(t=e.path,n=e.locale,r=e.args,o=e.choice);return{path:t,locale:n,args:r,choice:o}}(t.value),a=s.path,c=s.locale,d=s.args,f=s.choice;if(a||c||d)if(a){var p=n.context;e._vt=e.textContent=null!=f?(r=p.$i18n).tc.apply(r,[a,f].concat(F(c,d))):(o=p.$i18n).t.apply(o,[a].concat(F(c,d))),e._locale=p.$i18n.locale,e._localeMessage=p.$i18n.getLocaleMessage(p.$i18n.locale)}else i("`path` is required in v-t directive");else i("value type not supported")}function F(e,t){var n=[];return e&&n.push(e),t&&(Array.isArray(t)||u(t))&&n.push(t),n}function R(e,t){void 0===t&&(t={bridge:!1}),R.installed=!0;(C=e).version&&Number(C.version.split(".")[0]);(function(e){e.prototype.hasOwnProperty("$i18n")||Object.defineProperty(e.prototype,"$i18n",{get:function(){return this._i18n}}),e.prototype.$t=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var r=this.$i18n;return r._t.apply(r,[e,r.locale,r._getMessages(),this].concat(t))},e.prototype.$tc=function(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];var o=this.$i18n;return o._tc.apply(o,[e,o.locale,o._getMessages(),this,t].concat(n))},e.prototype.$te=function(e,t){var n=this.$i18n;return n._te(e,n.locale,n._getMessages(),t)},e.prototype.$d=function(e){for(var t,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(t=this.$i18n).d.apply(t,[e].concat(n))},e.prototype.$n=function(e){for(var t,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(t=this.$i18n).n.apply(t,[e].concat(n))}})(C),C.mixin(function(e){function t(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===e&&(e=!1),e?{mounted:t}:{beforeCreate:function(){var e=this.$options;if(e.i18n=e.i18n||(e.__i18nBridge||e.__i18n?{}:null),e.i18n)if(e.i18n instanceof K){if(e.__i18nBridge||e.__i18n)try{var t=e.i18n&&e.i18n.messages?e.i18n.messages:{};(e.__i18nBridge||e.__i18n).forEach((function(e){t=b(t,JSON.parse(e))})),Object.keys(t).forEach((function(n){e.i18n.mergeLocaleMessage(n,t[n])}))}catch(e){0}this._i18n=e.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(u(e.i18n)){var n=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof K?this.$root.$i18n:null;if(n&&(e.i18n.root=this.$root,e.i18n.formatter=n.formatter,e.i18n.fallbackLocale=n.fallbackLocale,e.i18n.formatFallbackMessages=n.formatFallbackMessages,e.i18n.silentTranslationWarn=n.silentTranslationWarn,e.i18n.silentFallbackWarn=n.silentFallbackWarn,e.i18n.pluralizationRules=n.pluralizationRules,e.i18n.preserveDirectiveContent=n.preserveDirectiveContent),e.__i18nBridge||e.__i18n)try{var r=e.i18n&&e.i18n.messages?e.i18n.messages:{};(e.__i18nBridge||e.__i18n).forEach((function(e){r=b(r,JSON.parse(e))})),e.i18n.messages=r}catch(e){0}var o=e.i18n.sharedMessages;o&&u(o)&&(e.i18n.messages=b(e.i18n.messages,o)),this._i18n=new K(e.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===e.i18n.sync||e.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),n&&n.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof K?this._i18n=this.$root.$i18n:e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof K&&(this._i18n=e.parent.$i18n)},beforeMount:function(){var e=this.$options;e.i18n=e.i18n||(e.__i18nBridge||e.__i18n?{}:null),e.i18n?(e.i18n instanceof K||u(e.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof K||e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof K)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:t,beforeDestroy:function(){if(this._i18n){var e=this;this.$nextTick((function(){e._subscribing&&(e._i18n.unsubscribeDataChanging(e),delete e._subscribing),e._i18nWatcher&&(e._i18nWatcher(),e._i18n.destroyVM(),delete e._i18nWatcher),e._localeWatcher&&(e._localeWatcher(),delete e._localeWatcher)}))}}}}(t.bridge)),C.directive("t",{bind:E,update:O,unbind:P}),C.component(k.name,k),C.component(T.name,T),C.config.optionMergeStrategies.i18n=function(e,t){return void 0===t?e:t}}var I=function(){this._caches=Object.create(null)};I.prototype.interpolate=function(e,t){if(!t)return[e];var n=this._caches[e];return n||(n=function(e){var t=[],n=0,r="";for(;n<e.length;){var o=e[n++];if("{"===o){r&&t.push({type:"text",value:r}),r="";var i="";for(o=e[n++];void 0!==o&&"}"!==o;)i+=o,o=e[n++];var s="}"===o,a=$.test(i)?"list":s&&D.test(i)?"named":"unknown";t.push({value:i,type:a})}else"%"===o?"{"!==e[n]&&(r+=o):r+=o}return r&&t.push({type:"text",value:r}),t}(e),this._caches[e]=n),function(e,t){var n=[],r=0,o=Array.isArray(t)?"list":a(t)?"named":"unknown";if("unknown"===o)return n;for(;r<e.length;){var i=e[r];switch(i.type){case"text":n.push(i.value);break;case"list":n.push(t[parseInt(i.value,10)]);break;case"named":"named"===o&&n.push(t[i.value]);break;case"unknown":0}r++}return n}(n,t)};var $=/^(?:\d)+/,D=/^(?:\w)+/;var j=[];j[0]={ws:[0],ident:[3,0],"[":[4],eof:[7]},j[1]={ws:[1],".":[2],"[":[4],eof:[7]},j[2]={ws:[2],ident:[3,0],0:[3,0],number:[3,0]},j[3]={ident:[3,0],0:[3,0],number:[3,0],ws:[1,1],".":[2,1],"[":[4,1],eof:[7,1]},j[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],eof:8,else:[4,0]},j[5]={"'":[4,0],eof:8,else:[5,0]},j[6]={'"':[4,0],eof:8,else:[6,0]};var N=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function B(e){if(null==e)return"eof";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function L(e){var t,n,r,o=e.trim();return("0"!==e.charAt(0)||!isNaN(e))&&(r=o,N.test(r)?(n=(t=o).charCodeAt(0))!==t.charCodeAt(t.length-1)||34!==n&&39!==n?t:t.slice(1,-1):"*"+o)}var V=function(){this._cache=Object.create(null)};V.prototype.parsePath=function(e){var t=this._cache[e];return t||(t=function(e){var t,n,r,o,i,s,a,l=[],c=-1,u=0,d=0,f=[];function p(){var t=e[c+1];if(5===u&&"'"===t||6===u&&'"'===t)return c++,r="\\"+t,f[0](),!0}for(f[1]=function(){void 0!==n&&(l.push(n),n=void 0)},f[0]=function(){void 0===n?n=r:n+=r},f[2]=function(){f[0](),d++},f[3]=function(){if(d>0)d--,u=4,f[0]();else{if(d=0,void 0===n)return!1;if(!1===(n=L(n)))return!1;f[1]()}};null!==u;)if(c++,"\\"!==(t=e[c])||!p()){if(o=B(t),8===(i=(a=j[u])[o]||a.else||8))return;if(u=i[0],(s=f[i[1]])&&(r=void 0===(r=i[2])?t:r,!1===s()))return;if(7===u)return l}}(e))&&(this._cache[e]=t),t||[]},V.prototype.getPathValue=function(e,t){if(!a(e))return null;var n=this.parsePath(t);if(0===n.length)return null;for(var r=n.length,o=e,i=0;i<r;){var s=o[n[i]];if(null==s)return null;o=s,i++}return o};var U,H=/<\/?[\w\s="/.':;#-\/]+>/,W=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,J=/^@(?:\.([a-zA-Z]+))?:/,z=/[()]/g,G={upper:function(e){return e.toLocaleUpperCase()},lower:function(e){return e.toLocaleLowerCase()},capitalize:function(e){return""+e.charAt(0).toLocaleUpperCase()+e.substr(1)}},q=new I,K=function(e){var t=this;void 0===e&&(e={}),!C&&"undefined"!=typeof window&&window.Vue&&R(window.Vue);var n=e.locale||"en-US",r=!1!==e.fallbackLocale&&(e.fallbackLocale||"en-US"),o=e.messages||{},i=e.dateTimeFormats||e.datetimeFormats||{},s=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||q,this._modifiers=e.modifiers||{},this._missing=e.missing||null,this._root=e.root||null,this._sync=void 0===e.sync||!!e.sync,this._fallbackRoot=void 0===e.fallbackRoot||!!e.fallbackRoot,this._fallbackRootWithEmptyString=void 0===e.fallbackRootWithEmptyString||!!e.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==e.formatFallbackMessages&&!!e.formatFallbackMessages,this._silentTranslationWarn=void 0!==e.silentTranslationWarn&&e.silentTranslationWarn,this._silentFallbackWarn=void 0!==e.silentFallbackWarn&&!!e.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new V,this._dataListeners=new Set,this._componentInstanceCreatedListener=e.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==e.preserveDirectiveContent&&!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._postTranslation=e.postTranslation||null,this._escapeParameterHtml=e.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in e&&(this.__VUE_I18N_BRIDGE__=e.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(e,n){var r=Object.getPrototypeOf(t);if(r&&r.getChoiceIndex)return r.getChoiceIndex.call(t,e,n);var o,i;return t.locale in t.pluralizationRules?t.pluralizationRules[t.locale].apply(t,[e,n]):(o=e,i=n,o=Math.abs(o),2===i?o?o>1?1:0:1:o?Math.min(o,2):0)},this._exist=function(e,n){return!(!e||!n)&&(!d(t._path.getPathValue(e,n))||!!e[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(o).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,o[e])})),this._initVM({locale:n,fallbackLocale:r,messages:o,dateTimeFormats:i,numberFormats:s})},Y={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};K.prototype._checkLocaleMessage=function(e,t,n){var r=function(e,t,n,o){if(u(n))Object.keys(n).forEach((function(i){var s=n[i];u(s)?(o.push(i),o.push("."),r(e,t,s,o),o.pop(),o.pop()):(o.push(i),r(e,t,s,o),o.pop())}));else if(s(n))n.forEach((function(n,i){u(n)?(o.push("["+i+"]"),o.push("."),r(e,t,n,o),o.pop(),o.pop()):(o.push("["+i+"]"),r(e,t,n,o),o.pop())}));else if(l(n)){if(H.test(n)){var a="Detected HTML in message '"+n+"' of keypath '"+o.join("")+"' at '"+t+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===e?i(a):"error"===e&&function(e,t){"undefined"!=typeof console&&(console.error("[vue-i18n] "+e),t&&console.error(t.stack))}(a)}}};r(t,e,n,[])},K.prototype._initVM=function(e){var t=C.config.silent;C.config.silent=!0,this._vm=new C({data:e,__VUE18N__INSTANCE__:!0}),C.config.silent=t},K.prototype.destroyVM=function(){this._vm.$destroy()},K.prototype.subscribeDataChanging=function(e){this._dataListeners.add(e)},K.prototype.unsubscribeDataChanging=function(e){!function(e,t){if(e.delete(t));}(this._dataListeners,e)},K.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",(function(){for(var t,n,r=(t=e._dataListeners,n=[],t.forEach((function(e){return n.push(e)})),n),o=r.length;o--;)C.nextTick((function(){r[o]&&r[o].$forceUpdate()}))}),{deep:!0})},K.prototype.watchLocale=function(e){if(e){if(!this.__VUE_I18N_BRIDGE__)return null;var t=this,n=this._vm;return this.vm.$watch("locale",(function(r){n.$set(n,"locale",r),t.__VUE_I18N_BRIDGE__&&e&&(e.locale.value=r),n.$forceUpdate()}),{immediate:!0})}if(!this._sync||!this._root)return null;var r=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){r.$set(r,"locale",e),r.$forceUpdate()}),{immediate:!0})},K.prototype.onComponentInstanceCreated=function(e){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(e,this)},Y.vm.get=function(){return this._vm},Y.messages.get=function(){return h(this._getMessages())},Y.dateTimeFormats.get=function(){return h(this._getDateTimeFormats())},Y.numberFormats.get=function(){return h(this._getNumberFormats())},Y.availableLocales.get=function(){return Object.keys(this.messages).sort()},Y.locale.get=function(){return this._vm.locale},Y.locale.set=function(e){this._vm.$set(this._vm,"locale",e)},Y.fallbackLocale.get=function(){return this._vm.fallbackLocale},Y.fallbackLocale.set=function(e){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",e)},Y.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Y.formatFallbackMessages.set=function(e){this._formatFallbackMessages=e},Y.missing.get=function(){return this._missing},Y.missing.set=function(e){this._missing=e},Y.formatter.get=function(){return this._formatter},Y.formatter.set=function(e){this._formatter=e},Y.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Y.silentTranslationWarn.set=function(e){this._silentTranslationWarn=e},Y.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Y.silentFallbackWarn.set=function(e){this._silentFallbackWarn=e},Y.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Y.preserveDirectiveContent.set=function(e){this._preserveDirectiveContent=e},Y.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Y.warnHtmlInMessage.set=function(e){var t=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=e,n!==e&&("warn"===e||"error"===e)){var r=this._getMessages();Object.keys(r).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,r[e])}))}},Y.postTranslation.get=function(){return this._postTranslation},Y.postTranslation.set=function(e){this._postTranslation=e},Y.sync.get=function(){return this._sync},Y.sync.set=function(e){this._sync=e},K.prototype._getMessages=function(){return this._vm.messages},K.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},K.prototype._getNumberFormats=function(){return this._vm.numberFormats},K.prototype._warnDefault=function(e,t,n,r,o,i){if(!d(n))return n;if(this._missing){var s=this._missing.apply(null,[e,t,r,o]);if(l(s))return s}else 0;if(this._formatFallbackMessages){var a=p.apply(void 0,o);return this._render(t,i,a.params,t)}return t},K.prototype._isFallbackRoot=function(e){return(this._fallbackRootWithEmptyString?!e:d(e))&&!d(this._root)&&this._fallbackRoot},K.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn},K.prototype._isSilentFallback=function(e,t){return this._isSilentFallbackWarn(t)&&(this._isFallbackRoot()||e!==this.fallbackLocale)},K.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn},K.prototype._interpolate=function(e,t,n,r,o,i,a){if(!t)return null;var c,p=this._path.getPathValue(t,n);if(s(p)||u(p))return p;if(d(p)){if(!u(t))return null;if(!l(c=t[n])&&!f(c))return null}else{if(!l(p)&&!f(p))return null;c=p}return l(c)&&(c.indexOf("@:")>=0||c.indexOf("@.")>=0)&&(c=this._link(e,t,c,r,"raw",i,a)),this._render(c,o,i,n)},K.prototype._link=function(e,t,n,r,o,i,a){var l=n,c=l.match(W);for(var u in c)if(c.hasOwnProperty(u)){var d=c[u],f=d.match(J),p=f[0],h=f[1],v=d.replace(p,"").replace(z,"");if(m(a,v))return l;a.push(v);var g=this._interpolate(e,t,v,r,"raw"===o?"string":o,"raw"===o?void 0:i,a);if(this._isFallbackRoot(g)){if(!this._root)throw Error("unexpected error");var b=this._root.$i18n;g=b._translate(b._getMessages(),b.locale,b.fallbackLocale,v,r,o,i)}g=this._warnDefault(e,v,g,r,s(i)?i:[i],o),this._modifiers.hasOwnProperty(h)?g=this._modifiers[h](g):G.hasOwnProperty(h)&&(g=G[h](g)),a.pop(),l=g?l.replace(d,g):l}return l},K.prototype._createMessageContext=function(e,t,n,r){var o=this,i=s(e)?e:[],l=a(e)?e:{},c=this._getMessages(),u=this.locale;return{list:function(e){return i[e]},named:function(e){return l[e]},values:e,formatter:t,path:n,messages:c,locale:u,linked:function(e){return o._interpolate(u,c[u]||{},e,null,r,void 0,[e])}}},K.prototype._render=function(e,t,n,r){if(f(e))return e(this._createMessageContext(n,this._formatter||q,r,t));var o=this._formatter.interpolate(e,n,r);return o||(o=q.interpolate(e,n,r)),"string"!==t||l(o)?o:o.join("")},K.prototype._appendItemToChain=function(e,t,n){var r=!1;return m(e,t)||(r=!0,t&&(r="!"!==t[t.length-1],t=t.replace(/!/g,""),e.push(t),n&&n[t]&&(r=n[t]))),r},K.prototype._appendLocaleToChain=function(e,t,n){var r,o=t.split("-");do{var i=o.join("-");r=this._appendItemToChain(e,i,n),o.splice(-1,1)}while(o.length&&!0===r);return r},K.prototype._appendBlockToChain=function(e,t,n){for(var r=!0,o=0;o<t.length&&"boolean"==typeof r;o++){var i=t[o];l(i)&&(r=this._appendLocaleToChain(e,i,n))}return r},K.prototype._getLocaleChain=function(e,t){if(""===e)return[];this._localeChainCache||(this._localeChainCache={});var n=this._localeChainCache[e];if(!n){t||(t=this.fallbackLocale),n=[];for(var r,o=[e];s(o);)o=this._appendBlockToChain(n,o,t);(o=l(r=s(t)?t:a(t)?t.default?t.default:null:t)?[r]:r)&&this._appendBlockToChain(n,o,null),this._localeChainCache[e]=n}return n},K.prototype._translate=function(e,t,n,r,o,i,s){for(var a,l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var u=l[c];if(!d(a=this._interpolate(u,e[u],r,o,i,s,[r])))return a}return null},K.prototype._t=function(e,t,n,r){for(var o,i=[],s=arguments.length-4;s-- >0;)i[s]=arguments[s+4];if(!e)return"";var a=p.apply(void 0,i);this._escapeParameterHtml&&(a.params=y(a.params));var l=a.locale||t,c=this._translate(n,l,this.fallbackLocale,e,r,"string",a.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(o=this._root).$t.apply(o,[e].concat(i))}return c=this._warnDefault(l,e,c,r,i,"string"),this._postTranslation&&null!=c&&(c=this._postTranslation(c,e)),c},K.prototype.t=function(e){for(var t,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(t=this)._t.apply(t,[e,this.locale,this._getMessages(),null].concat(n))},K.prototype._i=function(e,t,n,r,o){var i=this._translate(n,t,this.fallbackLocale,e,r,"raw",o);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(e,t,o)}return this._warnDefault(t,e,i,r,[o],"raw")},K.prototype.i=function(e,t,n){return e?(l(t)||(t=this.locale),this._i(e,t,this._getMessages(),null,n)):""},K.prototype._tc=function(e,t,n,r,o){for(var i,s=[],a=arguments.length-5;a-- >0;)s[a]=arguments[a+5];if(!e)return"";void 0===o&&(o=1);var l={count:o,n:o},c=p.apply(void 0,s);return c.params=Object.assign(l,c.params),s=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((i=this)._t.apply(i,[e,t,n,r].concat(s)),o)},K.prototype.fetchChoice=function(e,t){if(!e||!l(e))return null;var n=e.split("|");return n[t=this.getChoiceIndex(t,n.length)]?n[t].trim():e},K.prototype.tc=function(e,t){for(var n,r=[],o=arguments.length-2;o-- >0;)r[o]=arguments[o+2];return(n=this)._tc.apply(n,[e,this.locale,this._getMessages(),null,t].concat(r))},K.prototype._te=function(e,t,n){for(var r=[],o=arguments.length-3;o-- >0;)r[o]=arguments[o+3];var i=p.apply(void 0,r).locale||t;return this._exist(n[i],e)},K.prototype.te=function(e,t){return this._te(e,this.locale,this._getMessages(),t)},K.prototype.getLocaleMessage=function(e){return h(this._vm.messages[e]||{})},K.prototype.setLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,t)},K.prototype.mergeLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,b(void 0!==this._vm.messages[e]&&Object.keys(this._vm.messages[e]).length?Object.assign({},this._vm.messages[e]):{},t))},K.prototype.getDateTimeFormat=function(e){return h(this._vm.dateTimeFormats[e]||{})},K.prototype.setDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,t),this._clearDateTimeFormat(e,t)},K.prototype.mergeDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,b(this._vm.dateTimeFormats[e]||{},t)),this._clearDateTimeFormat(e,t)},K.prototype._clearDateTimeFormat=function(e,t){for(var n in t){var r=e+"__"+n;this._dateTimeFormatters.hasOwnProperty(r)&&delete this._dateTimeFormatters[r]}},K.prototype._localizeDateTime=function(e,t,n,r,o,i){for(var s=t,a=r[s],l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var u=l[c];if(s=u,!d(a=r[u])&&!d(a[o]))break}if(d(a)||d(a[o]))return null;var f,p=a[o];if(i)f=new Intl.DateTimeFormat(s,Object.assign({},p,i));else{var h=s+"__"+o;(f=this._dateTimeFormatters[h])||(f=this._dateTimeFormatters[h]=new Intl.DateTimeFormat(s,p))}return f.format(e)},K.prototype._d=function(e,t,n,r){if(!n)return(r?new Intl.DateTimeFormat(t,r):new Intl.DateTimeFormat(t)).format(e);var o=this._localizeDateTime(e,t,this.fallbackLocale,this._getDateTimeFormats(),n,r);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(e,n,t)}return o||""},K.prototype.d=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var r=this.locale,i=null,s=null;return 1===t.length?(l(t[0])?i=t[0]:a(t[0])&&(t[0].locale&&(r=t[0].locale),t[0].key&&(i=t[0].key)),s=Object.keys(t[0]).reduce((function(e,n){var r;return m(o,n)?Object.assign({},e,((r={})[n]=t[0][n],r)):e}),null)):2===t.length&&(l(t[0])&&(i=t[0]),l(t[1])&&(r=t[1])),this._d(e,r,i,s)},K.prototype.getNumberFormat=function(e){return h(this._vm.numberFormats[e]||{})},K.prototype.setNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,t),this._clearNumberFormat(e,t)},K.prototype.mergeNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,b(this._vm.numberFormats[e]||{},t)),this._clearNumberFormat(e,t)},K.prototype._clearNumberFormat=function(e,t){for(var n in t){var r=e+"__"+n;this._numberFormatters.hasOwnProperty(r)&&delete this._numberFormatters[r]}},K.prototype._getNumberFormatter=function(e,t,n,r,o,i){for(var s=t,a=r[s],l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var u=l[c];if(s=u,!d(a=r[u])&&!d(a[o]))break}if(d(a)||d(a[o]))return null;var f,p=a[o];if(i)f=new Intl.NumberFormat(s,Object.assign({},p,i));else{var h=s+"__"+o;(f=this._numberFormatters[h])||(f=this._numberFormatters[h]=new Intl.NumberFormat(s,p))}return f},K.prototype._n=function(e,t,n,r){if(!K.availabilities.numberFormat)return"";if(!n)return(r?new Intl.NumberFormat(t,r):new Intl.NumberFormat(t)).format(e);var o=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,r),i=o&&o.format(e);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(e,Object.assign({},{key:n,locale:t},r))}return i||""},K.prototype.n=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var o=this.locale,i=null,s=null;return 1===t.length?l(t[0])?i=t[0]:a(t[0])&&(t[0].locale&&(o=t[0].locale),t[0].key&&(i=t[0].key),s=Object.keys(t[0]).reduce((function(e,n){var o;return m(r,n)?Object.assign({},e,((o={})[n]=t[0][n],o)):e}),null)):2===t.length&&(l(t[0])&&(i=t[0]),l(t[1])&&(o=t[1])),this._n(e,o,i,s)},K.prototype._ntp=function(e,t,n,r){if(!K.availabilities.numberFormat)return[];if(!n)return(r?new Intl.NumberFormat(t,r):new Intl.NumberFormat(t)).formatToParts(e);var o=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,r),i=o&&o.formatToParts(e);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(e,t,n,r)}return i||[]},Object.defineProperties(K.prototype,Y),Object.defineProperty(K,"availabilities",{get:function(){if(!U){var e="undefined"!=typeof Intl;U={dateTimeFormat:e&&void 0!==Intl.DateTimeFormat,numberFormat:e&&void 0!==Intl.NumberFormat}}return U}}),K.install=R,K.version="8.28.2",t.default=K},function(e,t,n){var r,o;
21
- /*!
22
- * JavaScript Cookie v2.2.1
23
- * https://github.com/js-cookie/js-cookie
24
- *
25
- * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
26
- * Released under the MIT license
27
- */!function(i){if(void 0===(o="function"==typeof(r=i)?r.call(t,n,t,e):r)||(e.exports=o),!0,e.exports=i(),!!0){var s=window.Cookies,a=window.Cookies=i();a.noConflict=function(){return window.Cookies=s,a}}}((function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(r){function o(){}function i(t,n,i){if("undefined"!=typeof document){"number"==typeof(i=e({path:"/"},o.defaults,i)).expires&&(i.expires=new Date(1*new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var s=JSON.stringify(n);/^[\{\[]/.test(s)&&(n=s)}catch(e){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var a="";for(var l in i)i[l]&&(a+="; "+l,!0!==i[l]&&(a+="="+i[l].split(";")[0]));return document.cookie=t+"="+n+a}}function s(e,n){if("undefined"!=typeof document){for(var o={},i=document.cookie?document.cookie.split("; "):[],s=0;s<i.length;s++){var a=i[s].split("="),l=a.slice(1).join("=");n||'"'!==l.charAt(0)||(l=l.slice(1,-1));try{var c=t(a[0]);if(l=(r.read||r)(l,c)||t(l),n)try{l=JSON.parse(l)}catch(e){}if(o[c]=l,e===c)break}catch(e){}}return e?o[e]:o}}return o.set=i,o.get=function(e){return s(e,!1)},o.getJSON=function(e){return s(e,!0)},o.remove=function(t,n){i(t,"",e(n,{expires:-1}))},o.defaults={},o.withConverter=n,o}((function(){}))}))},function(e,t,n){"use strict";var r=n(15),o=n.n(r),i=n(292),s=n.n(i),a=n(247),l=n(549);var c={imatrixUIPublicModel:{sure:"Sure",cancel:"Cancel",allDepartments:"All Departments",allUsers:"All Users",reset:"Reset",to:"To",edit:"Edit",clear:"Clear",download:"Download",delete:"Delete",preview:"Preview",add:"Add",graphView:"Graphic view",listView:"List View",fieldName:"Field Name",operator:"Operator",value:"Value",andOr:"And/Or",whenTheVariableIsEmpty:"When The Variable Is Empty",perhaps:"Perhaps",also:"Also",greaterThan:"Greater Than",lessThan:"Less Than",beEqualTo:"Be Equal To",notGreaterThan:"Not Greater Than",notLessThan:"Not Less Than",notEqualTo:"Not Equal To",contain:"Contain",notIncluded:"Not Included",laterThan:"Later Than",earlierThan:"Earlier Than",noLaterThan:"No Later Than",noEarlierThan:"No Earlier Than",ignore11:"Ignore (1 = 1)",nonConformity:"Non Conformity (1 < > 1)",switchToNormalQuery:"Switch To Normal Query",switchToAdvancedQuery:"Switch To Advanced Query",isNull:"Is Null",isNotNull:"Is Not Null",previewImage:"Preview image",fullScreen:"Full Screen"},imatrixUIMessage:{whetherToConfirmDeletion:"Whether To Confirm Deletion",tips:"Tips",pleaseEnterContent:"Please Enter Content",internalServerError:"Server error",pleaseSelectDepartment:"Please Select Department",pleaseSelectPersonnel:"Please Select Personnel",pleaseRemoveallpersonnelBeforeSelectingSpecificPersonnel:"Please Remove All Personnel Before Selecting Specific Personnel",queryResultIsEmpty:"Query Result Is Empty",pleaseSelectATeam:"Please Select A Team",pleaseEnterTeamName:"Please Enter Team Name",validationFailed:"Validation Failed",selectionDate:"Selection Date",selectTime:"Select Time",pleaseEnterATimePoint:"Please Enter A Time Point",pleaseSelect:"Please Select",startDate:"Start Date",endDate:"End Date",noExportColumnsConfigured:"No Export Columns Configured",organizationTreeNoResultNotRemove:"No information selected, no need to remove",exceedFileSize:"File size limit {filesize} M exceeded",upload:"Upload",invalideDoubleValue:"{num} is not a legal decimal",noJumpPage:"Jump page not configured",saveSuccessfully:"Savee successfully",pleaseInputSearchCondition:"Please enter the query criteria",fileUpload:"File Upload",selectYear:"Select Year",search:"Search",forbiddenException:"You do not have permission to access this resource",theButtonIsNotBoundToAResource:"The button is not bound to a resource, Bind the resource first"},superGrid:{columnConfig:"Column Config",pleaseSaveOrCancelEditingLine:"Please Save Or Cancel Editing Line {row} Data First",pleaseSaveLine:"Please Save Line {row} Data First",noNeedToSaveRow:"No Need To Save Row {row} Data",pleaseSetURLToSaveRowInformation:'Please set "URL to save row information"',lineSavedSuccessfully:"Line {row} Saved Successfully",theReturnValueOfTheBeforesaveCallbackMethodIsFalse:"The Return Value Of The Beforesave Callback Method Is False",lineNoNeedToUndoEdit:"Line {row} No Need To Undo Edit",lineCancelledSuccessfully:"Line {row} cancelled successfully",label:"Label",isShow:"Is Show",isExportable:"Is Exportable",recordLine:"Record line {row}",pageRecordLine:"Record in row {row} of page {pageNum}",fileName:"File Name",deleteSuccessful:"Deleted successfully",index:"No.",searchConditionName:"Search Condition Name",pleaseInputSearchConditionName:"Please enter the name of the query criteria",saveCondition:"Save Condition",saveConditionTitle:"Save Condition",displayOrder:"Display Order",width:"Column Width",default:"Default",custom:"Custom",show:"Show",hidden:"Hidden",export:"Export",unExport:"Not Export",whetherToConfirmReset:"Are you sure you want to reset?",resetSuccessful:"Reset successfully",dragColumnOrderMessage:"Supports dragging to change column order",selectAll:"Select All",viewImage:"View Image",previewTitleWhenNotImg:"Non picture format, preview in other ways",refresh:"Refresh",open:"Open",fold:"Fold"},departmentTree:{},departmentTreeInline:{pleaseEnterDepartmentName:"Please Enter Department Name",name:"Department Name",code:"Department Code",removeDepartment:"Remove Department",selectedDept:"Selected Departments",namePath:"Name Path"},departmentUserTree:{pleaseEnterUserInformation:"Please Enter User Information",selectedPeople:"Selected People",searchFieldUserName:"Name",searchFieldLoginName:"Login Name",searchFieldEmail:"Email",searchFieldTelephone:"Telephone",searchFieldJobNumber:"Job Number",searchFieldHonorificName:"Honorific"},departmentUserTreeInline:{name:"Name",department:"Department",branch:"Branch",removeUser:"Remove User",email:"Email",loginName:"Login Name"},workgroupTree:{allTeamMembers:"All Team Members",name:"Workgroup Name",code:"Workgroup Code",removeWorkgroup:"Remove Workgroup"},workflowButton:{save:"Save",submit:"Submit",approve:"Approve",refuse:"Refuse",agreement:"Agree",oppose:"Opposition",kiken:"Abstention",get_back_button:"Retrieve",copy:"Copy",draw:"Draw",abandon_draw:"Give Up Draw",add_sign:"Additional Signature",remove_sign:"Reduction Of Signature",signoff:"Sign For",assign:"Hand over",assign_task:"Transfer",readed:"Readed",export_report:"Export Report"},workflowHistoryList:{specailText:"specail",index:"Index",taskName:"Task Name",operation:"Operation",opinion:"Opinion",processStart:"Process Start",processEnd:"Process End",process_start:"[{1}] process start",prcoess_end:"[{1}] process End",force_end_process:"{1}forced to end the process, and the task of [{2}] was canceled",history_jump:"Process {3} to [{1}], [{2}] task cancelled",history_back:"{1} returned to task,process returned to [{2}]",history_removesign:"{1} minus [{2}]",history_changetransactor_and_delegate:"{1} changed the handler [{2}] to [{3}], [{4}] delegated the task to [{5}]",history_changetransactor:"{1} changed handler [{2}] to [{3}]",history_addsign:"{1} sign [{2}]",history_addtransactor:"{1} add handler [{2}]",history_removetransactor:"{1} decrease handler [{2}]",history_delegate_and_assign:"{1} assigned tasks to [{2}], [{3}] delegated tasks to [{4}]",history_assign:"{1} assigned task to [{2}]",transfer:"{1} transferred to [{2}]",history_complete_transfer:"{1} execute [{2}] operation and canceled the task of other receivers [{3}]",history_delegate_receive:"{1} retracts the task entrusted to [{2}]",history_delegate:"{1} has delegated task [{2}] to [{3}]",history_quit_transfer:"{1} Resignation, has transferred task [{2}] to [{3}",history_change_job_transfer:"{1} Change job,has transferred task [{2}] to [{3}",commonButtonOperation:"{1} execute [{2}] operation",history_draw_task:"{1}received the task and cancelled the task of the candidate [{2}]",history_abandon_draw:"{1}gives up the task and restores the task of candidate [{2}]",toDoText:"Todo",operator:"Operator",operatorDept:"Operator Dept",operationTime:"Operation Time"},gateway:{timeout:"Interface call timeout",callFailed:"Interface call failed"},superNineGrid:{add:"Create"},fsUpload:{upload:"Upload",download:"Download",delete:"Delete",preview:"Preview",name:"Name",picture:"Picture",operating:"Operating",uploadSucceeded:"Upload succeeded",theNumberOfUploadsExceedsTheLimitTheLimitIs:"The number of uploads exceeds the limit. The limit is"},messageVideo:{attemptingToIdentify:"Attempting to identify",callingRearCamera:"Calling rear camera",identificationFailed:"Identification failed"},...n.n(l).a},u=n(293);var d={imatrixUIPublicModel:{sure:"确定",cancel:"取消",allDepartments:"所有部门",allUsers:"所有用户",reset:"重置",to:"至",edit:"操作",clear:"清空",download:"下载",delete:"删除",preview:"预览",add:"增加",graphView:"图形视图",listView:"列表视图",fieldName:"字段名(*)",operator:"操作符",value:"值(*)",andOr:"并且/或者",whenTheVariableIsEmpty:"变量为空时",perhaps:"或者",also:"并且",greaterThan:"大于",lessThan:"小于",beEqualTo:"等于",notGreaterThan:"不大于",notLessThan:"不小于",notEqualTo:"不等于",contain:"包含",notIncluded:"不包含",laterThan:"晚于",earlierThan:"早于",noLaterThan:"不晚于",noEarlierThan:"不早于",ignore11:"忽略(1=1)",nonConformity:"不符合(1<>1)",switchToNormalQuery:"切换为普通查询",switchToAdvancedQuery:"切换为高级查询",isNull:"等于Null",isNotNull:"不等于Null",previewImage:"预览图片",fullScreen:"全屏"},imatrixUIMessage:{whetherToConfirmDeletion:"是否确认删除",tips:"提示",pleaseEnterContent:"请输入内容",internalServerError:"请求失败",pleaseSelectDepartment:"请选择部门",pleaseSelectPersonnel:"请选择人员",pleaseRemoveallpersonnelBeforeSelectingSpecificPersonnel:"请先移除所有人员,再选择具体人员",queryResultIsEmpty:"查询结果为空",pleaseSelectATeam:"请选择工作组",pleaseEnterTeamName:"请输入工作组名称",validationFailed:"验证失败",selectionDate:"选择日期",selectTime:"选择时间",pleaseEnterATimePoint:"请输入时间点",pleaseSelect:"请选择",startDate:"开始日期",endDate:"结束日期",noExportColumnsConfigured:"没有配置导出列",organizationTreeNoResultNotRemove:"未选择任何信息,无需移除",exceedFileSize:"超过文件大小限制{fileSize}M",upload:"上传",invalideDoubleValue:"{num} 不是合法的小数",noJumpPage:"未配置跳转页面",saveSuccessfully:"保存成功",pleaseInputSearchCondition:"请输入查询条件",fileUpload:"文件上传",selectYear:"选择年",search:"查询",forbiddenException:"您没有权限访问该资源",theButtonIsNotBoundToAResource:"该按钮未绑定资源,请先绑定资源"},superGrid:{columnConfig:"字段配置",pleaseSaveOrCancelEditingLine:"请先保存或撤销编辑第 {row} 行数据",pleaseSaveLine:"请先保存第 {row} 行数据",noNeedToSaveRow:"无需保存第 {row} 行数据",pleaseSetURLToSaveRowInformation:"请设置“保存行信息的url”",lineSavedSuccessfully:"第 {row} 行保存成功",theReturnValueOfTheBeforesaveCallbackMethodIsFalse:"beforeSave回调方法返回值为false",lineNoNeedToUndoEdit:"第 {row} 行无需撤销编辑",lineCancelledSuccessfully:"第 {row} 行撤销成功",label:"字段名",isShow:"是否显示",isExportable:"是否导出",recordLine:"第 {row} 行记录",pageRecordLine:"第 {pageNum} 页第 {row} 行记录",fileName:"文件名称",deleteSuccessful:"删除成功",index:"序号",searchConditionName:"查询条件名称",pleaseInputSearchConditionName:"请输入查询条件名称",saveCondition:"保存条件",saveConditionTitle:"保存查询条件",displayOrder:"显示顺序",width:"列宽",default:"默认",custom:"自定义",show:"显示",hidden:"隐藏",export:"导出",unExport:"不导出",whetherToConfirmReset:"是否确认重置?",resetSuccessful:"重置成功",dragColumnOrderMessage:"支持拖动改变列顺序",selectAll:"全选",viewImage:"查看图片",previewTitleWhenNotImg:"非图片格式,使用其它方式预览",refresh:"刷新",open:"展开",fold:"收起"},departmentTree:{},departmentTreeInline:{pleaseEnterDepartmentName:"请输入部门名称",name:"部门名称",code:"部门编码",removeDepartment:"移除部门",selectedDept:"已选部门",namePath:"名称路径"},departmentUserTree:{pleaseEnterUserInformation:"请输入用户信息",selectedPeople:"已选人员",searchFieldUserName:"姓名",searchFieldLoginName:"登录名",searchFieldEmail:"邮箱",searchFieldTelephone:"手机号",searchFieldJobNumber:"工号",searchFieldHonorificName:"尊称"},departmentUserTreeInline:{name:"姓名",department:"所属部门",branch:"所属分支",removeUser:"移除用户",email:"邮箱",loginName:"登录名"},workgroupTree:{allTeamMembers:"所有工作组人员",name:"工作组名称",code:"工作组编码",removeWorkgroup:"移除工作组"},workflowButton:{save:"暂存",submit:"提交",approve:"同意",refuse:"不同意",agreement:"赞成",oppose:"反对",kiken:"弃权",get_back_button:"取回",copy:"抄送",draw:"领取",abandon_draw:"放弃领取",add_sign:"加签",remove_sign:"减签",signoff:"签收",assign:"交办",assign_task:"转办",readed:"已阅",export_report:"导出报告"},workflowHistoryList:{specailText:"特",index:"序号",taskName:"环节名称",operation:"流转操作",opinion:"办理意见",processStart:"流程开始",processEnd:"流程结束",process_start:"[{1}]流程开始",prcoess_end:"[{1}]流程结束",force_end_process:"{1}强制结束了该流程,[{2}]的任务被取消",history_jump:"流程{3}到[{1}],[{2}]的任务被取消",history_back:"{1}退回任务,流程退回到[{2}]",history_removesign:"{1}给[{2}]减签",history_changetransactor_and_delegate:"{1}把办理人[{2}]更改成[{3})],{4}把任务委托给了[{5}]",history_changetransactor:"{1}把办理人[{2}]更改成[{3}]",history_addsign:"{1}给[{2}]加签",history_addtransactor:"{1}增加办理人[{2}]",history_removetransactor:"{1}减少办理人[{2}]",history_delegate_and_assign:"{1}把任务指派给了[{2}],[{3}]把任务委托给了[{4}]",history_assign:"{1}把任务指派给了[{2}]",transfer:"{1}移交给[{2}]",history_complete_transfer:"{1}执行了[{2}]操作,取消了其它接收人[{3}]的任务",history_delegate_receive:"{1}收回委托给[{2}]的任务",history_delegate:"{1}已把任务[{2}]委托给[{3}]",history_quit_transfer:"{1}离职,已把任务[{2}]移交给了[{3}]",history_change_job_transfer:"{1}换岗,已把任务[{2}]移交给了[{3}]",commonButtonOperation:"{1}执行了[{2}]操作",history_draw_task:"{1}领取了任务,取消了候选人[{2}]的任务",history_abandon_draw:"{1}放弃领取该任务,还原了候选人[{2}]的任务",toDoText:"待处理",operator:"操作人",operatorDept:"操作人部门",operationTime:"操作时间"},gateway:{timeout:"接口调用超时",callFailed:"接口调用失败"},superNineGrid:{add:"新建"},fsUpload:{upload:"上传",download:"下载",delete:"删除",preview:"预览",name:"名称",picture:"图片",operating:"操作",uploadSucceeded:"上传成功",theNumberOfUploadsExceedsTheLimitTheLimitIs:"上传数量超过限制,限制数量为"},messageVideo:{attemptingToIdentify:"正在尝试识别....",callingRearCamera:"正在调用后置摄像头...",identificationFailed:"识别失败"},...n.n(u).a};o.a.use(a.default);const f={en:c,cn:d},p=new a.default({locale:"cn",messages:f});s.a.i18n((e,t)=>p.t(e,t));t.a=p},function(e,t,n){var r=n(27),o=n(17).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(77)("keys"),o=n(67);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(22),o=n(47),i=n(24);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],s={};s[e]=t(n),r(r.S+r.F*i((function(){n(1)})),"Object",s)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(21),o=n(559),i=n(252),s=n(251)("IE_PROTO"),a=function(){},l=function(){var e,t=n(250)("iframe"),r=i.length;for(t.style.display="none",n(257).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[i[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(a.prototype=r(e),n=new a,a.prototype=null,n[s]=e):n=l(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(17).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(48),o=n(374),i=n(53),s=n(39),a=n(560);e.exports=function(e,t){var n=1==e,l=2==e,c=3==e,u=4==e,d=6==e,f=5==e||d,p=t||a;return function(t,a,h){for(var m,v,g=i(t),b=o(g),w=r(a,h,3),y=s(b.length),k=0,_=n?p(t,y):l?p(t,0):void 0;y>k;k++)if((f||k in b)&&(v=w(m=b[k],k,g),e))if(n)_[k]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return k;case 2:_.push(m)}else if(u)return!1;return d?-1:c||u?u:_}}},function(e,t,n){"use strict";var r=n(21);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var r=n(393)(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){"use strict";var r=n(81),o=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},function(e,t,n){"use strict";var r,o,i=n(259),s=RegExp.prototype.exec,a=String.prototype.replace,l=s,c=(r=/a/,o=/b*/g,s.call(r,"a"),s.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),u=void 0!==/()??/.exec("")[1];(c||u)&&(l=function(e){var t,n,r,o,l=this;return u&&(n=new RegExp("^"+l.source+"$(?!\\s)",i.call(l))),c&&(t=l.lastIndex),r=s.call(l,e),c&&r&&(l.lastIndex=l.global?r.index+r[0].length:t),u&&r&&r.length>1&&a.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),e.exports=l},function(e,t,n){"use strict";n(581);var r=n(34),o=n(40),i=n(24),s=n(54),a=n(16),l=n(262),c=a("species"),u=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var f=a(e),p=!i((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),h=p?!i((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[c]=function(){return n}),n[f](""),!t})):void 0;if(!p||!h||"replace"===e&&!u||"split"===e&&!d){var m=/./[f],v=n(s,f,""[e],(function(e,t,n,r,o){return t.exec===l?p&&!o?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),g=v[0],b=v[1];r(String.prototype,e,g),o(RegExp.prototype,f,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(266)("keys"),o=n(84);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(44),o=n(45),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(83)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(45),o=n(44),i=n(586),s=n(56),a=n(49),l=function(e,t,n){var c,u,d,f=e&l.F,p=e&l.G,h=e&l.S,m=e&l.P,v=e&l.B,g=e&l.W,b=p?o:o[t]||(o[t]={}),w=b.prototype,y=p?r:h?r[t]:(r[t]||{}).prototype;for(c in p&&(n=t),n)(u=!f&&y&&void 0!==y[c])&&a(b,c)||(d=u?y[c]:n[c],b[c]=p&&"function"!=typeof y[c]?n[c]:v&&u?i(d,r):g&&y[c]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):m&&"function"==typeof d?i(Function.call,d):d,m&&((b.virtual||(b.virtual={}))[c]=d,e&l.R&&w&&!w[c]&&s(w,c,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var r=n(71);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){"use strict";t.__esModule=!0;var r=s(n(590)),o=s(n(605)),i="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function s(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":i(e)}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports={}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(57).f,o=n(49),i=n(60)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){t.f=n(60)},function(e,t,n){var r=n(45),o=n(44),i=n(83),s=n(274),a=n(57).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||a(t,e,{value:s.f(e)})}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";n.r(t);var r=n(296),o=n(97);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(636);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";n(41),n(23),n(6),n(18),n(19),n(25),n(5);var r=n(2);n(42),n(6),n(19),n(18),n(43),Object.defineProperty(t,"__esModule",{value:!0}),t.allOperators=void 0,t.displayCondition=function(e){var t,n="",r=a(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;0!==o.key.length&&""!==o.operator&&""!==o.value&&void 0!==o.operator&&void 0!==o.value&&null!==o.operator&&null!==o.value&&(n=n+o.leftBracket+x(o.key)+" "+A(o.operator)+" "+x(o.value)+o.rightBracket+" "+o.value+" "+u[o.logicOperator]+" ")}}catch(e){r.e(e)}finally{r.f()}n.lastIndexOf(" 或者 ")+" 或者 ".length===n.length?n=n.substring(0,n.lastIndexOf(" 或者 ")):n.lastIndexOf(" 并且 ")+" 并且 ".length===n.length&&(n=n.substring(0,n.lastIndexOf(" 并且 ")));return n},t.formatStandardField=function(e){var t=this,n=c.filter(function(n){return(0,o.default)(this,t),n.name===e}.bind(this));return n.length>0?n[0].label:e},t.generateCondition=function(e){var t,n="",r=a(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;0===o.key.length||""===o.operator||""===o.value&&"operator.text.is.null"!==o.operator&&"operator.text.not.null"!==o.operator||(n=n+o.leftBracket+o.key+" "+o.operator+" "+o.value+o.rightBracket+" "+o.logicOperator+" ")}}catch(e){r.e(e)}finally{r.f()}var i=" condition.operator.or ",s=" condition.operator.and ";n.lastIndexOf(i)+i.length===n.length?n=n.substring(0,n.lastIndexOf(i)):n.lastIndexOf(s)+s.length===n.length&&(n=n.substring(0,n.lastIndexOf(s)));return n},t.getFieldLabel=x,t.getOperatorLabel=A,t.getOperators=function(e){var t=(0,i.getFormField)(e)||k(e);if(t)return d(t.dataType)?f:m(t.dataType)?v:p(t.dataType)?h:b(e)?w:g},t.getRelatedStandardFields=function(e){var t=this,n=c.filter(function(n){return(0,o.default)(this,t),n.name===e}.bind(this)),r=[];n.length>0&&(r=n[0].relatedFields||[]);var i=[];return c.forEach(function(e){(0,o.default)(this,t),r.indexOf(e.name.substring(2,e.name.length-1))>=0&&i.push(e)}.bind(this)),i},t.getStandardField=k,t.getStandardFieldLabel=_,t.getStandardFields=function(){var e,t={value:"standard",label:(0,s.getI18n)().t("workflowEditor.process.standardFields"),children:[]},n=a(c);try{for(n.s();!(e=n.n()).done;){var r=e.value;t.children.push({value:r.name,label:r.label})}}catch(e){n.e(e)}finally{n.f()}return t},t.getStandardFieldsByTacheType=function(e){var t=this;if(e)return c;var n=[];return c.forEach(function(r){(0,o.default)(this,t),e||"other"===r.orgType||n.push(r)}.bind(this)),n},t.isApproveResult=b,t.isDate=m,t.isNumber=d,t.isString=p,t.isTransitionOtherField=function(e){var t=this;if("${approvalResult}"===e)return!1;var n=c.filter(function(n){return(0,o.default)(this,t),n.name===e}.bind(this)),r=!1;n.length>0&&n.forEach(function(n){(0,o.default)(this,t),e===n.name&&"other"===n.orgType&&(r=!0)}.bind(this));return r},t.operatorsForText=t.operatorsForString=t.operatorsForNumber=t.operatorsForDate=t.operatorsForApproveResult=t.logicOperators=void 0,t.parseCondition=function(e,t){if(t&&0!==t.length){var n,r=t.replace(/ condition.operator.or /g," condition.operator.or^_^"),o=(r=r.replace(/ condition.operator.and /g," condition.operator.and^_^")).split("^_^"),i=0,s=a(o);try{for(s.s();!(n=s.n()).done;){var l=n.value;if(""!==l){var c,u,d="",f="",p="",h="condition.operator.or",m=l.indexOf("${");m>0&&(d=l.substring(0,m)),c=l.substring(m,l.indexOf(" ")),l=l.substring(l.indexOf(" ")+1),u=l.substring(0,l.indexOf(" ")),l=l.substring(l.indexOf(" ")+1),(m=l.indexOf(")"))>0?(f=l.substring(0,m),p=l.substring(m),(m=l.indexOf(" condition."))>0&&(h=l.substring(m+1))):(m=l.indexOf(" condition."))>0?(f=l.substring(0,m),h=l.substring(m+1)):f=l,e.push({id:i,leftBracket:d,key:c,operator:u,value:f,rightBracket:p,logicOperator:h}),i++}}}catch(e){s.e(e)}finally{s.f()}return i}},t.standardFields=void 0,n(5);var o=r(n(14));n(20),n(46),n(1),n(1),n(46),n(20),n(7);var i=n(50),s=n(12);function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=[{name:"${approvalResult}",label:(0,s.getI18n)().t("workflowEditor.process.approvalResults"),orgType:"other"},{name:"${instanceCreatorName}",label:(0,s.getI18n)().t("workflowEditor.process.processInitiator"),orgType:"user"},{name:"${instanceCreatorRole}",label:(0,s.getI18n)().t("workflowEditor.process.processInitiatorRole"),orgType:"role"},{name:"${instanceCreatorDepartment}",label:(0,s.getI18n)().t("workflowEditor.process.processInitiatorDepartment"),orgType:"department",relatedFields:["upstageDepartment"]},{name:"${superiorDepartment}",label:(0,s.getI18n)().t("workflowEditor.process.processInitiatorSuperiorDepartment"),orgType:"department",relatedFields:["upstageDepartment"]},{name:"${instanceCreatorUpstageDepartment}",label:(0,s.getI18n)().t("workflowEditor.process.processInitiatorTopDepartment"),orgType:"department"},{name:"${instanceCreatorWorkGroup}",label:(0,s.getI18n)().t("workflowEditor.process.processInitiatorWorkingGroup"),orgType:"workgroup"},{name:"${instanceCreatorDirectSuperiorName}",label:(0,s.getI18n)().t("workflowEditor.process.nameOfTheDirectSuperiorOfTheProcessInitiator"),orgType:"user"},{name:"${instanceCreatorDirectSuperiorDepartment}",label:(0,s.getI18n)().t("workflowEditor.process.processInitiatorsDirectSuperiorDepartment"),orgType:"department",relatedFields:["upstageDepartment"]},{name:"${instanceCreatorDirectSuperiorRole}",label:(0,s.getI18n)().t("workflowEditor.process.directSuperiorRoleOfProcessInitiator"),orgType:"role"},{name:"${instanceCreatorDirectSuperiorWorkGroup}",label:(0,s.getI18n)().t("workflowEditor.process.ProcessInitiatorsImmediateSuperiorWorkingGroup"),orgType:"workgroup"},{name:"${currentTransactorName}",label:(0,s.getI18n)().t("workflowEditor.process.nameOfCurrentHandler"),orgType:"user",relatedFields:["instanceCreatorName","instanceCreatorDirectSuperiorName"]},{name:"${currentTransactorRole}",label:(0,s.getI18n)().t("workflowEditor.process.currentHandlerRole"),orgType:"role"},{name:"${currentTransactorDepartment}",label:(0,s.getI18n)().t("workflowEditor.process.currentHandlerDepartment"),orgType:"department",relatedFields:["instanceCreatorDepartment","superiorDepartment","instanceCreatorUpstageDepartment","instanceCreatorDirectSuperiorDepartment","upstageDepartment"]},{name:"${currentTransactorSuperiorDepartment}",label:(0,s.getI18n)().t("workflowEditor.process.currentHandlerSuperiorDepartment"),orgType:"department",relatedFields:["instanceCreatorDepartment","superiorDepartment","instanceCreatorUpstageDepartment","instanceCreatorDirectSuperiorDepartment","upstageDepartment"]},{name:"${currentTransactorUpstageDepartment}",label:(0,s.getI18n)().t("workflowEditor.process.topDepartmentOfCurrentHandler"),orgType:"department",relatedFields:["instanceCreatorDepartment","superiorDepartment","instanceCreatorUpstageDepartment","instanceCreatorDirectSuperiorDepartment"]},{name:"${currentTransactorWorkGroup}",label:(0,s.getI18n)().t("workflowEditor.process.currentHandlerWorkingGroup"),orgType:"workgroup"},{name:"${currentTransactorDirectSuperiorName}",label:(0,s.getI18n)().t("workflowEditor.process.nameOfTheImmediateSuperiorOfTheCurrentHandler"),orgType:"user",relatedFields:["instanceCreatorName","instanceCreatorDirectSuperiorName"]},{name:"${currentTransactorDirectSuperiorDepartment}",label:(0,s.getI18n)().t("workflowEditor.process.currentHandlerDirectSuperiorDepartment"),orgType:"department",relatedFields:["instanceCreatorDepartment","superiorDepartment","instanceCreatorUpstageDepartment","instanceCreatorDirectSuperiorDepartment","upstageDepartment"]},{name:"${currentTransactorDirectSuperiorRole}",label:(0,s.getI18n)().t("workflowEditor.process.currentManagerDirectSuperiorRole"),orgType:"role"},{name:"${currentTransactorDirectSuperiorWorkGroup}",label:(0,s.getI18n)().t("workflowEditor.process.workingGroupDirectlyUnderTheCurrentHandler"),orgType:"workgroup"},{name:"${upstageDepartment}",label:(0,s.getI18n)().t("workflowEditor.process.topDepartments"),orgType:"department"},{name:"${countersignatureDisagreeCount}",label:(0,s.getI18n)().t("workflowEditor.process.totalNnumberOfPersonsWhoDisagreeWithTheCountersignature"),orgType:"other"},{name:"${countersignatureAgreeCount}",label:(0,s.getI18n)().t("workflowEditor.process.totalNumberOfCountersignedAndAgreedPersonnel"),orgType:"other"},{name:"${countersignatureDisagreePercentage}",label:(0,s.getI18n)().t("workflowEditor.process.percentageOfPersonsWhoDisagreeWithTheCountersignature"),orgType:"other"},{name:"${countersignatureAgreePercentage}",label:(0,s.getI18n)().t("workflowEditor.process.percentageOfCountersignedAndAgreedPersonnel"),orgType:"other"},{name:"${abstentionPercentage}",label:(0,s.getI18n)().t("workflowEditor.process.percentageOfAbstentions"),orgType:"other"},{name:"${againstPercentage}",label:(0,s.getI18n)().t("workflowEditor.process.percentageOfVotesAgainst"),orgType:"other"},{name:"${favorPercentage}",label:(0,s.getI18n)().t("workflowEditor.process.percentageOfAffirmativeVotes"),orgType:"other"},{name:"${abstentionCount}",label:(0,s.getI18n)().t("workflowEditor.process.totalNumberOfAbstentions"),orgType:"other"},{name:"${againstCount}",label:(0,s.getI18n)().t("workflowEditor.process.totalVotesAgainst"),orgType:"other"},{name:"${favorCount}",label:(0,s.getI18n)().t("workflowEditor.process.totalNumberOfAffirmativeVotes"),orgType:"other"}];t.standardFields=c;var u={"condition.operator.or":(0,s.getI18n)().t("workflowEditor.process.perhaps"),"condition.operator.and":(0,s.getI18n)().t("workflowEditor.process.also")};function d(e){return["NUMBER","DOUBLE","FLOAT","LONG","INTEGER","AMOUNT"].indexOf(e)>=0}t.logicOperators=u;var f=[{name:"operator.number.gt",label:(0,s.getI18n)().t("workflowEditor.process.greaterThan")},{name:"operator.number.lt",label:(0,s.getI18n)().t("workflowEditor.process.lessThan")},{name:"operator.number.eq",label:(0,s.getI18n)().t("workflowEditor.process.beEqualTo")},{name:"operator.number.le",label:(0,s.getI18n)().t("workflowEditor.process.notGreaterThan")},{name:"operator.number.ge",label:(0,s.getI18n)().t("workflowEditor.process.notLessThan")},{name:"operator.number.ne",label:(0,s.getI18n)().t("workflowEditor.process.notEqualTo")}];function p(e){return["STRING","TEXT"].indexOf(e)>=0}t.operatorsForNumber=f;var h=[{name:"operator.text.eq",label:(0,s.getI18n)().t("workflowEditor.process.beEqualTo")},{name:"operator.text.neq",label:(0,s.getI18n)().t("workflowEditor.process.notEqualTo")},{name:"operator.text.contain",label:(0,s.getI18n)().t("workflowEditor.process.contain")},{name:"operator.text.contain.not",label:(0,s.getI18n)().t("workflowEditor.process.notIncluded")},{name:"operator.text.is.null",label:(0,s.getI18n)().t("workflowEditor.process.isNull")},{name:"operator.text.not.null",label:(0,s.getI18n)().t("workflowEditor.process.isNotNull")}];function m(e){return["DATE","TIME"].indexOf(e)>=0}t.operatorsForString=h;var v=[{name:"operator.date.gt",label:(0,s.getI18n)().t("workflowEditor.process.laterThan")},{name:"operator.date.lt",label:(0,s.getI18n)().t("workflowEditor.process.earlierThan")},{name:"operator.date.et",label:(0,s.getI18n)().t("workflowEditor.process.beEqualTo")},{name:"operator.date.le",label:(0,s.getI18n)().t("workflowEditor.process.noLaterThan")},{name:"operator.date.ge",label:(0,s.getI18n)().t("workflowEditor.process.noEarlierThan")},{name:"operator.date.ne",label:(0,s.getI18n)().t("workflowEditor.process.notEqualTo")}];t.operatorsForDate=v;var g=[{name:"operator.text.eq",label:(0,s.getI18n)().t("workflowEditor.process.beEqualTo")},{name:"operator.text.neq",label:(0,s.getI18n)().t("workflowEditor.process.notEqualTo")}];function b(e){return"${approvalResult}"===e}t.operatorsForText=g;var w=[{name:"operator.text.eq",label:(0,s.getI18n)().t("workflowEditor.process.beEqualTo")}];t.operatorsForApproveResult=w;var y=[].concat(f,v,h,g);function k(e){var t=this,n=c.filter(function(n){return(0,o.default)(this,t),n.name===e}.bind(this));return n.length>0?n[0]:null}function _(e){var t=k(e);return t?t.label:e}function x(e){return e.indexOf("${field[")>=0?(0,i.getFormFieldLabel)(e):e.indexOf("${")>=0?_(e):e.substring(0,e.indexOf("["))}function A(e){var t=this,n=y.filter(function(n){return(0,o.default)(this,t),n.name===e}.bind(this));return n.length>0?n[0].label:""}t.allOperators=y},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1);var o=r(n(14));n(46),n(20),n(20),n(46),n(7),n(1);var i=n(12),s={xmlToData:function(e){var t=[];if(e){var n=e.split(" ");if(n&&n.length>0)for(var r=1,o="",i="",s="",a="",l="",c="",u=null,d=0;d<n.length;d++){var f=n[d];if(-1===f.indexOf("(")){if(-1!==f.indexOf("(")||-1===f.indexOf("${field["))-1===f.indexOf("operator.")||-1!==f.indexOf("condition.")?""===s||""!==a?-1!==f.indexOf("condition.")?(c=f,t.push({id:r,leftBracket:o,propName:i,operator:s,propValue:a,rightBracket:l,logicOperator:c,propValueType:u}),r+=1):a&&""!==a&&(c&&""!==c||(c="condition.operator.or",t.push({id:r,leftBracket:o,propName:i,operator:s,propValue:a,rightBracket:l,logicOperator:c,propValueType:u}),r+=1)):(-1!==f.indexOf(")")?-1!==f.indexOf(")))")?(a=f.replace(")))",""),l=")))"):-1!==f.indexOf("))")?(a=f.replace("))",""),l="))"):-1!==f.indexOf(")")&&(a=f.replace(")",""),l=")"):a=f,a&&""!==a&&(-1!==a.indexOf("${task.")?u="task":-1!==a.indexOf("${context.")?u="context":-1!==a.indexOf("${obj.")?u="obj":-1!==a.indexOf("${subObj.")?u="subObj":-1!==a.indexOf("${request.")?u="request":-1!==a.indexOf("${input.")?u="input":-1!==a.indexOf("${custom.")&&(u="custom"))):s=f;else if(this.operationArr&&this.operationArr.push([]),o="",i="",s="",a="",l="",c="",i=f.replace("${field[","").replace("]}",""),this.operationArr){var p=this.getOperators(this.fieldMap[i]);this.operationArr[r-1]=p}}else{this.operationArr&&this.operationArr.push([]),o="",i="",s="",a="",l="",c="";var h=f.split("${field[");if(o=h[0],i=h[1].replace("]}",""),this.operationArr){var m=this.getOperators(this.fieldMap[i]);this.operationArr[r-1]=m}}}}return t},getOperatorsArr:function(e){if(e&&e.length>0)for(var t=0;t<e.length;t++){this.operationArr.push([]);var n=e[t],r=this.getOperators(this.fieldMap[n.propName]);this.operationArr[t]=r}},getRetunrOperatorsArr:function(e,t){var n=[];if(e&&e.length>0)for(var r=0;r<e.length;r++){n.push([]);var o=e[r],i=this.getOperators(t[o.propName]);n[r]=i}return n},dataToXml:function(e){var t="";if(e&&e.length>0)for(var n=0;n<e.length;n++){var r=e[n],o=o=r.logicOperator;n===e.length-1&&(o=""),t=t+r.leftBracket+"${field["+r.propName+"]} "+r.operator+" "+r.propValue+r.rightBracket+" "+o+" "}return t},formatConditionList:function(e){var t="";if(e)if("string"==typeof e){var n=this.xmlToData(e);t=this.formatConditionListTwo(n)}else t=this.formatConditionListTwo(e);if(t&&""!==t){var r=t.substring(t.length-1);"者"!==r&&"且"!==r||(t=t.substring(0,t.length-2))}return t},formatConditionListTwo:function(e){var t=this,n="";if(e&&e.length>0)for(var r=function(){var r=this,s=e[i];if(s&&s.propName){var a=t.getOperators(t.fieldMap[s.propName]);if(a&&a.length>0){var l=a.filter(function(e){return(0,o.default)(this,r),e.name===s.operator}.bind(this));n+=s.leftBracket,t.fieldMap[s.propName]&&t.fieldMap[s.propName].label&&(n+=t.fieldMap[s.propName].label+" "),l&&l.length>0&&(n+=l[0].label+" "),n+=s.propValue+s.rightBracket+" ",s.logicOperator&&("or"===s.logicOperator?n+="或者":n+="并且")}}},i=0;i<e.length;i++)r();return n},getOperators:function(e){return e?"INTEGER"===e.type||"LONG"===e.type||"DOUBLE"===e.type||"FLOAT"===e.type?[{name:"operator.number.gt",label:(0,i.getI18n)().t("workflowEditor.process.greaterThan")},{name:"operator.number.lt",label:(0,i.getI18n)().t("workflowEditor.process.lessThan")},{name:"operator.number.eq",label:(0,i.getI18n)().t("workflowEditor.process.beEqualTo")},{name:"operator.number.le",label:(0,i.getI18n)().t("workflowEditor.process.notGreaterThan")},{name:"operator.number.ge",label:(0,i.getI18n)().t("workflowEditor.process.notLessThan")},{name:"operator.number.ne",label:(0,i.getI18n)().t("workflowEditor.process.notEqualTo")}]:"DATE"===e.type||"TIME"===e.type?[{name:"operator.date.gt",label:(0,i.getI18n)().t("workflowEditor.process.laterThan")},{name:"operator.date.lt",label:(0,i.getI18n)().t("workflowEditor.process.earlierThan")},{name:"operator.date.eq",label:(0,i.getI18n)().t("workflowEditor.process.beEqualTo")},{name:"operator.date.le",label:(0,i.getI18n)().t("workflowEditor.process.noLaterThan")},{name:"operator.date.ge",label:(0,i.getI18n)().t("workflowEditor.process.noEarlierThan")}]:"TEXT"===e.type?[{name:"operator.text.eq",label:(0,i.getI18n)().t("workflowEditor.process.beEqualTo")},{name:"operator.text.neq",label:(0,i.getI18n)().t("workflowEditor.process.notEqualTo")},{name:"operator.text.contain",label:(0,i.getI18n)().t("workflowEditor.process.contain")},{name:"operator.text.contain.not",label:(0,i.getI18n)().t("workflowEditor.process.notIncluded")}]:[{name:"operator.text.eq",label:(0,i.getI18n)().t("workflowEditor.process.beEqualTo")},{name:"operator.text.neq",label:(0,i.getI18n)().t("workflowEditor.process.notEqualTo")}]:[{name:"operator.text.eq",label:(0,i.getI18n)().t("workflowEditor.process.beEqualTo")},{name:"operator.text.neq",label:(0,i.getI18n)().t("workflowEditor.process.notEqualTo")}]}};t.default=s},function(e,t,n){"use strict";n.r(t);var r=n(334),o=n(173);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(335),o=n(175);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(337),o=n(179);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){var r=n(501),o=n(725),i=n(507),s=n(726);e.exports={xml2js:r,xml2json:o,js2xml:i,json2xml:s}},function(e,t,n){"use strict";var r,o="object"==typeof Reflect?Reflect:null,i=o&&"function"==typeof o.apply?o.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}e.exports=a,e.exports.once=function(e,t){return new Promise((function(n,r){function o(n){e.removeListener(t,i),r(n)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}g(e,t,i,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&g(e,"error",t,n)}(e,o,{once:!0})}))},a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var l=10;function c(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function d(e,t,n,r){var o,i,s,a;if(c(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),s=i[t]),void 0===s)s=i[t]=n,++e._eventsCount;else if("function"==typeof s?s=i[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(o=u(e))>0&&s.length>o&&!s.warned){s.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=s.length,a=l,console&&console.warn&&console.warn(a)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=f.bind(r);return o.listener=n,r.wrapFn=o,o}function h(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):v(o,o.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function v(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function g(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function o(i){r.once&&e.removeEventListener(t,o),n(i)}))}}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");l=e}}),a.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},a.prototype.getMaxListeners=function(){return u(this)},a.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var s;if(t.length>0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)i(l,this,t);else{var c=l.length,u=v(l,c);for(n=0;n<c;++n)i(u[n],this,t)}return!0},a.prototype.addListener=function(e,t){return d(this,e,t,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(e,t){return d(this,e,t,!0)},a.prototype.once=function(e,t){return c(t),this.on(e,p(this,e,t)),this},a.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,p(this,e,t)),this},a.prototype.removeListener=function(e,t){var n,r,o,i,s;if(c(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){s=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,s||t)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},a.prototype.listeners=function(e){return h(this,e,!0)},a.prototype.rawListeners=function(e){return h(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},a.prototype.listenerCount=m,a.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){(t=e.exports=n(503)).Stream=t,t.Readable=t,t.Writable=n(287),t.Duplex=n(51),t.Transform=n(506),t.PassThrough=n(720)},function(e,t,n){var r=n(74),o=r.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function s(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=s),i(o,s),s.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},s.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=o(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},s.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t,n){"use strict";(function(t,r,o){var i=n(92);function s(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var o=r.callback;t.pendingcb--,o(n),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}e.exports=b;var a,l=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?r:i.nextTick;b.WritableState=g;var c=Object.create(n(75));c.inherits=n(63);var u={deprecate:n(718)},d=n(504),f=n(286).Buffer,p=(void 0!==o?o:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var h,m=n(505);function v(){}function g(e,t){a=a||n(51),e=e||{};var r=t instanceof a;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var o=e.highWaterMark,c=e.writableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:r&&(c||0===c)?c:u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var d=!1===e.decodeStrings;this.decodeStrings=!d,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,o=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,o){--t.pendingcb,n?(i.nextTick(o,r),i.nextTick(A,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(o(r),e._writableState.errorEmitted=!0,e.emit("error",r),A(e,t))}(e,n,r,t,o);else{var s=_(n);s||n.corked||n.bufferProcessing||!n.bufferedRequest||k(e,n),r?l(y,e,n,s,o):y(e,n,s,o)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}function b(e){if(a=a||n(51),!(h.call(b,this)||this instanceof a))return new b(e);this._writableState=new g(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),d.call(this)}function w(e,t,n,r,o,i,s){t.writelen=r,t.writecb=s,t.writing=!0,t.sync=!0,n?e._writev(o,t.onwrite):e._write(o,i,t.onwrite),t.sync=!1}function y(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),A(e,t)}function k(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,o=new Array(r),i=t.corkedRequestsFree;i.entry=n;for(var a=0,l=!0;n;)o[a]=n,n.isBuf||(l=!1),n=n.next,a+=1;o.allBuffers=l,w(e,t,!0,t.length,o,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new s(t),t.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,u=n.encoding,d=n.callback;if(w(e,t,!1,t.objectMode?1:c.length,c,u,d),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function _(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function x(e,t){e._final((function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),A(e,t)}))}function A(e,t){var n=_(t);return n&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,i.nextTick(x,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}c.inherits(b,d),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:u.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(h=Function.prototype[Symbol.hasInstance],Object.defineProperty(b,Symbol.hasInstance,{value:function(e){return!!h.call(this,e)||this===b&&(e&&e._writableState instanceof g)}})):h=function(e){return e instanceof this},b.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},b.prototype.write=function(e,t,n){var r,o=this._writableState,s=!1,a=!o.objectMode&&(r=e,f.isBuffer(r)||r instanceof p);return a&&!f.isBuffer(e)&&(e=function(e){return f.from(e)}(e)),"function"==typeof t&&(n=t,t=null),a?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof n&&(n=v),o.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),i.nextTick(t,n)}(this,n):(a||function(e,t,n,r){var o=!0,s=!1;return null===n?s=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(s=new TypeError("Invalid non-string/buffer chunk")),s&&(e.emit("error",s),i.nextTick(r,s),o=!1),o}(this,o,e,n))&&(o.pendingcb++,s=function(e,t,n,r,o,i){if(!n){var s=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=f.from(t,n));return t}(t,r,o);r!==s&&(n=!0,o="buffer",r=s)}var a=t.objectMode?1:r.length;t.length+=a;var l=t.length<t.highWaterMark;l||(t.needDrain=!0);if(t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:o,isBuf:n,callback:i,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else w(e,t,!1,a,r,o,i);return l}(this,o,a,e,t,n)),s},b.prototype.cork=function(){this._writableState.corked++},b.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||k(this,e))},b.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(b.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),b.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},b.prototype._writev=null,b.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,A(e,t),n&&(t.finished?i.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),b.prototype.destroy=m.destroy,b.prototype._undestroy=m.undestroy,b.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,n(91),n(716).setImmediate,n(35))},function(e,t,n){"use strict";var r=n(719).Buffer,o=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=c,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=u,this.end=d,t=3;break;default:return this.write=f,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function s(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function u(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function f(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.StringDecoder=i,i.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},i.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},i.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var o=s(t[r]);if(o>=0)return o>0&&(e.lastNeed=o-1),o;if(--r<n||-2===o)return 0;if((o=s(t[r]))>=0)return o>0&&(e.lastNeed=o-2),o;if(--r<n||-2===o)return 0;if((o=s(t[r]))>=0)return o>0&&(2===o?o=0:e.lastNeed=o-3),o;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,n){var r=n(290).isArray;e.exports={copyOptions:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n},ensureFlagExists:function(e,t){e in t&&"boolean"==typeof t[e]||(t[e]=!1)},ensureSpacesExists:function(e){(!("spaces"in e)||"number"!=typeof e.spaces&&"string"!=typeof e.spaces)&&(e.spaces=0)},ensureAlwaysArrayExists:function(e){"alwaysArray"in e&&("boolean"==typeof e.alwaysArray||r(e.alwaysArray))||(e.alwaysArray=!1)},ensureKeyExists:function(e,t){e+"Key"in t&&"string"==typeof t[e+"Key"]||(t[e+"Key"]=t.compact?"_"+e:e)},checkFnExists:function(e,t){return e+"Fn"in t}}},function(e,t){e.exports={isArray:function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}}},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(14)),i=r(n(15));function s(){return window.$store}function a(){return window.$http}var l={fetchFormFields:function(e,t){var n=this;a().get(i.default.prototype.baseAPI+"/wf-editor/workflow-editors/form-fields?formCode="+e+"&formVersion="+t).then(function(t){(0,o.default)(this,n);var r=t.formFields,i=t.subFormFields;s().commit("wfEditor/setFormCode",e),s().commit("wfEditor/setFormFields",r);var a=r.concat(i);s().commit("wfEditor/setFormFieldsWithSub",a);var l=t.subtableConditionMap;s().commit("wfEditor/setSubtableConditionMap",l);var c=t.systemPropSettingList;s().commit("wfEditor/setPropSettingKeyList",c)}.bind(this))},fetchSubprocessFormFields:function(e,t){return a().get(i.default.prototype.baseAPI+"/wf-editor/workflow-editors/form-fields-with-processes?processCode="+e+"&processVersion="+t)}};t.default=l},function(e,t,n){"use strict";t.__esModule=!0,t.i18n=t.use=t.t=void 0;var r=a(n(583)),o=a(n(293)),i=a(n(15)),s=a(n(588));function a(e){return e&&e.__esModule?e:{default:e}}var l=(0,a(n(589)).default)(i.default),c=o.default,u=!1,d=function(){var e=(0,r.default)(this||i.default).$t;if("function"==typeof e&&i.default.locale)return u||(u=!0,i.default.locale(i.default.config.lang,(0,s.default)(c,i.default.locale(i.default.config.lang)||{},{clone:!0}))),e.apply(this,arguments)},f=t.t=function(e,t){var n=d.apply(this,arguments);if(null!=n)return n;for(var r=e.split("."),o=c,i=0,s=r.length;i<s;i++){var a=r[i];if(n=o[a],i===s-1)return l(n,t);if(!n)return"";o=n}return""},p=t.use=function(e){c=e||c},h=t.i18n=function(e){d=e||d};t.default={use:p,t:f,i18n:h}},function(e,t,n){"use strict";t.__esModule=!0,t.default={el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确认",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1月",month2:"2月",month3:"3月",month4:"4月",month5:"5月",month6:"6月",month7:"7月",month8:"8月",month9:"9月",month10:"10月",month11:"11月",month12:"12月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},iconselect:{inputPlaceholder:"点击选择图标",searchPlaceholder:"搜索...",noMatchIcon:"暂无对应的图标"}}}},function(e,t,n){"use strict";var r=n(372);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(406);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(407);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(410);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(412);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(413);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(417);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(420);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(421);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(424);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(427);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(429);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(431);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(434);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(437);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(440);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(442);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(443);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(444);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(446);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(449);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(451);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(453);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(454);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(456);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(458);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(461);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(463);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(464);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(466);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(468);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(471);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(472);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(473);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(475);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(476);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(477);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(479);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(481);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(482);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(483);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(484);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(485);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(488);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(490);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(492);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(494);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(497);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(498);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(500);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(508);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(509);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(510);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(511);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(512);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(513);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(515);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(516);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(517);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(518);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(520);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(521);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(522);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(523);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(524);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(526);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(529);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(530);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(531);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(532);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(533);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(536);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(539);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(541);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(543);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(544);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(545);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){e.exports=!n(28)&&!n(24)((function(){return 7!=Object.defineProperty(n(250)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",{ref:"wfEditor",staticStyle:{position:"relative",height:"100%"},on:{mousedown:function(t){return e.setContextMenuVisible(!1)},mousewheel:function(t){return e.setContextMenuVisible(!1)}}},[t("el-row",{staticClass:"button-area"},[e.readonly?e._e():t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.saveXml}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.save"))+"\n ")]),e._v(" "),e.readonly?e._e():t("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"wf.workflowDefinition.adminSave",expression:"'wf.workflowDefinition.adminSave'"}],attrs:{type:"primary",size:"small"},on:{click:e.adminSave}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.adminSave"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.exportProcessFromClient}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.export"))+"\n ")]),e._v(" "),e.readonly?e._e():t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.selectProcessFile}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.open"))+"\n "),t("input",{ref:"processFile",staticStyle:{display:"none"},attrs:{type:"file",name:"processFile",accept:".xml"},on:{change:e.openXmlFromClient}})]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.$emit("back")}}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.return"))+"\n ")])],1),e._v(" "),t("div",{staticClass:"main",on:{mousedown:e.startDrag,mousemove:e.drag,mouseup:e.endDrag,mouseleave:e.clearStatus}},[e.readonly?e._e():t("toolbox",{staticClass:"toolbox",attrs:{onselectstart:"return false",oncontextmenu:"return false"}}),e._v(" "),t("section",[t("el-tabs",{staticClass:"tabs",attrs:{type:"border-card"},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},[t("el-tab-pane",{staticClass:"tab-pane",attrs:{label:e.$t("workflowEditorPublicModel.flowChart"),name:"canvas"}},[t("workflow-canvas",{staticClass:"canvas",attrs:{onselectstart:"return false",process:e.process},nativeOn:{mouseup:function(t){return e.addTache.apply(null,arguments)},contextmenu:function(t){return t.preventDefault(),e.showContextMenu.apply(null,arguments)}}})],1),e._v(" "),t("el-tab-pane",{staticClass:"tab-pane",attrs:{label:"XML",name:"xml"}},["xml"===e.activeTab?t("pre",{staticClass:"xml line-numbers"},[t("code",{ref:"xml",staticClass:"language-xml"},[e._v(e._s(e.xml))])]):e._e()])],1)],1)],1),e._v(" "),e.componentToDraw?t("icon-svg",{staticClass:"component-icon",style:{height:e.componentInfo.height,width:e.componentInfo.width,color:e.componentInfo.color,left:e.currentPosition.x+"px",top:e.currentPosition.y+"px"},attrs:{icon:e.componentInfo.icon}}):e._e(),e._v(" "),e.contextMenuVisible?t("context-menu",{style:{position:"absolute",left:e.contextMenuPosition.x+"px",top:e.contextMenuPosition.y+"px"}}):e._e(),e._v(" "),e.isAdminSave?t("admin-save-dialog",{on:{close:function(t){e.isAdminSave=!1},update:e.updateWfVersion,add:e.addWfVersion}}):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){var r=n(36),o=n(37),i=n(555)(!1),s=n(251)("IE_PROTO");e.exports=function(e,t){var n,a=o(e),l=0,c=[];for(n in a)n!=s&&r(a,n)&&c.push(n);for(;t.length>l;)r(a,n=t[l++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){var r=n(38);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(65),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){t.f=n(16)},function(e,t,n){var r=n(17),o=n(47),i=n(66),s=n(376),a=n(26).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||a(t,e,{value:s.f(e)})}},function(e,t,n){var r=n(38);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(37),o=n(80).f,i={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return s.slice()}}(e):o(r(e))}},function(e,t,n){"use strict";var r=n(24);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){"use strict";var r=n(26),o=n(68);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){var r=n(16)("unscopables"),o=Array.prototype;null==o[r]&&n(40)(o,r,{}),e.exports=function(e){o[r][e]=!0}},function(e,t,n){"use strict";var r=n(66),o=n(22),i=n(34),s=n(40),a=n(70),l=n(564),c=n(79),u=n(565),d=n(16)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,h,m,v,g){l(n,t,h);var b,w,y,k=function(e){if(!f&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" Iterator",x="values"==m,A=!1,C=e.prototype,T=C[d]||C["@@iterator"]||m&&C[m],E=T||k(m),O=m?x?k("entries"):E:void 0,P="Array"==t&&C.entries||T;if(P&&(y=u(P.call(new e)))!==Object.prototype&&y.next&&(c(y,_,!0),r||"function"==typeof y[d]||s(y,d,p)),x&&T&&"values"!==T.name&&(A=!0,E=function(){return T.call(this)}),r&&!g||!f&&!A&&C[d]||s(C,d,E),a[t]=E,a[_]=p,m)if(b={values:x?E:k("values"),keys:v?E:k("keys"),entries:O},g)for(w in b)w in C||i(C,w,b[w]);else o(o.P+o.F*(f||A),t,b);return b}},function(e,t,n){"use strict";var r,o,i,s,a=n(66),l=n(17),c=n(48),u=n(81),d=n(22),f=n(27),p=n(78),h=n(570),m=n(571),v=n(388),g=n(389).set,b=n(573)(),w=n(390),y=n(574),k=n(575),_=n(576),x=l.TypeError,A=l.process,C=A&&A.versions,T=C&&C.v8||"",E=l.Promise,O="process"==u(A),P=function(){},S=o=w.f,M=!!function(){try{var e=E.resolve(1),t=(e.constructor={})[n(16)("species")]=function(e){e(P,P)};return(O||"function"==typeof PromiseRejectionEvent)&&e.then(P)instanceof t&&0!==T.indexOf("6.6")&&-1===k.indexOf("Chrome/66")}catch(e){}}(),F=function(e){var t;return!(!f(e)||"function"!=typeof(t=e.then))&&t},R=function(e,t){if(!e._n){e._n=!0;var n=e._c;b((function(){for(var r=e._v,o=1==e._s,i=0,s=function(t){var n,i,s,a=o?t.ok:t.fail,l=t.resolve,c=t.reject,u=t.domain;try{a?(o||(2==e._h&&D(e),e._h=1),!0===a?n=r:(u&&u.enter(),n=a(r),u&&(u.exit(),s=!0)),n===t.promise?c(x("Promise-chain cycle")):(i=F(n))?i.call(n,l,c):l(n)):c(r)}catch(e){u&&!s&&u.exit(),c(e)}};n.length>i;)s(n[i++]);e._c=[],e._n=!1,t&&!e._h&&I(e)}))}},I=function(e){g.call(l,(function(){var t,n,r,o=e._v,i=$(e);if(i&&(t=y((function(){O?A.emit("unhandledRejection",o,e):(n=l.onunhandledrejection)?n({promise:e,reason:o}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",o)})),e._h=O||$(e)?2:1),e._a=void 0,i&&t.e)throw t.v}))},$=function(e){return 1!==e._h&&0===(e._a||e._c).length},D=function(e){g.call(l,(function(){var t;O?A.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})}))},j=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),R(t,!0))},N=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw x("Promise can't be resolved itself");(t=F(e))?b((function(){var r={_w:n,_d:!1};try{t.call(e,c(N,r,1),c(j,r,1))}catch(e){j.call(r,e)}})):(n._v=e,n._s=1,R(n,!1))}catch(e){j.call({_w:n,_d:!1},e)}}};M||(E=function(e){h(this,E,"Promise","_h"),p(e),r.call(this);try{e(c(N,this,1),c(j,this,1))}catch(e){j.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(577)(E.prototype,{then:function(e,t){var n=S(v(this,E));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=O?A.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&R(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=c(N,e,1),this.reject=c(j,e,1)},w.f=S=function(e){return e===E||e===s?new i(e):o(e)}),d(d.G+d.W+d.F*!M,{Promise:E}),n(79)(E,"Promise"),n(578)("Promise"),s=n(47).Promise,d(d.S+d.F*!M,"Promise",{reject:function(e){var t=S(this);return(0,t.reject)(e),t.promise}}),d(d.S+d.F*(a||!M),"Promise",{resolve:function(e){return _(a&&this===s?E:this,e)}}),d(d.S+d.F*!(M&&n(391)((function(e){E.all(e).catch(P)}))),"Promise",{all:function(e){var t=this,n=S(t),r=n.resolve,o=n.reject,i=y((function(){var n=[],i=0,s=1;m(e,!1,(function(e){var a=i++,l=!1;n.push(void 0),s++,t.resolve(e).then((function(e){l||(l=!0,n[a]=e,--s||r(n))}),o)})),--s||r(n)}));return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=S(t),r=n.reject,o=y((function(){m(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},function(e,t,n){var r=n(21);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(70),o=n(16)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){var r=n(81),o=n(16)("iterator"),i=n(70);e.exports=n(47).getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(21),o=n(78),i=n(16)("species");e.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||null==(n=r(s)[i])?t:o(n)}},function(e,t,n){var r,o,i,s=n(48),a=n(572),l=n(257),c=n(250),u=n(17),d=u.process,f=u.setImmediate,p=u.clearImmediate,h=u.MessageChannel,m=u.Dispatch,v=0,g={},b=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},w=function(e){b.call(e.data)};f&&p||(f=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++v]=function(){a("function"==typeof e?e:Function(e),t)},r(v),v},p=function(e){delete g[e]},"process"==n(38)(d)?r=function(e){d.nextTick(s(b,e,1))}:m&&m.now?r=function(e){m.now(s(b,e,1))}:h?(i=(o=new h).port2,o.port1.onmessage=w,r=s(i.postMessage,i,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",w,!1)):r="onreadystatechange"in c("script")?function(e){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),b.call(e)}}:function(e){setTimeout(s(b,e,1),0)}),e.exports={set:f,clear:p}},function(e,t,n){"use strict";var r=n(78);function o(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new o(e)}},function(e,t,n){var r=n(16)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],s=i[r]();s.next=function(){return{done:n=!0}},i[r]=function(){return s},e(i)}catch(e){}return n}},function(e,t,n){"use strict";!function(e){var t,n='<svg><symbol id="icon-switch" viewBox="0 0 1024 1024"><path d="M701.74225 917.574059c-7.419408 0-14.960447-2.675852-20.9203-8.149187-12.649483-11.554816-13.500891-31.13719-2.067704-43.786673l119.318684-130.75187L679.119135 608.634755c-11.798076-12.527854-11.189928-32.110227 1.337926-43.786673 12.527854-11.798076 32.110227-11.189928 43.786673 1.337926l138.657798 147.171873c11.068298 11.798076 11.311557 30.164153 0.364889 42.205488l-138.657798 152.037059c-6.081482 6.568001-14.473928 9.973631-22.866373 9.973631z" fill="" ></path><path d="M806.343746 786.21404h-581.389713c-82.100012 0-148.996318-66.896306-148.996318-148.996318v-245.691888c0-17.14978 13.86578-31.01556 31.01556-31.01556s31.01556 13.86578 31.01556 31.01556v245.691888c0 47.922081 39.043117 86.965198 86.965198 86.965198h581.389713c17.14978 0 31.01556 13.86578 31.01556 31.01556s-13.86578 31.01556-31.01556 31.01556z" fill="" ></path><path d="M322.25775 468.76066c-8.270816 0-16.420002-3.284-22.623114-9.730371l-138.657798-147.171874c-11.068298-11.798076-11.311557-30.164153-0.364889-42.205487l138.657798-152.037059c11.554816-12.649483 31.13719-13.500891 43.786673-2.067704 12.649483 11.554816 13.500891 31.13719 2.067704 43.786673l-119.197054 130.8735 118.953795 126.251574c11.798076 12.527854 11.189928 32.110227-1.337926 43.786673-5.959853 5.716593-13.62252 8.514075-21.285189 8.514075z" fill="" ></path><path d="M917.026725 664.584392c-17.14978 0-31.01556-13.86578-31.01556-31.01556v-245.691887c0-47.922081-39.043117-86.965198-86.965198-86.965198h-581.389713c-17.14978 0-31.01556-13.86578-31.01556-31.01556s13.86578-31.01556 31.01556-31.01556h581.389713c82.100012 0 148.996318 66.896306 148.996318 148.996318v245.691887c0 17.14978-13.86578 31.01556-31.01556 31.01556z" fill="" ></path></symbol><symbol id="icon-properties" viewBox="0 0 1024 1024"><path d="M512.980327 64.636113c-246.706845 0-447.421192 200.714348-447.421192 447.421192 0 246.700705 200.714348 447.415053 447.421192 447.415053s447.421192-200.714348 447.421193-447.415053c0-246.706845-200.715371-447.421192-447.421193-447.421192z m0 833.54532c-212.913181 0-386.130268-173.21811-386.130267-386.125151 0-212.913181 173.21811-386.130268 386.130267-386.130268s386.130268 173.21811 386.130268 386.130268c0 212.908064-173.21811 386.125151-386.130268 386.125151z" ></path><path d="M606.931093 640.392182c-11.621688 0-55.209416 68.771293-79.423911 68.771293-6.780427 0-9.685593-5.813403-9.685593-11.624758 0-13.558807 8.715499-33.899064 13.558807-45.520753l57.147558-156.913773c28.088732-77.487815-8.717546-98.795097-42.617633-98.795097-46.491871 0-88.142479 23.245424-120.105449 54.240345-10.654664 10.654664-45.523823 44.554752-45.523823 59.083654 0 4.844332 4.843308 10.655687 10.655688 10.655687 14.528901 0 52.302203-69.739341 82.328053-69.739341 5.814426 0 13.561877 6.780427 7.751545 21.309329L426.773943 612.304474c-5.811356 13.558807-32.93204 79.423911-32.93204 118.167306 0 30.994921 19.373233 44.554752 48.432059 44.554752 80.391958 0 174.34477-99.765191 174.34477-123.009591-0.002047-6.780427-5.814426-11.624758-9.687639-11.624759zM590.464049 249.081938c-35.836183 0-65.86408 28.088732-65.86408 63.927985 0 32.93204 21.310352 55.210439 54.242392 54.239322 36.805254 0 66.832128-27.120684 66.832128-63.927985 0-32.92897-23.24747-54.239322-55.21044-54.239322z" ></path></symbol><symbol id="icon-delete" viewBox="0 0 1024 1024"><path d="M409.6 163.84h163.84v40.96h-163.84zM532.48 368.64h40.96v368.64h-40.96zM409.6 368.64h40.96v368.64h-40.96z" ></path><path d="M286.72 245.76v614.4h409.6V245.76H286.72z m450.56 0v655.36H245.76V245.76H204.8V204.8h573.44v40.96h-40.96z" ></path></symbol><symbol id="icon-custom-task" viewBox="0 0 1024 1024"><path d="M756.63132445 483.81952l220.74709333-209.7152a112.86755555 112.86755555 0 0 0 0-159.61656889l-55.08664889-55.08664889a112.86755555 112.86755555 0 0 0-157.54126222-2.00248889L549.13706667 262.12579555 339.71313778 38.39317333l-1.71121778-1.78403555a73.76440889 73.76440889 0 0 0-104.34787555-0.43690667L76.44046222 193.38581333a73.728 73.728 0 0 0-1.27431111 102.56384L281.49532445 516.36906667 86.41649778 701.69031111A112.94037333 112.94037333 0 0 0 54.26744889 757.76L21.28099555 898.55317333a74.67463111 74.67463111 0 0 0 93.7528889 88.65564445L250.76622222 947.23185778a113.48650667 113.48650667 0 0 0 45.8752-26.43285333l192.34816-182.73621334 231.66976 247.50762667 1.71121778 1.78403555a73.76440889 73.76440889 0 0 0 104.34787555 0.43690667L983.93201778 830.57777778a73.728 73.728 0 0 0 1.27431111-102.56384L756.63132445 483.81952zM292.89130667 823.95136l-102.52743112-102.52743111a35.82634667 35.82634667 0 0 0-11.14112-7.39100444l509.2511289-483.80131556 107.26058666 107.26058666c1.60199111 1.60199111 3.60448 2.36657778 5.42492444 3.60448l-508.26808888 482.85468445z m521.99424-713.83267555a40.04977778 40.04977778 0 0 1 55.88764444 0.72817777l55.08664889 55.08664889c15.65582222 15.65582222 15.65582222 40.99640889-0.72817778 57.344l-73.32750222 69.65020444c-1.45635555-2.36657778-2.54862222-4.87879111-4.62392889-6.95409777l-105.94986666-105.94986667 73.65518222-69.90506666z m-557.16522667 274.34097777c9.10222222-0.14563555 18.20444445-3.60448 25.15854222-10.55857777l54.61333333-54.61333334a36.37248 36.37248 0 1 0-51.48216888-51.48216889l-54.61333334 54.61333333a36.0448 36.0448 0 0 0-10.15808 23.04682667L128.35953778 246.21511111c-0.58254222-0.58254222-0.58254222-1.16508445-0.40049778-1.31072L285.17262222 87.6544c0.14563555-0.14563555 0.76458667-0.14563555 1.41994667 0.47331555l209.78801778 224.13312L334.32462222 466.23402667l-76.60430222-81.77436445zM94.46286222 917.37656889a1.82044445 1.82044445 0 0 1-2.29376-2.18453334L125.15555555 774.39886222c1.12867555-4.73315555 3.34961778-9.06581333 6.04387556-13.07079111a36.19043555 36.19043555 0 0 0 7.68227556 11.54161778l100.45212444 100.45212444a39.90414222 39.90414222 0 0 1-9.10222222 4.04138667l-135.76874667 40.01336889zM775.23626667 936.3456c-0.14563555 0.14563555-0.76458667 0.14563555-1.41994667-0.47331555l-142.90488889-152.66247112a35.53507555 35.53507555 0 0 0 16.01991111-8.77454222l54.61333333-54.61333333a36.37248 36.37248 0 1 0-51.48216888-51.48216889l-54.61333334 54.61333333a36.0448 36.0448 0 0 0-8.30122666 13.54410667l-45.40188445-48.53304889 162.05596445-153.97319111 228.21091555 243.83032889c0.54613333 0.58254222 0.54613333 1.16508445 0.40049778 1.31072L775.23626667 936.3456z" ></path></symbol><symbol id="icon-join" viewBox="0 0 1024 1024"><path d="M987.136 552.96c5.46133333-5.46133333 10.92266667-13.65333333 10.92266667-24.576 0-8.192-2.73066667-16.384-10.92266667-24.576L817.83466667 329.04533333c-5.46133333-2.73066667-13.65333333-8.192-24.576-8.192-8.192 0-19.11466667 2.73066667-24.576 10.92266667l-177.49333334 174.76266667C585.728 512 580.26666667 520.192 580.26666667 531.11466667s2.73066667 19.11466667 10.92266666 24.576l177.49333334 172.032c5.46133333 5.46133333 13.65333333 10.92266667 24.576 10.92266666 8.192 0 16.384-2.73066667 24.576-10.92266666L987.136 552.96zM25.94133333 970.752c0 8.192 2.73066667 16.384 10.92266667 24.576 5.46133333 5.46133333 16.384 10.92266667 24.576 10.92266667h270.336c8.192 0 16.384-2.73066667 24.576-10.92266667 5.46133333-5.46133333 10.92266667-16.384 10.92266667-24.576v-68.26666667h152.91733333c8.192 0 16.384-2.73066667 24.576-10.92266666 5.46133333-5.46133333 10.92266667-16.384 10.92266667-24.576v-682.66666667c0-8.192-2.73066667-16.384-10.92266667-24.576-5.46133333-5.46133333-16.384-10.92266667-24.576-10.92266667H367.27466667V47.78666667c0-8.192-2.73066667-16.384-10.92266667-24.576-5.46133333-5.46133333-16.384-10.92266667-24.576-10.92266667H61.44c-8.192 0-16.384 2.73066667-24.576 10.92266667-5.46133333 5.46133333-10.92266667 16.384-10.92266667 24.576v221.184c0 8.192 2.73066667 16.384 10.92266667 24.576 5.46133333 5.46133333 16.384 10.92266667 24.576 10.92266666h270.336c8.192 0 16.384-2.73066667 24.576-10.92266666 5.46133333-5.46133333 10.92266667-16.384 10.92266667-24.576V252.58666667h68.26666666c8.192 0 16.384 2.73066667 24.576 10.92266666 5.46133333 5.46133333 10.92266667 16.384 10.92266667 24.576V785.06666667c0 8.192-2.73066667 16.384-10.92266667 24.576-5.46133333 5.46133333-16.384 10.92266667-24.576 10.92266666h-68.26666666v-68.26666666c0-8.192-2.73066667-16.384-10.92266667-24.576-5.46133333-5.46133333-16.384-10.92266667-24.576-10.92266667H61.44c-8.192 0-16.384 2.73066667-24.576 10.92266667-5.46133333 5.46133333-10.92266667 16.384-10.92266667 24.576v218.45333333z" ></path></symbol><symbol id="icon-fork" viewBox="0 0 1024 1024"><path d="M36.864 471.04c-5.46133333 5.46133333-10.92266667 13.65333333-10.92266667 24.576 0 8.192 2.73066667 16.384 10.92266667 24.576l169.30133333 174.76266667c5.46133333 2.73066667 13.65333333 8.192 24.576 8.192 8.192 0 19.11466667-2.73066667 24.576-10.92266667l177.49333334-174.76266667c5.46133333-5.46133333 10.92266667-13.65333333 10.92266666-24.576s-2.73066667-19.11466667-10.92266666-24.576l-177.49333334-172.032c-5.46133333-5.46133333-13.65333333-10.92266667-24.576-10.92266666-8.192 0-16.384 2.73066667-24.576 10.92266666L36.864 471.04zM998.05866667 53.248c0-8.192-2.73066667-16.384-10.92266667-24.576-5.46133333-5.46133333-16.384-10.92266667-24.576-10.92266667H692.224c-8.192 0-16.384 2.73066667-24.576 10.92266667-5.46133333 5.46133333-10.92266667 16.384-10.92266667 24.576v68.26666667H503.808c-8.192 0-16.384 2.73066667-24.576 10.92266666-5.46133333 5.46133333-10.92266667 16.384-10.92266667 24.576v682.66666667c0 8.192 2.73066667 16.384 10.92266667 24.576 5.46133333 5.46133333 16.384 10.92266667 24.576 10.92266667h152.91733333v101.03466666c0 8.192 2.73066667 16.384 10.92266667 24.576 5.46133333 5.46133333 16.384 10.92266667 24.576 10.92266667H962.56c8.192 0 16.384-2.73066667 24.576-10.92266667 5.46133333-5.46133333 10.92266667-16.384 10.92266667-24.576V755.02933333c0-8.192-2.73066667-16.384-10.92266667-24.576-5.46133333-5.46133333-16.384-10.92266667-24.576-10.92266666H692.224c-8.192 0-16.384 2.73066667-24.576 10.92266666-5.46133333 5.46133333-10.92266667 16.384-10.92266667 24.576v16.384h-68.26666666c-8.192 0-16.384-2.73066667-24.576-10.92266666-5.46133333-5.46133333-10.92266667-16.384-10.92266667-24.576V238.93333333c0-8.192 2.73066667-16.384 10.92266667-24.576 5.46133333-5.46133333 16.384-10.92266667 24.576-10.92266666h68.26666666v68.26666666c0 8.192 2.73066667 16.384 10.92266667 24.576 5.46133333 5.46133333 16.384 10.92266667 24.576 10.92266667H962.56c8.192 0 16.384-2.73066667 24.576-10.92266667 5.46133333-5.46133333 10.92266667-16.384 10.92266667-24.576V53.248z" ></path></symbol><symbol id="icon-copy-task" viewBox="0 0 1024 1024"><path d="M636.30222222 513.25155555c11.71911111-6.82666667 21.16266667-26.39644445 1.36533334-35.72622222-6.71288889-3.072-13.65333333-5.91644445-20.59377778-8.64711111C666.45333334 424.61866667 697.74222222 360.56177778 697.74222222 288.99555555c0-133.34755555-108.20266667-241.55022222-241.55022222-241.55022222S214.64177778 155.648 214.64177778 288.99555555c0 71.56622222 31.28888889 135.62311111 80.66844444 179.88266667-146.31822222 57.45777778-254.29333333 191.03288889-275.34222222 352.02844445-0.22755555 1.93422222-0.34133333 3.86844445-0.34133333 5.80266666 0 30.37866667 24.576 55.06844445 55.06844445 55.06844445H532.76444445c-21.04888889-38.912-33.10933333-83.51288889-33.10933333-130.84444445 0.11377778-101.48977778 55.06844445-190.00888889 136.6471111-237.68177778z m31.63022223 227.8968889l78.05155555 37.09155555 98.98666667-98.98666667z m133.91644444 133.91644444l56.88888889-171.23555556-94.09422222 94.09422222z" ></path><path d="M774.76977778 524.97066667c-124.47288889 0-225.84888889 101.26222222-225.84888889 225.84888888 0 124.47288889 101.26222222 225.84888889 225.84888889 225.8488889s225.84888889-101.26222222 225.84888889-225.8488889c0-124.47288889-101.26222222-225.84888889-225.84888889-225.84888888z m129.47911111 128l-87.15377777 262.25777778c-1.70666667 5.23377778-6.48533333 8.87466667-11.94666667 9.216h-0.91022223c-5.12 0-10.01244445-2.95822222-12.17422222-7.62311112l-54.49955555-112.64-110.93333333-52.90666666c-3.29955555-1.59288889-5.80266667-4.32355555-6.94044445-7.73688889-2.50311111-7.05422222 1.25155555-14.79111111 8.30577778-17.29422223l258.95822222-90.45333333c1.47911111-0.45511111 2.95822222-0.79644445 4.43733333-0.79644444 3.64088889 0 6.94044445 1.36533333 9.55733334 3.86844444 3.52711111 3.75466667 4.89244445 9.216 3.29955555 14.10844445z" ></path></symbol><symbol id="icon-subprocess" viewBox="0 0 1024 1024"><path d="M1023.78666667 129.49333333c-0.32-6.93333333-1.28-13.86666667-2.56-20.48s-3.2-13.12-5.54666667-19.41333333c-0.74666667-2.13333333-1.6-4.16-2.45333333-6.18666667-3.73333333-8.85333333-8.42666667-17.28-13.86666667-25.06666666-0.32-0.53333333-0.74666667-1.06666667-1.06666667-1.49333334-0.96-1.28-1.92-2.66666667-2.98666666-3.94666666-0.32-0.32-0.53333333-0.74666667-0.85333334-1.06666667-2.56-3.2-5.22666667-6.29333333-8-9.28l-0.21333333-0.21333333c-5.97333333-6.29333333-12.58666667-12.05333333-19.73333333-17.06666667-1.49333333-1.06666667-2.98666667-2.02666667-4.48-3.09333333-1.6-1.06666667-3.2-2.02666667-4.90666667-3.09333334-0.85333333-0.53333333-1.81333333-1.06666667-2.66666667-1.6-1.28-0.74666667-2.45333333-1.38666667-3.73333333-2.02666666-0.64-0.32-1.28-0.64-2.02666667-1.06666667-1.28-0.64-2.66666667-1.28-4.05333333-1.92-2.56-1.17333333-5.22666667-2.34666667-7.89333333-3.41333333-1.49333333-0.64-3.09333333-1.17333333-4.58666667-1.70666667-2.34666667-0.85333333-4.8-1.6-7.25333333-2.24-3.2-0.96-6.50666667-1.70666667-9.81333334-2.45333333-5.54666667-1.17333333-11.2-1.92-16.96-2.34666667-3.52-0.21333333-6.93333333-0.42666667-10.45333333-0.42666667s-7.04 0.10666667-10.45333333 0.42666667c-5.76 0.42666667-11.41333333 1.28-16.96 2.34666667-3.30666667 0.64-6.61333333 1.49333333-9.81333334 2.45333333-2.45333333 0.64-4.8 1.49333333-7.25333333 2.24-1.49333333 0.53333333-3.09333333 1.06666667-4.58666667 1.70666667-2.66666667 1.06666667-5.33333333 2.13333333-7.89333333 3.41333333-1.38666667 0.64-2.66666667 1.28-4.05333333 1.92-0.64 0.32-1.28 0.64-2.02666667 1.06666667-1.28 0.64-2.56 1.38666667-3.73333333 2.02666666-0.96 0.53333333-1.81333333 1.06666667-2.66666667 1.6-1.6 0.96-3.30666667 2.02666667-4.90666667 3.09333334-1.49333333 0.96-2.98666667 2.02666667-4.48 3.09333333-7.14666667 5.01333333-13.76 10.77333333-19.73333333 17.06666667l-0.21333333 0.21333333c-2.77333333 2.98666667-5.44 6.08-8 9.28-0.32 0.32-0.53333333 0.74666667-0.85333334 1.06666667-0.96 1.28-2.02666667 2.56-2.98666666 3.94666666-0.32 0.53333333-0.74666667 1.06666667-1.06666667 1.49333334-5.44 7.78666667-10.13333333 16.21333333-13.86666667 25.06666666-0.85333333 2.02666667-1.70666667 4.16-2.45333333 6.18666667-2.34666667 6.29333333-4.16 12.8-5.54666667 19.41333333s-2.24 13.54666667-2.56 20.48c-0.10666667 2.34666667-0.21333333 4.69333333-0.21333333 7.04 0 3.52 0.10666667 7.04 0.42666667 10.45333334 0.42666667 5.76 1.28 11.41333333 2.34666666 16.96 0.64 3.30666667 1.49333333 6.61333333 2.45333334 9.81333333 5.22666667 18.34666667 14.18666667 35.09333333 26.02666666 49.49333333 0.74666667 0.85333333 1.38666667 1.70666667 2.13333334 2.45333334 4.16 4.8 8.74666667 9.38666667 13.54666666 13.65333333l-105.81333333 306.98666667c-3.09333333-0.21333333-6.18666667-0.32-9.28-0.32-14.93333333 0-29.33333333 2.45333333-42.77333333 6.82666666-0.64 0.21333333-1.28 0.42666667-1.81333334 0.64-1.49333333 0.53333333-3.09333333 1.06666667-4.58666666 1.70666667-2.34666667 0.96-4.69333333 1.92-7.04 2.98666667L466.56 395.62666667c2.34666667-5.44 4.37333333-11.2 6.08-16.96 0.96-3.2 1.70666667-6.50666667 2.45333333-9.81333334 1.17333333-5.54666667 1.92-11.2 2.34666667-16.96 0.21333333-3.52 0.42666667-6.93333333 0.42666667-10.45333333 0-2.34666667-0.10666667-4.69333333-0.21333334-7.04-0.32-6.93333333-1.28-13.86666667-2.56-20.48-7.04-34.45333333-27.09333333-64.10666667-54.72-83.84-0.85333333-0.64-1.81333333-1.28-2.66666666-1.92-6.4-4.26666667-13.12-8.10666667-20.16-11.30666667-2.02666667-0.96-4.05333333-1.81333333-6.08-2.56s-4.16-1.6-6.29333334-2.34666666c-13.76-4.69333333-28.48-7.14666667-43.84-7.14666667-3.52 0-7.04 0.10666667-10.45333333 0.42666667-5.76 0.42666667-11.41333333 1.28-16.96 2.34666666-3.30666667 0.64-6.61333333 1.49333333-9.81333333 2.45333334-2.45333333 0.64-4.8 1.49333333-7.25333334 2.24-1.49333333 0.53333333-3.09333333 1.06666667-4.58666666 1.70666666-2.66666667 1.06666667-5.33333333 2.13333333-7.89333334 3.41333334-1.38666667 0.64-2.66666667 1.28-4.05333333 1.92-0.64 0.32-1.28 0.64-2.02666667 1.06666666-1.28 0.64-2.56 1.38666667-3.73333333 2.02666667-0.96 0.53333333-1.81333333 1.06666667-2.66666667 1.6-1.6 0.96-3.30666667 2.02666667-4.90666666 3.09333333-1.49333333 0.96-2.98666667 2.02666667-4.48 3.09333334-7.14666667 5.01333333-13.76 10.77333333-19.73333334 17.06666666l-0.21333333 0.21333334c-2.77333333 2.98666667-5.44 6.08-8 9.28-0.32 0.32-0.53333333 0.74666667-0.85333333 1.06666666-0.96 1.28-2.02666667 2.56-2.98666667 3.94666667-0.32 0.53333333-0.74666667 1.06666667-1.06666667 1.49333333-5.44 7.78666667-10.13333333 16.21333333-13.86666666 25.06666667-0.85333333 2.02666667-1.70666667 4.16-2.45333334 6.18666667-2.34666667 6.29333333-4.16 12.8-5.54666666 19.41333333s-2.24 13.54666667-2.56 20.48c-0.10666667 2.34666667-0.21333333 4.69333333-0.21333334 7.04 0 3.52 0.10666667 7.04 0.42666667 10.45333333 0.42666667 5.76 1.28 11.41333333 2.34666667 16.96 0.64 3.30666667 1.49333333 6.61333333 2.45333333 9.81333334 5.22666667 18.34666667 14.18666667 35.09333333 26.02666667 49.49333333 0.74666667 0.85333333 1.38666667 1.70666667 2.13333333 2.45333333 0.64 0.74666667 1.28 1.49333333 1.92 2.13333334L129.6 751.04c-12.48 0.64-24.53333333 2.88-35.84 6.61333333-0.64 0.21333333-1.28 0.42666667-1.81333333 0.64-1.49333333 0.53333333-3.09333333 1.06666667-4.58666667 1.70666667-2.66666667 1.06666667-5.33333333 2.13333333-7.89333333 3.41333333-3.30666667 1.49333333-6.61333333 3.2-9.81333334 5.01333334-0.96 0.53333333-1.81333333 1.06666667-2.66666666 1.6-1.6 0.96-3.30666667 2.02666667-4.90666667 3.09333333-1.49333333 0.96-2.98666667 2.02666667-4.48 3.09333333-1.81333333 1.28-3.52 2.56-5.22666667 3.94666667-0.85333333 0.64-1.70666667 1.38666667-2.56 2.02666667-2.56 2.13333333-5.01333333 4.26666667-7.36 6.50666666-0.74666667 0.74666667-1.6 1.49333333-2.34666666 2.24-1.49333333 1.49333333-3.09333333 3.09333333-4.48 4.69333334-1.49333333 1.6-2.88 3.30666667-4.26666667 4.90666666-2.77333333 3.41333333-5.44 6.82666667-7.89333333 10.56-4.90666667 7.25333333-9.17333333 15.04-12.58666667 23.14666667-0.85333333 2.02666667-1.70666667 4.16-2.45333333 6.18666667-0.74666667 2.13333333-1.49333333 4.16-2.13333334 6.29333333-1.28 4.26666667-2.45333333 8.64-3.41333333 13.12s-1.6 8.96-2.02666667 13.54666667c-0.42666667 4.58666667-0.74666667 9.28-0.74666666 13.97333333 0 75.41333333 61.12 136.53333333 136.53333333 136.53333333s136.53333333-61.12 136.53333333-136.53333333c0-4.69333333-0.21333333-9.38666667-0.74666666-13.97333333-0.42666667-4.58666667-1.17333333-9.06666667-2.02666667-13.54666667s-2.02666667-8.85333333-3.41333333-13.12c-0.64-2.13333333-1.38666667-4.26666667-2.13333334-6.29333333-0.74666667-2.13333333-1.6-4.16-2.45333333-6.18666667-3.41333333-8.21333333-7.68-15.89333333-12.58666667-23.14666667-2.45333333-3.62666667-5.12-7.14666667-7.89333333-10.56-1.38666667-1.70666667-2.77333333-3.30666667-4.26666667-4.90666666s-2.98666667-3.2-4.48-4.69333334c-0.74666667-0.74666667-1.6-1.49333333-2.34666666-2.24-1.38666667-1.38666667-2.88-2.66666667-4.37333334-3.94666666l106.45333334-307.2c2.77333333 0.21333333 5.65333333 0.32 8.42666666 0.32 16.53333333 0 32.32-2.88 46.93333334-8.32 1.81333333-0.64 3.52-1.38666667 5.33333333-2.13333334l162.13333333 164.8c-0.42666667 1.17333333-0.85333333 2.24-1.28 3.41333334-0.74666667 2.13333333-1.49333333 4.16-2.13333333 6.29333333-1.28 4.26666667-2.45333333 8.64-3.41333333 13.12s-1.6 8.96-2.02666667 13.54666667c-0.42666667 4.58666667-0.74666667 9.28-0.74666667 13.97333333 0 75.41333333 61.12 136.53333333 136.53333334 136.53333333s136.53333333-61.12 136.53333333-136.53333333c0-4.69333333-0.21333333-9.38666667-0.74666667-13.97333333-0.42666667-4.58666667-1.17333333-9.06666667-2.02666666-13.54666667s-2.02666667-8.85333333-3.41333334-13.12c-0.64-2.13333333-1.38666667-4.26666667-2.13333333-6.29333333-0.74666667-2.13333333-1.6-4.16-2.45333333-6.18666667-3.41333333-8.21333333-7.68-15.89333333-12.58666667-23.14666667-2.45333333-3.62666667-5.12-7.14666667-7.89333333-10.56-1.06666667-1.38666667-2.24-2.66666667-3.41333334-3.94666666l109.97333334-318.93333334c1.17333333-0.10666667 2.24-0.10666667 3.41333333-0.21333333 5.76-0.42666667 11.41333333-1.28 16.96-2.34666667 3.30666667-0.64 6.61333333-1.49333333 9.81333333-2.45333333 18.34666667-5.22666667 35.09333333-14.18666667 49.49333334-26.02666667 0.85333333-0.74666667 1.70666667-1.38666667 2.45333333-2.13333333 4.90666667-4.26666667 9.6-8.96 13.86666667-13.86666667 0.74666667-0.85333333 1.38666667-1.70666667 2.13333333-2.45333333 11.84-14.29333333 20.8-31.14666667 26.02666667-49.49333333 0.96-3.2 1.70666667-6.50666667 2.45333333-9.81333334 1.17333333-5.54666667 1.92-11.2 2.34666667-16.96 0.21333333-3.52 0.42666667-6.93333333 0.42666666-10.45333333 0.10666667-2.45333333 0-4.8-0.10666666-7.14666667z" ></path></symbol><symbol id="icon-human-decision" viewBox="0 0 1024 1024"><path d="M519.5 594.47733333c-4.1 10.399-6.1 21.398-6.1 32.197 0 23.198 8.899 46.395 26.497 64.294l29.897 29.997 1.7 1.4c17.398 16.798 39.996 24.997 62.494 24.997 22.998 0 46.396-8.7 63.794-26.397h0.2l176.883-176.983 1.6-1.5c16.698-17.598 24.797-40.196 24.797-62.794 0-23.197-8.8-46.195-26.397-63.794h0.1l0.1-0.4-29.898-29.797c-17.598-17.498-40.796-26.297-64.293-26.297-11 0-21.998 1.9-32.497 5.9L557.696 174.41733333c4.2-10.399 6.099-21.498 6.099-32.497 0-23.198-9-46.395-26.697-64.293L507.2 47.83033333C489.602 30.23333333 466.404 21.33333333 443.107 21.33333333c-23.198 0-46.696 8.9-64.294 26.497L201.93 224.81333333l-1.5 1.5c-16.398 17.698-24.797 40.296-24.797 62.494 0 23.398 8.799 46.595 26.397 64.394l29.897 29.897 1.7 1.4c17.598 16.898 40.096 25.097 62.494 25.097 10.999 0 21.898-2.2 32.497-6l18.898 18.999L31.546 738.86333333C10.55 759.86133333 0.05 787.45833333 0.05 814.95533333c0 27.798 10.499 55.495 31.497 76.393 21.198 21.098 48.795 31.597 76.392 31.597 27.698 0 55.195-10.499 76.293-31.597l315.97-316.07 19.297 19.199zM959.956 981.33933333H512c-35.197 0-63.994-28.797-63.994-63.994 0-35.196 28.797-63.993 63.994-63.993h447.956c35.197 0 63.994 28.797 63.994 63.993 0 35.197-28.797 63.994-63.994 63.994z" ></path></symbol><symbol id="icon-human-task" viewBox="0 0 1024 1024"><path d="M924.33066667 123.33511111H776.87466667v163.84h-546.13333334v-163.84H99.66933333c-19.11466667 0-32.768 19.11466667-32.768 38.22933334v813.73866666c0 21.84533333 16.384 38.22933333 35.49866667 38.22933334h816.46933333c19.11466667 0 35.49866667-16.384 35.49866667-38.22933334V161.56444445c0-21.84533333-16.384-38.22933333-35.49866667-38.22933334h5.46133334zM790.528 445.55377778L471.04 838.76977778c2.73066667 5.46133333-5.46133333 5.46133333-10.92266667 2.73066667l-232.10666666-191.14666667c-5.46133333-2.73066667-5.46133333-10.92266667-2.73066667-16.384l38.22933333-49.152c2.73066667-5.46133333 10.92266667-5.46133333 16.384-2.73066667l174.76266667 147.456 273.06666667-338.60266666c2.73066667-8.192 10.92266667-8.192 16.384-2.73066667l43.69066666 38.22933333c8.192 2.73066667 10.92266667 8.192 2.73066667 19.11466667zM643.072 74.18311111V41.41511111c0-30.03733333-27.30666667-49.152-57.344-49.152H419.15733333c-30.03733333 0-57.344 19.11466667-57.344 49.152v32.768h-65.536v163.84h412.33066667v-163.84h-65.536z m-139.264 98.304c-32.768 0-60.07466667-27.30666667-60.07466667-60.07466666s27.30666667-60.07466667 60.07466667-60.07466667 60.07466667 27.30666667 60.07466667 60.07466667c0 38.22933333-27.30666667 60.07466667-60.07466667 60.07466666z m0 0" ></path></symbol><symbol id="icon-decision" viewBox="0 0 1024 1024"><path d="M580.175027 28.57919l414.065896 414.065896a97.58526 97.58526 0 0 1 0 138.00065l-414.065896 414.065896a97.58526 97.58526 0 0 1-138.000649 0l-414.065897-414.065896a97.58526 97.58526 0 0 1 0-138.00065l414.065897-414.065896a97.58526 97.58526 0 0 1 138.000649 0z" ></path></symbol><symbol id="icon-end" viewBox="0 0 1024 1024"><path d="M512 25.6C243.2 25.6 25.6 243.2 25.6 512S243.2 998.4 512 998.4 998.4 780.8 998.4 512 780.8 25.6 512 25.6z m162.304 615.936c0 17.92-14.336 32.256-32.256 32.256H382.464c-17.92 0-32.256-14.336-32.256-32.256V381.952c0-17.92 14.336-32.256 32.256-32.256h259.584c17.92 0 32.256 14.336 32.256 32.256v259.584z m0 0" ></path></symbol><symbol id="icon-start" viewBox="0 0 1024 1024"><path d="M960.62577778 322.33244445c-24.46222222-57.91288889-59.61955555-110.02311111-104.33422223-154.73777778s-96.82488889-79.872-154.73777777-104.33422222C641.59288889 37.888 577.87733333 25.03111111 512.11377778 25.03111111c-65.64977778 0-129.47911111 12.85688889-189.44 38.22933334-57.91288889 24.46222222-110.02311111 59.61955555-154.73777778 104.33422222s-79.872 96.82488889-104.33422222 154.73777778C38.22933333 382.29333333 25.37244445 446.00888889 25.37244445 511.77244445c0 65.64977778 12.85688889 129.47911111 38.22933333 189.44 24.46222222 57.91288889 59.61955555 110.02311111 104.33422222 154.73777777s96.82488889 79.872 154.73777778 104.33422223c59.96088889 25.37244445 123.67644445 38.22933333 189.44 38.22933333 65.64977778 0 129.47911111-12.97066667 189.44-38.22933333 57.91288889-24.46222222 110.02311111-59.61955555 154.73777777-104.33422223s79.872-96.82488889 104.33422223-154.73777777c25.37244445-59.96088889 38.22933333-123.67644445 38.22933333-189.44 0-65.64977778-12.85688889-129.47911111-38.22933333-189.44z m-236.65777778 233.13066666L464.09955555 755.14311111C422.11555555 797.01333333 350.43555555 767.31733333 350.43555555 708.03911111V308.79288889c0-59.27822222 71.68-88.97422222 113.664-47.104l259.86844445 199.56622222c26.05511111 26.05511111 26.05511111 68.15288889 0 94.208z" ></path></symbol><symbol id="icon-virtual-human-task" viewBox="0 0 1496 1024"><path d="M864 1024H160C70.4 1024 0 953.6 0 864V160C0 70.4 70.4 0 160 0h704c89.6 0 160 70.4 160 160v704c0 89.6-70.4 160-160 160zM160 64c-51.2 0-96 44.8-96 96v704c0 51.2 44.8 96 96 96h704c51.2 0 96-44.8 96-96V160c0-51.2-44.8-96-96-96H160z" fill="#C9CED6" ></path></symbol></svg>';if((t=document.getElementsByTagName("script"))[t.length-1].getAttribute("data-injectcss")&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(t){console&&console.log(t)}}!function(t){if(document.addEventListener)if(~["complete","loaded","interactive"].indexOf(document.readyState))setTimeout(t,0);else{document.addEventListener("DOMContentLoaded",(function e(){document.removeEventListener("DOMContentLoaded",e,!1),t()}),!1)}else document.attachEvent&&(n=t,r=e.document,o=!1,i=function(){o||(o=!0,n())},(s=function(){try{r.documentElement.doScroll("left")}catch(e){return void setTimeout(s,50)}i()})(),r.onreadystatechange=function(){"complete"==r.readyState&&(r.onreadystatechange=null,i())});var n,r,o,i,s}((function(){var e,t;(e=document.createElement("div")).innerHTML=n,n=null,(t=e.getElementsByTagName("svg")[0])&&(t.setAttribute("aria-hidden","true"),t.style.position="absolute",t.style.width=0,t.style.height=0,t.style.overflow="hidden",function(e,t){t.firstChild?function(e,t){t.parentNode.insertBefore(e,t)}(e,t.firstChild):t.appendChild(e)}(t,document.body))}))}(window)},function(e,t,n){var r=n(65),o=n(54);e.exports=function(e){return function(t,n){var i,s,a=String(o(t)),l=r(n),c=a.length;return l<0||l>=c?e?"":void 0:(i=a.charCodeAt(l))<55296||i>56319||l+1===c||(s=a.charCodeAt(l+1))<56320||s>57343?e?a.charAt(l):i:e?a.slice(l,l+2):s-56320+(i-55296<<10)+65536}}},function(e,t,n){var r=n(49),o=n(82),i=n(265)("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},function(e,t,n){var r=n(267),o=n(44),i=n(72);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],s={};s[e]=t(n),r(r.S+r.F*i((function(){n(1)})),"Object",s)}},function(e,t,n){e.exports=!n(58)&&!n(72)((function(){return 7!=Object.defineProperty(n(397)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(71),o=n(45).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){"use strict";var r=n(83),o=n(267),i=n(399),s=n(56),a=n(271),l=n(594),c=n(273),u=n(394),d=n(60)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,h,m,v,g){l(n,t,h);var b,w,y,k=function(e){if(!f&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" Iterator",x="values"==m,A=!1,C=e.prototype,T=C[d]||C["@@iterator"]||m&&C[m],E=T||k(m),O=m?x?k("entries"):E:void 0,P="Array"==t&&C.entries||T;if(P&&(y=u(P.call(new e)))!==Object.prototype&&y.next&&(c(y,_,!0),r||"function"==typeof y[d]||s(y,d,p)),x&&T&&"values"!==T.name&&(A=!0,E=function(){return T.call(this)}),r&&!g||!f&&!A&&C[d]||s(C,d,E),a[t]=E,a[_]=p,m)if(b={values:x?E:k("values"),keys:v?E:k("keys"),entries:O},g)for(w in b)w in C||i(C,w,b[w]);else o(o.P+o.F*(f||A),t,b);return b}},function(e,t,n){e.exports=n(56)},function(e,t,n){var r=n(85),o=n(595),i=n(272),s=n(265)("IE_PROTO"),a=function(){},l=function(){var e,t=n(397)("iframe"),r=i.length;for(t.style.display="none",n(600).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[i[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(a.prototype=r(e),n=new a,a.prototype=null,n[s]=e):n=l(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(49),o=n(59),i=n(597)(!1),s=n(265)("IE_PROTO");e.exports=function(e,t){var n,a=o(e),l=0,c=[];for(n in a)n!=s&&r(a,n)&&c.push(n);for(;t.length>l;)r(a,n=t[l++])&&(~i(c,n)||c.push(n));return c}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(401),o=n(272).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{attr:{id:"newHumanTask",name:o.default.t("workflowEditor.task.newTask")},g:{},basicProperties:{processingMode:{type:"EDIT",passRate:0,moreTransactor:!1,actions:{action:[]}},taskCode:"",taskTitle:"",remark:"",mailNotice:!1,taskUrl:""},transactorSettings:{userCondition:"",moreTransactor:!1,additionalCondition:{onlyInCreatorDepartment:!1,withCreatorDepartment:!1,selectOneFromMultiple:!1}},permissionSettings:{editForm:{permission:!1,field:[],subTablePermission:[{tableName:"sub_table1",permission:!1,modelName:"model",action:[{name:"add",userCondition:"人员条件",parentCondition:"主表字段条件"},{name:"update",userCondition:"人员条件",parentCondition:"主表字段条件",condition:"子表字段条件"},{name:"delete",userCondition:"人员条件",parentCondition:"主表字段条件",condition:"子表字段条件"}],field:[{name:"all_fields",constraintRule:"REQUIRED/READ_ONLY",userCondition:"人员条件",parentCondition:"主表字段条件",condition:"子表字段条件"},{name:"xxx",constraintRule:"REQUIRED/READ_ONLY",userCondition:"人员条件",parentCondition:"主表字段条件",condition:"子表字段条件"}]},{tableName:"sub_table2",permission:!1,modelName:"model",action:[{name:"add",userCondition:"人员条件",parentCondition:"主表字段条件"},{name:"update",userCondition:"人员条件",parentCondition:"主表字段条件",condition:"子表字段条件"},{name:"delete",userCondition:"人员条件",parentCondition:"主表字段条件",condition:"子表字段条件"}],field:[{name:"all_fields",constraintRule:"REQUIRED/READ_ONLY",userCondition:"人员条件",parentCondition:"主表字段条件",condition:"子表字段条件"},{name:"xxx",constraintRule:"REQUIRED/READ_ONLY",userCondition:"人员条件",parentCondition:"主表字段条件",condition:"子表字段条件"}]}]},viewOpinion:{permission:!1,condition:""},editOpinion:{permission:!1,condition:""},requireOpinion:{permission:!1,condition:""},viewMeetingResult:{permission:!1,condition:""},viewVoteResult:{permission:!1,condition:""},viewFlowHistory:{permission:!1,condition:""},printForm:{permission:!1,condition:""},officialText:{permission:!1},attachment:{permission:!1},deleteInstance:{userCondition:""}},autoFilledFields:{field:[]},reminder:{dueDate:1,dueTimeUnit:"day",repeat:1,containTransferUser:!1,containNoticeUser:!1,remindType:"mail",timeUnit:"day",remindTimes:0,noticeType:"",noticeUserCondition:"",transferUserCondition:""},events:{afterComplete:!1},variables:{variable:[]}}};var o=r(n(29))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("div",[t("h3",[e._v(e._s(e.$t("workflowEditor.main.tacheType")))]),e._v(" "),e._l(e.componentList,(function(n){return t("el-button",{key:n.name,attrs:{type:n.type,size:"medium",round:n.round},nativeOn:{mousedown:function(t){return e.select(n.name)}}},[t("icon-svg",{attrs:{icon:n.icon}}),e._v("\n "+e._s(n.label)+"\n ")],1)}))],2)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this._self._c;return e("svg",{staticClass:"svg-icon",attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":this.iconName}})])};t.staticRenderFns=[]},function(e,t,n){var r=n(637);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(640);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",{ref:"svgContainer",staticStyle:{position:"relative"}},[t("svg",{attrs:{id:"svg",width:"2000",height:"2000"},on:{mousedown:e.mousedown,mousemove:e.mousemove,mouseup:e.mouseup,mouseleave:e.mouseleave,dblclick:function(t){return e.setPropertiesEditorFor("Process")}}},[t("defs",[t("marker",{attrs:{id:"arrow",markerWidth:"10",markerHeight:"10",refX:"6",refY:"2",orient:"auto",markerUnits:"strokeWidth"}},[t("path",{attrs:{d:"M0,0 L0,4 L6,2 z",fill:"#666"}})])]),e._v(" "),e._l(e.taches,(function(n){return t(n.type,{key:n.id,tag:"component",attrs:{model:n},nativeOn:{mouseenter:function(t){return e.showTacheHistoryTooltip.apply(null,arguments)},mouseleave:function(t){return e.hideTacheHistoryTooltip.apply(null,arguments)},mousemove:function(t){return e.updateTacheHistoryTooltipPosition.apply(null,arguments)}}})})),e._v(" "),e._l(e.transitions,(function(e){return t("transition",{key:e.id,attrs:{model:e}})})),e._v(" "),t("virtual-transition",{attrs:{toPosition:e.currentPosition}}),e._v(" "),t("selection-region",{attrs:{region:e.region}})],2),e._v(" "),!e.showHistory&&e.propertiesEditorFor?t(e.propertiesEditorFor+"PropertiesEditor",{tag:"component",attrs:{model:e.selectedTaches[0]||e.selectedTransition||e.process},on:{close:function(t){return e.setPropertiesEditorFor("")}}}):e._e(),e._v(" "),e.showHistory&&e.showTacheHistory?t("tache-history-tooltip",{style:e.tooltipPosition}):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";n.r(t);var r=n(298),o=n(101);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(644);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("g",{on:{mousedown:function(t){return t.stopPropagation(),e.startDrag.apply(null,arguments)},mouseup:e.endDrag,mouseenter:e.showJoints,mouseleave:e.hideJoints,dblclick:function(t){return t.stopPropagation(),e.setPropertiesEditorFor("")}}},[t("rect",{class:{draggable:!0,start:!e.model.isSelected,selected:e.model.isSelected},attrs:{width:e.model.width,height:e.model.height,x:e.model.x,y:e.model.y,rx:"6",ry:"6"}}),e._v(" "),t("use",{staticClass:"draggable",attrs:{"xlink:href":"#icon-start",x:e.model.x,y:e.model.y,width:e.model.width,height:e.model.height,fill:"#67C23A"}}),e._v(" "),e._l(e.jointPoints,(function(n){return t("joint",{key:n,attrs:{parent:e.model,position:n}})}))],2)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("g",{on:{mousedown:function(e){e.stopPropagation()}}},[t("rect",{class:{"joint-container":!0,"joint-activated":e.isActivated},attrs:{x:e.jointContainer.x,y:e.jointContainer.y,width:"20",height:"20",rx:"3",ry:"3"},on:{mousemove:function(t){return t.stopPropagation(),e.enterJoint.apply(null,arguments)},mouseout:function(t){return t.stopPropagation(),e.leaveJoint.apply(null,arguments)},mousedown:function(t){t.stopPropagation(),e.setContextMenuVisible(!1),e.setStartJoint({parent:e.parent,position:e.position})},mouseup:e.mouseup}}),e._v(" "),t("circle",{directives:[{name:"show",rawName:"v-show",value:!e.isActivated,expression:"!isActivated"}],staticClass:"joint",attrs:{cx:e.joint.x,cy:e.joint.y,r:"3"}})])};t.staticRenderFns=[]},function(e,t,n){var r=n(643);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(645);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";n.r(t);var r=n(300),o=n(105);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(646);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("g",{on:{mousedown:function(t){return t.stopPropagation(),e.startDrag.apply(null,arguments)},mouseup:e.endDrag,mouseenter:e.showJoints,mouseleave:e.hideJoints,dblclick:function(t){return t.stopPropagation(),e.setPropertiesEditorFor("")}}},[t("rect",{class:{draggable:!0,end:!e.model.isSelected,selected:e.model.isSelected},attrs:{width:e.model.width,height:e.model.height,x:e.model.x,y:e.model.y,rx:"6",ry:"6"}}),e._v(" "),t("use",{staticClass:"draggable",attrs:{"xlink:href":"#icon-end",x:e.model.x,y:e.model.y,width:e.model.width,height:e.model.height,fill:"#F56C6C"}}),e._v(" "),e._l(e.jointPoints,(function(n){return t("joint",{key:n,attrs:{parent:e.model,position:n}})}))],2)};t.staticRenderFns=[]},function(e,t,n){var r=n(647);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";n.r(t);var r=n(301),o=n(107);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("g",{on:{mousedown:function(t){return t.stopPropagation(),e.startDrag.apply(null,arguments)},mouseup:e.endDrag,mouseenter:e.showJoints,mouseleave:e.hideJoints,dblclick:function(t){return t.stopPropagation(),e.setPropertiesEditorFor("HumanTask")}}},[t("rect",{ref:"tache",class:["draggable","task-tache",{selected:e.model.isSelected}],attrs:{width:e.model.width,height:e.model.height,x:e.model.x,y:e.model.y,rx:"6",ry:"6"}}),e._v(" "),t("text",{staticClass:"draggable",attrs:{x:e.text.x,y:e.text.y,"text-anchor":"middle"}},[e._v("\n "+e._s(e.name)+"\n ")]),e._v(" "),e._l(e.jointPoints,(function(n){return t("joint",{key:n,attrs:{parent:e.model,position:n}})})),e._v(" "),e._l(e.resizers,(function(n){return t("tache-resizer",{key:n,attrs:{owner:e.model,position:n}})}))],2)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return e.owner.isSelected&&1==e.selectedTaches.length?t("rect",{staticClass:"resizer",style:{cursor:e.area.cursor},attrs:{x:e.area.x,y:e.area.y,width:e.area.width,height:e.area.height},on:{mousedown:function(t){t.stopPropagation(),e.setContextMenuVisible(!1),e.setResizerToMove({owner:e.owner,position:e.position})},mouseup:function(t){return t.stopPropagation(),e.setResizerToMove(null)}}}):e._e()};t.staticRenderFns=[]},function(e,t,n){var r=n(649);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";n.r(t);var r=n(303),o=n(111);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(650);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("g",{on:{mousedown:function(t){return t.stopPropagation(),e.startDrag.apply(null,arguments)},mouseup:e.endDrag,mouseenter:e.showJoints,mouseleave:e.hideJoints,dblclick:function(t){return t.stopPropagation(),e.setPropertiesEditorFor("Decision")}}},[t("rect",{class:{draggable:!0,decision:!e.model.isSelected,selected:e.model.isSelected},attrs:{width:e.model.width,height:e.model.height,x:e.model.x,y:e.model.y,rx:"6",ry:"6"}}),e._v(" "),t("use",{staticClass:"draggable",attrs:{"xlink:href":"#icon-decision",x:e.model.x,y:e.model.y,width:e.model.width,height:e.model.height,fill:"#999"}}),e._v(" "),t("text",{staticClass:"draggable",attrs:{x:e.text.x,y:e.text.y,"text-anchor":"middle"}},[e._v("\n "+e._s(e.name)+"\n ")]),e._v(" "),e._l(e.jointPoints,(function(n){return t("joint",{key:n,attrs:{parent:e.model,position:n}})}))],2)};t.staticRenderFns=[]},function(e,t,n){var r=n(651);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";n.r(t);var r=n(304),o=n(113);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("g",{on:{mousedown:function(t){return t.stopPropagation(),e.startDrag.apply(null,arguments)},mouseup:e.endDrag,mouseenter:e.showJoints,mouseleave:e.hideJoints,dblclick:function(t){return t.stopPropagation(),e.setPropertiesEditorFor("Subprocess")}}},[t("rect",{ref:"tache",class:{draggable:!0,"task-tache":!0,selected:e.model.isSelected},attrs:{width:e.model.width,height:e.model.height,x:e.model.x,y:e.model.y,rx:"6",ry:"6"}}),e._v(" "),t("text",{staticClass:"draggable",attrs:{x:e.text.x,y:e.text.y,"text-anchor":"middle"}},[e._v("\n "+e._s(e.name)+"\n ")]),e._v(" "),e._l(e.jointPoints,(function(n){return t("joint",{key:n,attrs:{parent:e.model,position:n}})})),e._v(" "),e._l(e.resizers,(function(n){return t("tache-resizer",{key:n,attrs:{owner:e.model,position:n}})}))],2)};t.staticRenderFns=[]},function(e,t,n){"use strict";n.r(t);var r=n(305),o=n(115);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("g",{on:{mousedown:function(t){return t.stopPropagation(),e.startDrag.apply(null,arguments)},mouseup:e.endDrag,mouseenter:e.showJoints,mouseleave:e.hideJoints,dblclick:function(t){return t.stopPropagation(),e.setPropertiesEditorFor("HumanTask")}}},[t("rect",{ref:"tache",class:{draggable:!0,"task-tache":!0,selected:e.model.isSelected},attrs:{width:e.model.width,height:e.model.height,x:e.model.x,y:e.model.y,rx:"6",ry:"6"}}),e._v(" "),t("text",{staticClass:"draggable",attrs:{x:e.text.x,y:e.text.y,"text-anchor":"middle"}},[e._v("\n "+e._s(e.model.name)+"\n ")]),e._v(" "),e._l(e.jointPoints,(function(n){return t("joint",{key:n,attrs:{parent:e.model,position:n}})})),e._v(" "),e._l(e.resizers,(function(n){return t("tache-resizer",{key:n,attrs:{owner:e.model,position:n}})}))],2)};t.staticRenderFns=[]},function(e,t,n){"use strict";n.r(t);var r=n(306),o=n(117);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(652);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("g",{on:{mousedown:function(t){return t.stopPropagation(),e.startDrag.apply(null,arguments)},mouseup:e.endDrag,mouseenter:e.showJoints,mouseleave:e.hideJoints,dblclick:function(t){return t.stopPropagation(),e.setPropertiesEditorFor("Fork")}}},[t("rect",{class:{draggable:!0,decision:!e.model.isSelected,selected:e.model.isSelected},attrs:{width:e.model.width,height:e.model.height,x:e.model.x,y:e.model.y,rx:"6",ry:"6"}}),e._v(" "),t("use",{staticClass:"draggable",attrs:{"xlink:href":"#icon-fork",x:e.model.x,y:e.model.y,width:e.model.width,height:e.model.height,fill:"#999"}}),e._v(" "),t("text",{staticClass:"draggable",attrs:{x:e.text.x,y:e.text.y,"text-anchor":"middle"}},[e._v("\n "+e._s(e.name)+"\n ")]),e._v(" "),e._l(e.jointPoints,(function(n){return t("joint",{key:n,attrs:{parent:e.model,position:n}})}))],2)};t.staticRenderFns=[]},function(e,t,n){var r=n(653);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";n.r(t);var r=n(307),o=n(119);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(654);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("g",{on:{mousedown:function(t){return t.stopPropagation(),e.startDrag.apply(null,arguments)},mouseup:e.endDrag,mouseenter:e.showJoints,mouseleave:e.hideJoints,dblclick:function(t){return t.stopPropagation(),e.setPropertiesEditorFor("Join")}}},[t("rect",{class:{draggable:!0,decision:!e.model.isSelected,selected:e.model.isSelected},attrs:{width:e.model.width,height:e.model.height,x:e.model.x,y:e.model.y,rx:"6",ry:"6"}}),e._v(" "),t("use",{staticClass:"draggable",attrs:{"xlink:href":"#icon-join",x:e.model.x,y:e.model.y,width:e.model.width,height:e.model.height,fill:"#999"}}),e._v(" "),t("text",{staticClass:"draggable",attrs:{x:e.text.x,y:e.text.y,"text-anchor":"middle"}},[e._v("\n "+e._s(e.model.name)+"\n ")]),e._v(" "),e._l(e.jointPoints,(function(n){return t("joint",{key:n,attrs:{parent:e.model,position:n}})}))],2)};t.staticRenderFns=[]},function(e,t,n){var r=n(655);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";n.r(t);var r=n(308),o=n(121);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(656);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("g",{on:{mousedown:function(t){return t.stopPropagation(),e.startDrag.apply(null,arguments)},mouseup:e.endDrag,mouseenter:e.showJoints,mouseleave:e.hideJoints,dblclick:function(t){return t.stopPropagation(),e.setPropertiesEditorFor("HumanDecision")}}},[t("rect",{class:{draggable:!0,"human-decision":!e.model.isSelected,selected:e.model.isSelected},attrs:{width:e.model.width,height:e.model.height,x:e.model.x,y:e.model.y,rx:"6",ry:"6"}}),e._v(" "),t("use",{staticClass:"draggable",attrs:{"xlink:href":"#icon-human-decision",x:e.model.x,y:e.model.y,width:e.model.width,height:e.model.height,fill:"#999"}}),e._v(" "),t("text",{staticClass:"draggable",attrs:{x:e.text.x,y:e.text.y,"text-anchor":"middle"}},[e._v("\n "+e._s(e.name)+"\n ")]),e._v(" "),e._l(e.jointPoints,(function(n){return t("joint",{key:n,attrs:{parent:e.model,position:n}})}))],2)};t.staticRenderFns=[]},function(e,t,n){var r=n(657);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";n.r(t);var r=n(309),o=n(123);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("g",{on:{mousedown:function(t){return t.stopPropagation(),e.startDrag.apply(null,arguments)},mouseup:e.endDrag,mouseenter:e.showJoints,mouseleave:e.hideJoints,dblclick:function(t){return t.stopPropagation(),e.setPropertiesEditorFor("CopyTask")}}},[t("rect",{ref:"tache",class:{draggable:!0,"task-tache":!0,selected:e.model.isSelected},attrs:{width:e.model.width,height:e.model.height,x:e.model.x,y:e.model.y,rx:"6",ry:"6"}}),e._v(" "),t("text",{staticClass:"draggable",attrs:{x:e.text.x,y:e.text.y,"text-anchor":"middle"}},[e._v("\n "+e._s(e.name)+"\n ")]),e._v(" "),e._l(e.jointPoints,(function(n){return t("joint",{key:n,attrs:{parent:e.model,position:n}})})),e._v(" "),e._l(e.resizers,(function(n){return t("tache-resizer",{key:n,attrs:{owner:e.model,position:n}})}))],2)};t.staticRenderFns=[]},function(e,t,n){"use strict";n.r(t);var r=n(310),o=n(125);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(665);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"e5a42fd4",null);t.default=a.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("g",{class:{"no-events":null!=e.draggerToMove},on:{mousedown:function(t){return t.stopPropagation(),e.select.apply(null,arguments)},dblclick:function(t){return t.stopPropagation(),e.showPropertiesEditor.apply(null,arguments)}}},[t("text",{staticClass:"draggable",attrs:{x:e.text.x,y:e.text.y,"text-anchor":"middle"}},[e._v("\n "+e._s(e.name)+"\n ")]),e._v(" "),t(e.model.lineInfo.type,{tag:"component",class:{transition:!0,selected:e.model.isSelected||e.model.startJoint.parent.isSelected&&e.model.endJoint.parent.isSelected},attrs:{owner:e.model}}),e._v(" "),e.model.isSelected?t("g",e._l(e.draggers,(function(n){return t("circle",{key:n.position,staticClass:"transition-dragger",attrs:{cx:n.x,cy:n.y,r:"4"},on:{mousedown:function(t){return t.stopPropagation(),e.startDrag(t,n.position)},mouseup:e.endDrag}})})),0):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){return(0,this._self._c)("path",{attrs:{d:this.path,"marker-end":"url(#arrow)"}})};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("g",[t("path",{attrs:{d:e.path,"marker-end":"url(#arrow)"}}),e._v(" "),e.owner.isSelected?[t("path",{staticClass:"control-line",attrs:{d:e.pathToStartPoint}}),e._v(" "),t("path",{staticClass:"control-line",attrs:{d:e.pathToEndPoint}}),e._v(" "),t("circle",{staticClass:"control-point",attrs:{cx:e.controlPoint.x,cy:e.controlPoint.y,r:"3"},on:{mousedown:function(t){return t.stopPropagation(),e.startDrag.apply(null,arguments)},mouseup:function(t){return t.stopPropagation(),e.endDrag.apply(null,arguments)}}})]:e._e()],2)};t.staticRenderFns=[]},function(e,t,n){var r=n(661);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("g",[t("path",{attrs:{d:e.path,"marker-end":"url(#arrow)"}}),e._v(" "),e.owner.isSelected?[e.controlPoint?e._l(e.controlPoint,(function(n,r){return t("circle",{key:n.x+n.y,staticClass:"control-point",attrs:{cx:n.x,cy:n.y,r:"3"},on:{mousedown:function(t){return t.stopPropagation(),e.startDrag(r,t)},mouseup:function(t){return t.stopPropagation(),e.endDrag.apply(null,arguments)}}})})):e._e()]:e._e()],2)};t.staticRenderFns=[]},function(e,t,n){var r=n(664);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(666);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this._self._c;return e("g",[e("path",{directives:[{name:"show",rawName:"v-show",value:this.path,expression:"path"}],staticClass:"virtual-transition",attrs:{d:this.path,"marker-end":"url(#arrow)"}})])};t.staticRenderFns=[]},function(e,t,n){var r=n(669);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("g",[e.region?t("rect",{class:{draggable:!0,"selection-region":!0,dashed:e.selectedTaches.length<1},attrs:{x:e.region.x,y:e.region.y,width:e.region.width,height:e.region.height},on:{mousedown:function(t){return t.stopPropagation(),e.startDrag.apply(null,arguments)},mouseup:function(t){return t.stopPropagation(),e.endDrag.apply(null,arguments)}}}):e._e()])};t.staticRenderFns=[]},function(e,t,n){var r=n(672);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:"",top:"10vh",title:e.$t("workflowEditor.task.linkAttribute"),center:!0,"append-to-body":"","custom-class":"properties-editor"},on:{open:function(t){return e.$emit("open")},opend:function(t){return e.$emit("opend")},close:function(t){return e.$emit("close")},closed:function(t){return e.$emit("closed")}}},[t("el-tabs",{attrs:{type:"border-card"},on:{"tab-click":e.handleClick},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},[t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.task.basicProperties"),name:"basicProperties"}},[t("basic-properties",{attrs:{id:e.model.ref.attr.id,name:e.model.ref.attr.name,model:e.model.ref.basicProperties},on:{"update:id":function(t){return e.$set(e.model.ref.attr,"id",t)},"update:name":function(t){return e.$set(e.model.ref.attr,"name",t)}}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.task.settingOfHandler"),name:"transactors"}},[t("transactor-settings",{attrs:{model:e.model.ref.transactorSettings}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.task.permissionSettings"),name:"permissions"}},[t("permission-settings",{model:{value:e.model.ref.permissionSettings,callback:function(t){e.$set(e.model.ref,"permissionSettings",t)},expression:"model.ref.permissionSettings"}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.task.autoFillInFieldSettings"),name:"autoFilledFields"}},[t("auto-filled-fields",{model:{value:e.model.ref.autoFilledFields,callback:function(t){e.$set(e.model.ref,"autoFilledFields",t)},expression:"model.ref.autoFilledFields"}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.task.reminderSettings"),name:"reminders"}},[t("reminder",{model:{value:e.model.ref.reminder,callback:function(t){e.$set(e.model.ref,"reminder",t)},expression:"model.ref.reminder"}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.task.eventProcessing"),name:"events"}},[t("events",{model:{value:e.model.ref.events,callback:function(t){e.$set(e.model.ref,"events",t)},expression:"model.ref.events"}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.task.linkVariable"),name:"variables"}},[t("variables",{model:{value:e.model.ref.variables,callback:function(t){e.$set(e.model.ref,"variables",t)},expression:"model.ref.variables"}})],1)],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.formModel,"label-width":"110px"}},[t("el-row",[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.name")}},[t("i18n-input",{attrs:{"i18n-key":e.tache.i18nKey?e.tache.i18nKey:"name."+e.formModel.id},on:{setI18n:e.setI18nValue},model:{value:e.formModel.name,callback:function(t){e.$set(e.formModel,"name",t)},expression:"formModel.name"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.code")}},[t("el-input",{on:{blur:e.validateId},model:{value:e.formModel.id,callback:function(t){e.$set(e.formModel,"id",t)},expression:"formModel.id"}})],1)],1)],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.taskTitle")}},[t("task-title",{model:{value:e.tache.taskTitle,callback:function(t){e.$set(e.tache,"taskTitle",t)},expression:"tache.taskTitle"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.canItBeRejected")}},[t("el-switch",{model:{value:e.tache.rebuttable,callback:function(t){e.$set(e.tache,"rebuttable",t)},expression:"tache.rebuttable"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.emailNotification")}},[t("el-switch",{model:{value:e.tache.mailNotice,callback:function(t){e.$set(e.tache,"mailNotice",t)},expression:"tache.mailNotice"}})],1),e._v(" "),e.tache.mailNotice?t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.selectMailTemplate")}},[t("select-mail-templates",{on:{"set-value":e.setMailTemplateCode},model:{value:e.tache.mailTemplateCode,callback:function(t){e.$set(e.tache,"mailTemplateCode",t)},expression:"tache.mailTemplateCode"}})],1):e._e(),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.HandlingMethod")}},[t("el-radio-group",{model:{value:e.tache.processingMode.type,callback:function(t){e.$set(e.tache.processingMode,"type",t)},expression:"tache.processingMode.type"}},[t("el-radio",{attrs:{label:"EDIT"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.editorial"))+"\n ")]),e._v(" "),t("el-radio",{attrs:{label:"APPROVE"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.approvalType"))+"\n ")]),e._v(" "),t("el-radio",{attrs:{label:"COUNTERSIGN"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.countersign"))+"\n ")]),e._v(" "),t("el-radio",{attrs:{label:"VOTE"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.voting"))+"\n ")])],1)],1),e._v(" "),"EDIT"===e.tache.processingMode.type||"APPROVE"===e.tache.processingMode.type?t("el-form-item",{attrs:{label:e.$t("workflowEditorMessage.whenThereAreMultipleManagers")}},[t("el-radio-group",{model:{value:e.tache.processingMode.moreTransactor,callback:function(t){e.$set(e.tache.processingMode,"moreTransactor",t)},expression:"tache.processingMode.moreTransactor"}},[t("el-radio",{attrs:{label:!1}},[e._v("\n "+e._s(e.$t("workflowEditor.task.anyOneCanHandleIt"))+"\n ")]),e._v(" "),t("el-radio",{attrs:{label:!0}},[e._v("\n "+e._s(e.$t("workflowEditor.task.forAll"))+"\n ")])],1)],1):e._e(),e._v(" "),"COUNTERSIGN"===e.tache.processingMode.type||"VOTE"===e.tache.processingMode.type?t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.passRate")}},[t("el-input-number",{attrs:{step:10,size:"small",min:0,max:100},model:{value:e.tache.processingMode.passRate,callback:function(t){e.$set(e.tache.processingMode,"passRate",t)},expression:"tache.processingMode.passRate"}}),e._v(" "),t("span",{staticClass:"percent"},[e._v("\n %\n ")])],1):e._e(),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.modifyOperationName")}},[t("el-switch",{model:{value:e.showActions,callback:function(t){e.showActions=t},expression:"showActions"}}),e._v(" "),e.showActions?t("custom-actions",{model:{value:e.tache.processingMode.actions,callback:function(t){e.$set(e.tache.processingMode,"actions",t)},expression:"tache.processingMode.actions"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.handlingPage")}},[t("el-input",{model:{value:e.tache.taskUrl,callback:function(t){e.$set(e.tache,"taskUrl",t)},expression:"tache.taskUrl"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.remarks")}},[t("el-input",{attrs:{type:"textarea",autosize:""},model:{value:e.tache.remark,callback:function(t){e.$set(e.tache,"remark",t)},expression:"tache.remark"}})],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";n.r(t);var r=n(318),o=n(141);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(677);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"f88237fa",null);t.default=a.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",[e._l(e.dynamicTags,(function(n,r){return t("el-tag",{key:r+n,attrs:{type:e.getType(n),closable:"","disable-transitions":!1},on:{close:function(t){return e.handleClose(n)}}},[e._v("\n "+e._s(e._f("showText")(n))+"\n ")])})),e._v(" "),e.inputVisible||e.showFormFields?t("el-input",{ref:"saveTagInput",staticClass:"input-new-tag",attrs:{size:"small"},on:{blur:e.handleInputConfirm},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleInputConfirm.apply(null,arguments)}},model:{value:e.inputValue,callback:function(t){e.inputValue=t},expression:"inputValue"}}):e._e(),e._v(" "),e.inputVisible?e._e():t("el-button-group",[t("el-button",{staticClass:"button-new-tag",attrs:{size:"small",icon:"el-icon-edit"},on:{click:e.showInput}},[e._v("\n "+e._s(e.$t("workflowEditorMessage.enterText"))+"\n ")]),e._v(" "),t("el-button",{staticClass:"button-new-tag",attrs:{size:"small",icon:"el-icon-search"},on:{click:function(t){e.showFormFields=!0}}},[e._v("\n "+e._s(e.$t("workflowEditorMessage.selectField"))+"\n ")])],1),e._v(" "),e.showFormFields?t("form-fields",{on:{close:e.setField}}):e._e()],2)};t.staticRenderFns=[]},function(e,t,n){"use strict";var r=n(21),o=n(39),i=n(260),s=n(261);n(263)("match",1,(function(e,t,n,a){return[function(n){var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=a(n,e,this);if(t.done)return t.value;var l=r(e),c=String(this);if(!l.global)return s(l,c);var u=l.unicode;l.lastIndex=0;for(var d,f=[],p=0;null!==(d=s(l,c));){var h=String(d[0]);f[p]=h,""===h&&(l.lastIndex=i(c,o(l.lastIndex),u)),p++}return 0===p?null:f}]}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{width:"60%",title:e.$t("workflowEditor.common.selectFormField"),visible:"",center:"",top:"5vh","append-to-body":"","custom-class":"properties-editor-noTab"},on:{close:function(t){return e.$emit("close")}}},[t("div",{staticStyle:{"padding-bottom":"10px"}},[t("span",{staticStyle:{float:"left",width:"70%"}},[t("el-input",{attrs:{placeholder:e.$t("workflowEditorMessage.pleaseEnterTheNameOrCode")},model:{value:e.searchFormCode,callback:function(t){e.searchFormCode=t},expression:"searchFormCode"}})],1),e._v(" "),t("span",[t("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary"},on:{click:e.searchForm}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.search"))+"\n ")])],1)]),e._v(" "),t("div",{staticClass:"item-content"},[t("el-radio-group",{staticClass:"group",model:{value:e.selectedField,callback:function(t){e.selectedField=t},expression:"selectedField"}},[t("ul",e._l(e.showFields,(function(n){return t("li",{key:n.name,staticClass:"item"},[t("el-radio",{attrs:{label:n.name}},[e._v("\n "+e._s(n.label)+"\n ")])],1)})),0)])],1),e._v(" "),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.setField}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.determine"))+"\n ")]),e._v(" "),t("el-button",{attrs:{size:"small"},on:{click:function(t){return e.$emit("close")}}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.cancel"))+"\n ")])],1)])};t.staticRenderFns=[]},function(e,t,n){var r=n(676);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(678);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",[t("el-row",[t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-circle-plus-outline"},on:{click:e.add}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.add"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-delete"},on:{click:e.remove}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.delete"))+"\n ")]),e._v(" "),t("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{data:e.actions,"row-key":"type",border:"","highlight-current-row":""},on:{"current-change":e.handleCurrentChange}},[t("el-table-column",{attrs:{type:"index"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("workflowEditor.task.operationType"),width:"180"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{on:{change:e.isDuplicated},model:{value:n.row.type,callback:function(t){e.$set(n.row,"type",t)},expression:"scope.row.type"}},e._l(e.actionTypes,(function(e){return t("el-option",{key:e.id,attrs:{value:e.type,label:e.label}})})),1)]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"label",label:e.$t("workflowEditor.task.name"),width:"180"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-input",{model:{value:n.row.label,callback:function(t){e.$set(n.row,"label",t)},expression:"scope.row.label"}})]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"visible",label:e.$t("workflowEditor.task.visibleOrNot")},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-checkbox",{model:{value:n.row.visible,callback:function(t){e.$set(n.row,"visible",t)},expression:"scope.row.visible"}})]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"condition",label:e.$t("workflowEditor.task.condition")},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-input",{attrs:{value:e.formatCondition(n.row.condition),type:"textarea",autosize:""},on:{focus:function(t){return e.selectCondition(n.row)}}})]}}])})],1)],1),e._v(" "),e.showAdditionalCondition?t("additional-condition-dialog",{on:{close:function(t){e.showAdditionalCondition=!1}},model:{value:e.currentRow.condition,callback:function(t){e.$set(e.currentRow,"condition",t)},expression:"currentRow.condition"}}):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";n.r(t);var r=n(321),o=n(147);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"65a358ca",null);t.default=a.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{width:"50%",title:e.$t("workflowEditor.task.setConditions"),visible:!0,top:"10vh","append-to-body":"","custom-class":"properties-editor-noTab",center:""},on:{close:function(t){return e.$emit("close")}}},[t("el-form-item",[t("additional-condition",{model:{value:e.condition,callback:function(t){e.condition=t},expression:"condition"}})],1),e._v(" "),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.setConditions}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.determine"))+"\n ")]),e._v(" "),t("el-button",{attrs:{size:"small"},on:{click:function(t){return e.$emit("close")}}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.cancel"))+"\n ")])],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("div",[t("el-row",[t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-circle-plus-outline"},on:{click:e.add}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.add"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-arrow-right"},on:{click:e.insert}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.insert"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-delete"},on:{click:e.remove}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.delete"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-view"},on:{click:e.view}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.viewConditions"))+"\n ")])],1),e._v(" "),t("el-table",{ref:"table",staticStyle:{width:"100%","padding-top":"10px"},attrs:{data:e.tableData,"row-key":"id",border:"","highlight-current-row":""},on:{"current-change":e.handleCurrentChange}},[t("el-table-column",{attrs:{prop:"leftBracket",label:"(",width:"90"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{placeholder:""},on:{focus:function(t){return e.selectRow(n.row)}},model:{value:n.row.leftBracket,callback:function(t){e.$set(n.row,"leftBracket",t)},expression:"scope.row.leftBracket"}},[t("el-option",{attrs:{label:"",value:""}}),e._v(" "),t("el-option",{attrs:{label:"(",value:"("}}),e._v(" "),t("el-option",{attrs:{label:"((",value:"(("}}),e._v(" "),t("el-option",{attrs:{label:"(((",value:"((("}})],1)]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("workflowEditor.common.fieldName"),width:"200"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-input",{attrs:{value:e.format(n.row.key)},on:{focus:function(t){return e.selectField(n.row)}}})]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("workflowEditor.common.operator"),width:"110"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{placeholder:""},on:{focus:function(t){return e.selectRow(n.row)}},model:{value:n.row.operator,callback:function(t){e.$set(n.row,"operator",t)},expression:"scope.row.operator"}},e._l(e.getOperatorOptions(n.row.key),(function(e){return t("el-option",{key:e.name,attrs:{label:e.label,value:e.name}})})),1)]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("workflowEditor.common.value")},scopedSlots:e._u([{key:"default",fn:function(n){return[n.row.key.indexOf("${field[")>=0||e.isTransitionOtherField(n.row.key)?t("el-input",{model:{value:n.row.value,callback:function(t){e.$set(n.row,"value","string"==typeof t?t.trim():t)},expression:"scope.row.value"}}):"${approvalResult}"===n.row.key?t("el-select",{model:{value:n.row.value,callback:function(t){e.$set(n.row,"value","string"==typeof t?t.trim():t)},expression:"scope.row.value"}},[t("el-option",{attrs:{value:"同意",label:e.$t("workflowEditorPublicModel.agree")}}),e._v(" "),t("el-option",{attrs:{value:"不同意",label:e.$t("workflowEditorPublicModel.disagree")}})],1):t("el-input",{attrs:{value:e.format(n.row.value,n.row),readonly:""},on:{focus:e.selectValue}})]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"rightBracket",label:")",width:"90"},on:{focus:function(t){return e.selectRow(e.scope.row)}},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{placeholder:""},model:{value:n.row.rightBracket,callback:function(t){e.$set(n.row,"rightBracket",t)},expression:"scope.row.rightBracket"}},[t("el-option",{attrs:{label:"",value:""}}),e._v(" "),t("el-option",{attrs:{label:")",value:")"}}),e._v(" "),t("el-option",{attrs:{label:"))",value:"))"}}),e._v(" "),t("el-option",{attrs:{label:")))",value:")))"}})],1)]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"logicOperator",label:e.$t("workflowEditorPublicModel.andOr"),width:"110"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{placeholder:e.$t("workflowEditorMessage.pleaseSelect")},on:{focus:function(t){return e.selectRow(n.row)}},model:{value:n.row.logicOperator,callback:function(t){e.$set(n.row,"logicOperator",t)},expression:"scope.row.logicOperator"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.process.perhaps"),value:"condition.operator.or"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.process.also"),value:"condition.operator.and"}})],1)]}}])})],1),e._v(" "),e.currentInput?t("value-selection-dialog",{attrs:{title:e.valueDialogTitle,"show-organization":e.showOrganization,"standard-fields":e.availableStandardFields,"org-type":e.orgType},on:{close:e.closeValueDialog}}):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";n.r(t);var r=n(323),o=n(151);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(682);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"903790ea",null);t.default=a.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:e.titleName,visible:!0,top:"10vh","append-to-body":"","custom-class":"properties-editor-valueSelect",center:""},on:{close:function(t){return e.$emit("close")}}},[t("el-tabs",{attrs:{id:"custTabOne",type:"border-card"},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},[e.options.length>0?t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.process.standardFields"),name:"standardFields"}},e._l(e.options,(function(n){return t("el-row",{key:n.name},[t("el-radio",{attrs:{label:n.name,border:""},model:{value:e.selectedValue,callback:function(t){e.selectedValue=t},expression:"selectedValue"}},[e._v("\n "+e._s(n.label)+"\n ")])],1)})),1):e._e(),e._v(" "),e.showOrganization?t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.common.organizationStructure"),name:"organization"}},["user"===e.orgType?t("inline-department-user-tree",{ref:"organizationTree",attrs:{multiple:!1},on:{result:e.orgSelect}}):e._e(),e._v(" "),"department"===e.orgType?t("inline-department-tree",{ref:"organizationTree",attrs:{multiple:!1},on:{result:e.orgSelect}}):e._e(),e._v(" "),"workgroup"===e.orgType?t("inline-workgroup-tree",{ref:"organizationTree",attrs:{multiple:!1},on:{result:e.orgSelect}}):e._e(),e._v(" "),"role"===e.orgType?t("inline-system-role-tree",{ref:"organizationTree",attrs:{multiple:!1},on:{result:e.orgSelect}}):e._e()],1):e._e(),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.common.formField"),name:"formFields"}},[t("el-radio-group",{staticClass:"group",model:{value:e.selectedValue,callback:function(t){e.selectedValue=t},expression:"selectedValue"}},e._l(e.formFields,(function(n){return t("div",{key:n.name,staticClass:"item"},[t("el-radio",{attrs:{label:"${field["+n.name+"]}"}},[e._v("\n "+e._s(n.label)+"\n ")])],1)})),0)],1)],1),e._v(" "),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.setValue}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.determine"))+"\n ")]),e._v(" "),t("el-button",{attrs:{size:"small"},on:{click:function(t){return e.$emit("close")}}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.cancel"))+"\n ")])],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";n.r(t);var r=n(324),o=n(153);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(680);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",[t("el-input",{attrs:{placeholder:e.$t("workflowEditorMessage.pleaseEnterTheRoleName")},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.clickSearch.apply(null,arguments)}},model:{value:e.filterText,callback:function(t){e.filterText=t},expression:"filterText"}},[t("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.clickSearch},slot:"append"})],1),e._v(" "),t("el-tree",{ref:"roleTree",attrs:{props:e.defaultProps,load:e.loadNode,lazy:"","highlight-current":!0,"node-key":"nodeId","show-checkbox":e.multiple,"check-strictly":"","render-content":e.renderContent,"filter-node-method":e.filterNode},on:{check:e.handleCheckNode,"node-click":e.handleNodeClick}})],1)};t.staticRenderFns=[]},function(e,t,n){var r=n(681);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(683);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("span",[t("div",{staticStyle:{float:"left","padding-right":"5px"}},[t("el-input",{model:{value:e.zh,callback:function(t){e.zh=t},expression:"zh"}},[t("i",{staticClass:"el-icon-setting",attrs:{slot:"append"},on:{click:e.i18nSet},slot:"append"})])],1),e._v(" "),e.isShowI18n?t("i18n-set",{attrs:{value:{values:{zh_CN:e.zh},key:e.myI18nKey}},on:{close:e.closeI18nSet}}):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(5),n(3),n(3),n(23),n(25),n(5);t.render=function(){var e=this,t=e._self._c;return e.isShow?t("el-dialog",{attrs:{"close-on-click-modal":!1,width:"30%",title:e.$t("workflowEditorPublicModel.i18nSet"),"append-to-body":"",visible:"",top:"5vh"},on:{open:function(t){return e.$emit("open")},opend:function(t){return e.$emit("opend")},close:function(t){return e.$emit("close")},closed:function(t){return e.$emit("closed")}}},[t("div",{staticClass:"operation-area"},[t("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.saveI18nSet("form")}}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.determine"))+"\n ")]),e._v(" "),t("el-button",{attrs:{size:"small"},on:{click:e.goBack}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.return"))+"\n ")])],1),e._v(" "),t("el-form",{ref:"form",attrs:{model:e.i18nModel,"label-width":"100px"}},[t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.$t("workflowEditorPublicModel.i18nKey"),prop:"key",rules:[e.requiredRule]}},[t("el-input",{staticStyle:{width:"80%"},model:{value:e.i18nModel.key,callback:function(t){e.$set(e.i18nModel,"key",t)},expression:"i18nModel.key"}})],1)],1)],1),e._v(" "),e._l(Object.keys(e.languages),(function(n){return t("el-row",{key:n},[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.languages[n],prop:n}},[t("el-input",{model:{value:e.i18nModel.values[n],callback:function(t){e.$set(e.i18nModel.values,n,t)},expression:"i18nModel.values[language]"}})],1)],1)],1)}))],2)],1):e._e()};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("span",{staticStyle:{width:"100%"}},[t("el-input",{model:{value:e.code,callback:function(t){e.code=t},expression:"code"}},[t("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"suffix"},on:{click:function(t){e.showMailTemplateFlag=!0}},slot:"suffix"})]),e._v(" "),t("el-dialog",{attrs:{width:"40%",title:e.$t("workflowEditor.task.selectTemplate"),visible:e.showMailTemplateFlag,center:"",top:"5vh","append-to-body":"","custom-class":"properties-editor-noTab"},on:{"update:visible":function(t){e.showMailTemplateFlag=t}}},[t("super-grid",{ref:"reportGrid",attrs:{url:e.baseURL+e.optionUrl,code:"BS_EMAIL_TEMPLATE",options:e.options},on:{select:e.selectData}}),e._v(" "),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:function(t){e.showMailTemplateFlag=!1}}},[e._v(e._s(e.$t("workflowEditorPublicModel.cancel")))]),e._v(" "),t("el-button",{attrs:{type:"primary"},on:{click:e.selectTemplate}},[e._v(e._s(e.$t("workflowEditorPublicModel.determine")))])],1)],1)],1)};t.staticRenderFns=[]},function(e,t,n){var r=n(686);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.formModel}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.allowEditingForms")}},[t("el-switch",{model:{value:e.formModel.editForm.permission,callback:function(t){e.$set(e.formModel.editForm,"permission",t)},expression:"formModel.editForm.permission"}}),e._v(" "),e.formModel.editForm.permission?t("editable-fields",{model:{value:e.formModel.editForm.field,callback:function(t){e.$set(e.formModel.editForm,"field",t)},expression:"formModel.editForm.field"}}):e._e(),e._v(" "),e.formModel.editForm.permission?t("editable-child-fields",{model:{value:e.formModel.editForm.subTablePermission,callback:function(t){e.$set(e.formModel.editForm,"subTablePermission",t)},expression:"formModel.editForm.subTablePermission"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.allowViews")}},[t("el-switch",{model:{value:e.formModel.viewOpinion.permission,callback:function(t){e.$set(e.formModel.viewOpinion,"permission",t)},expression:"formModel.viewOpinion.permission"}}),e._v(" "),e.formModel.viewOpinion.permission?t("el-checkbox",{model:{value:e.formModel.viewOpinionCheckbox,callback:function(t){e.$set(e.formModel,"viewOpinionCheckbox",t)},expression:"formModel.viewOpinionCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.viewOpinion.permission&&e.formModel.viewOpinionCheckbox?t("additional-condition",{model:{value:e.formModel.viewOpinion.condition,callback:function(t){e.$set(e.formModel.viewOpinion,"condition",t)},expression:"formModel.viewOpinion.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.commentsAllowed")}},[t("el-switch",{model:{value:e.formModel.editOpinion.permission,callback:function(t){e.$set(e.formModel.editOpinion,"permission",t)},expression:"formModel.editOpinion.permission"}}),e._v(" "),e.formModel.editOpinion.permission?t("el-checkbox",{model:{value:e.formModel.editOpinionCheckbox,callback:function(t){e.$set(e.formModel,"editOpinionCheckbox",t)},expression:"formModel.editOpinionCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.editOpinion.permission&&e.formModel.editOpinionCheckbox?t("additional-condition",{model:{value:e.formModel.editOpinion.condition,callback:function(t){e.$set(e.formModel.editOpinion,"condition",t)},expression:"formModel.editOpinion.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.commentsAreRequired")}},[t("el-switch",{model:{value:e.formModel.requireOpinion.permission,callback:function(t){e.$set(e.formModel.requireOpinion,"permission",t)},expression:"formModel.requireOpinion.permission"}}),e._v(" "),e.formModel.requireOpinion.permission?t("el-checkbox",{model:{value:e.formModel.requireOpinionCheckbox,callback:function(t){e.$set(e.formModel,"requireOpinionCheckbox",t)},expression:"formModel.requireOpinionCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.requireOpinion.permission&&e.formModel.requireOpinionCheckbox?t("additional-condition",{model:{value:e.formModel.requireOpinion.condition,callback:function(t){e.$set(e.formModel.requireOpinion,"condition",t)},expression:"formModel.requireOpinion.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.allowToViewCountersignatureResults")}},[t("el-switch",{model:{value:e.formModel.viewMeetingResult.permission,callback:function(t){e.$set(e.formModel.viewMeetingResult,"permission",t)},expression:"formModel.viewMeetingResult.permission"}}),e._v(" "),e.formModel.viewMeetingResult.permission?t("el-checkbox",{model:{value:e.formModel.viewMeetingResultCheckbox,callback:function(t){e.$set(e.formModel,"viewMeetingResultCheckbox",t)},expression:"formModel.viewMeetingResultCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.viewMeetingResult.permission&&e.formModel.viewMeetingResultCheckbox?t("additional-condition",{model:{value:e.formModel.viewMeetingResult.condition,callback:function(t){e.$set(e.formModel.viewMeetingResult,"condition",t)},expression:"formModel.viewMeetingResult.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.allowToViewVotingResults")}},[t("el-switch",{model:{value:e.formModel.viewVoteResult.permission,callback:function(t){e.$set(e.formModel.viewVoteResult,"permission",t)},expression:"formModel.viewVoteResult.permission"}}),e._v(" "),e.formModel.viewVoteResult.permission?t("el-checkbox",{model:{value:e.formModel.viewVoteResultCheckbox,callback:function(t){e.$set(e.formModel,"viewVoteResultCheckbox",t)},expression:"formModel.viewVoteResultCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.viewVoteResult.permission&&e.formModel.viewVoteResultCheckbox?t("additional-condition",{model:{value:e.formModel.viewVoteResult.condition,callback:function(t){e.$set(e.formModel.viewVoteResult,"condition",t)},expression:"formModel.viewVoteResult.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.allowToViewFlowHistory")}},[t("el-switch",{model:{value:e.formModel.viewFlowHistory.permission,callback:function(t){e.$set(e.formModel.viewFlowHistory,"permission",t)},expression:"formModel.viewFlowHistory.permission"}}),e._v(" "),e.formModel.viewFlowHistory.permission?t("el-checkbox",{model:{value:e.formModel.viewFlowHistoryCheckbox,callback:function(t){e.$set(e.formModel,"viewFlowHistoryCheckbox",t)},expression:"formModel.viewFlowHistoryCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.viewFlowHistory.permission&&e.formModel.viewFlowHistoryCheckbox?t("additional-condition",{model:{value:e.formModel.viewFlowHistory.condition,callback:function(t){e.$set(e.formModel.viewFlowHistory,"condition",t)},expression:"formModel.viewFlowHistory.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.allowFormsToPrint")}},[t("el-switch",{model:{value:e.formModel.printForm.permission,callback:function(t){e.$set(e.formModel.printForm,"permission",t)},expression:"formModel.printForm.permission"}}),e._v(" "),e.formModel.printForm.permission?t("el-checkbox",{model:{value:e.formModel.printFormCheckbox,callback:function(t){e.$set(e.formModel,"printFormCheckbox",t)},expression:"formModel.printFormCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.printForm.permission&&e.formModel.printFormCheckbox?t("additional-condition",{model:{value:e.formModel.printForm.condition,callback:function(t){e.$set(e.formModel.printForm,"condition",t)},expression:"formModel.printForm.condition"}}):e._e()],1),e._v(" "),t("user-selection",{attrs:{label:e.$t("workflowEditor.task.deletePermission"),"label-width":"100px","current-transactor":!0},model:{value:e.formModel.deleteInstance.userCondition,callback:function(t){e.$set(e.formModel.deleteInstance,"userCondition",t)},expression:"formModel.deleteInstance.userCondition"}}),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.attachmentAuthority")}},[t("el-switch",{model:{value:e.formModel.attachment.permission,callback:function(t){e.$set(e.formModel.attachment,"permission",t)},expression:"formModel.attachment.permission"}})],1),e._v(" "),e.formModel.attachment.permission?t("el-card",{staticClass:"box-card"},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.addAttachment")}},[t("el-switch",{model:{value:e.formModel.attachment.add.permission,callback:function(t){e.$set(e.formModel.attachment.add,"permission",t)},expression:"formModel.attachment.add.permission"}}),e._v(" "),e.formModel.attachment.add.permission?t("el-checkbox",{model:{value:e.formModel.attachment.addCheckbox,callback:function(t){e.$set(e.formModel.attachment,"addCheckbox",t)},expression:"formModel.attachment.addCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.attachment.add.permission&&e.formModel.attachment.addCheckbox?t("additional-condition",{model:{value:e.formModel.attachment.add.condition,callback:function(t){e.$set(e.formModel.attachment.add,"condition",t)},expression:"formModel.attachment.add.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.deleteAttachment")}},[t("el-switch",{model:{value:e.formModel.attachment.delete.permission,callback:function(t){e.$set(e.formModel.attachment.delete,"permission",t)},expression:"formModel.attachment.delete.permission"}}),e._v(" "),e.formModel.attachment.delete.permission?t("el-checkbox",{model:{value:e.formModel.attachment.deleteCheckbox,callback:function(t){e.$set(e.formModel.attachment,"deleteCheckbox",t)},expression:"formModel.attachment.deleteCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.attachment.delete.permission&&e.formModel.attachment.deleteCheckbox?t("additional-condition",{model:{value:e.formModel.attachment.delete.condition,callback:function(t){e.$set(e.formModel.attachment.delete,"condition",t)},expression:"formModel.attachment.delete.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.downloadAttachment")}},[t("el-switch",{model:{value:e.formModel.attachment.download.permission,callback:function(t){e.$set(e.formModel.attachment.download,"permission",t)},expression:"formModel.attachment.download.permission"}}),e._v(" "),e.formModel.attachment.download.permission?t("el-checkbox",{model:{value:e.formModel.attachment.downloadCheckbox,callback:function(t){e.$set(e.formModel.attachment,"downloadCheckbox",t)},expression:"formModel.attachment.downloadCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.attachment.download.permission&&e.formModel.attachment.downloadCheckbox?t("additional-condition",{model:{value:e.formModel.attachment.download.condition,callback:function(t){e.$set(e.formModel.attachment.download,"condition",t)},expression:"formModel.attachment.download.condition"}}):e._e()],1)],1):e._e(),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.bodyPermission")}},[t("el-switch",{model:{value:e.formModel.officialText.permission,callback:function(t){e.$set(e.formModel.officialText,"permission",t)},expression:"formModel.officialText.permission"}})],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("div",[t("el-row",[t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-circle-plus-outline"},on:{click:e.add}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.add"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-delete"},on:{click:e.remove}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.delete"))+"\n ")])],1),e._v(" "),t("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{data:e.selectedFields,border:"","highlight-current-row":""},on:{"selection-change":e.handleSelectionChange,"current-change":e.handleCurrentChange}},[t("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),t("el-table-column",{attrs:{type:"index",width:"50"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("workflowEditor.common.name"),width:"180"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("span",{style:{color:n.row.name&&0===n.row.name.indexOf("$")?"#409EFF":""}},[e._v(e._s(e.getFieldLabel(n.row)))])]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"name",label:e.$t("workflowEditor.task.propertyName"),width:"180"}}),e._v(" "),t("el-table-column",{attrs:{prop:"constraintRule",label:e.$t("workflowEditor.task.editingMethod")},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-radio-group",{model:{value:n.row.constraintRule,callback:function(t){e.$set(n.row,"constraintRule",t)},expression:"scope.row.constraintRule"}},[t("el-radio",{attrs:{label:"REQUIRED"}},[e._v("\n "+e._s(e.$t("workflowEditorMessage.mustFill"))+"\n ")]),e._v(" "),t("el-radio",{attrs:{label:"READ_ONLY"}},[e._v("\n "+e._s(e.$t("workflowEditorMessage.readOnly"))+"\n ")])],1)]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"condition",label:e.$t("workflowEditor.task.condition")},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-input",{attrs:{value:e.formatCondition(n.row.condition),type:"textarea",autosize:""},on:{focus:function(t){return e.selectCondition(n.row)}}})]}}])})],1),e._v(" "),e.showFieldSelection?t("editable-field-selection",{attrs:{"disabled-fields":e.disabledFields},on:{input:e.setSelectedFields,close:function(t){e.showFieldSelection=!1}}}):e._e(),e._v(" "),e.showAdditionalCondition?t("additional-condition-dialog",{on:{close:function(t){e.showAdditionalCondition=!1}},model:{value:e.currentRow.condition,callback:function(t){e.$set(e.currentRow,"condition",t)},expression:"currentRow.condition"}}):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{id:"appContainer",width:"50%",title:e.$t("workflowEditor.task.selectEditableField"),visible:!0,top:"10vh","append-to-body":"","custom-class":"properties-editor-noTab",center:""},on:{close:function(t){return e.$emit("close")}}},[t("el-form",{attrs:{model:e.formModel}},[t("el-checkbox-group",{model:{value:e.formModel.selectedFields,callback:function(t){e.$set(e.formModel,"selectedFields",t)},expression:"formModel.selectedFields"}},e._l(e.availableFieldsCount,(function(n,r){return t("span",{key:n.prop},[t("el-row",[e.availableFields[3*r+0]?t("el-col",{attrs:{span:8}},[-1===e.availableFields[3*r+0].name.indexOf("$")?t("el-checkbox",{attrs:{label:e.availableFields[3*r+0].name},on:{change:function(t){return e.pinSelect(e.availableFields[3*r+0].name,e.availableFields[3*r+0].index)}}},[t("span",{attrs:{title:e.availableFields[3*r+0].label}},[e._v(e._s(e.availableFields[3*r+0].label))])]):t("el-checkbox",{attrs:{label:e.availableFields[3*r+0].name},on:{change:function(t){return e.pinSelect(e.availableFields[3*r+0].name,e.availableFields[3*r+0].index)}}},[t("span",{staticClass:"ellipsis",staticStyle:{color:"#409EFF"},attrs:{title:e.availableFields[3*r+0].label}},[e._v(e._s(e.availableFields[3*r+0].label))])])],1):e._e(),e._v(" "),e.availableFields[3*r+1]?t("el-col",{attrs:{span:8}},[-1===e.availableFields[3*r+1].name.indexOf("$")?t("el-checkbox",{attrs:{label:e.availableFields[3*r+1].name},on:{change:function(t){return e.pinSelect(e.availableFields[3*r+1].name,e.availableFields[3*r+1].index)}}},[t("span",{attrs:{title:e.availableFields[3*r+1].label}},[e._v(e._s(e.availableFields[3*r+1].label))])]):t("el-checkbox",{attrs:{label:e.availableFields[3*r+1].name},on:{change:function(t){return e.pinSelect(e.availableFields[3*r+1].name,e.availableFields[3*r+1].index)}}},[t("span",{staticClass:"ellipsis",staticStyle:{color:"#409EFF"},attrs:{title:e.availableFields[3*r+1].label}},[e._v(e._s(e.availableFields[3*r+1].label))])])],1):e._e(),e._v(" "),e.availableFields[3*r+2]?t("el-col",{attrs:{span:8}},[-1===e.availableFields[3*r+2].name.indexOf("$")?t("el-checkbox",{attrs:{label:e.availableFields[3*r+2].name},on:{change:function(t){return e.pinSelect(e.availableFields[3*r+2].name,e.availableFields[3*r+2].index)}}},[t("span",{attrs:{title:e.availableFields[3*r+2].label}},[e._v(e._s(e.availableFields[3*r+2].label))])]):t("el-checkbox",{attrs:{label:e.availableFields[3*r+2].name},on:{change:function(t){return e.pinSelect(e.availableFields[3*r+2].name,e.availableFields[3*r+2].index)}}},[t("span",{staticClass:"ellipsis",staticStyle:{color:"#409EFF"},attrs:{title:e.availableFields[3*r+2].label}},[e._v(e._s(e.availableFields[3*r+2].label))])])],1):e._e()],1)],1)})),0),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.editingMethod")}},[t("el-radio-group",{model:{value:e.formModel.constraintRule,callback:function(t){e.$set(e.formModel,"constraintRule",t)},expression:"formModel.constraintRule"}},[t("el-radio",{attrs:{label:"REQUIRED"}},[e._v("\n "+e._s(e.$t("workflowEditorMessage.mustFill"))+"\n ")]),e._v(" "),t("el-radio",{attrs:{label:"READ_ONLY"}},[e._v("\n "+e._s(e.$t("workflowEditorMessage.readOnly"))+"\n ")])],1)],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.additionalConditions")}},[t("el-switch",{model:{value:e.formModel.showCondition,callback:function(t){e.$set(e.formModel,"showCondition",t)},expression:"formModel.showCondition"}}),e._v(" "),e.formModel.showCondition?t("additional-condition",{model:{value:e.formModel.condition,callback:function(t){e.$set(e.formModel,"condition",t)},expression:"formModel.condition"}}):e._e()],1)],1),e._v(" "),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.setSelectedFields}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.determine"))+"\n ")]),e._v(" "),t("el-button",{attrs:{size:"small"},on:{click:function(t){return e.$emit("close")}}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.cancel"))+"\n ")])],1)],1)};t.staticRenderFns=[]},function(e,t,n){var r=n(691);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",[t("el-card",{staticClass:"box-card"},e._l(e.subtableConditionMap,(function(n,r){return t("span",{key:r},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("el-row",[t("el-col",{attrs:{span:12}},[t("span",[e._v(e._s(r))])]),e._v(" "),e.selectedFieldMap[r]?t("el-col",{attrs:{span:12}},[t("el-switch",{attrs:{"inactive-text":e.$t("workflowEditor.condition.accessControl")},on:{change:function(t){return e.changeSumPermission(r)}},model:{value:e.selectedFieldMap[r].sumPermission,callback:function(t){e.$set(e.selectedFieldMap[r],"sumPermission",t)},expression:"selectedFieldMap[key].sumPermission"}})],1):e._e()],1),e._v(" "),t("el-row",[t("el-col",[e.selectedFieldMap[r]&&e.selectedFieldMap[r].sumPermission?t("span",[t("span",{staticStyle:{color:"cornflowerblue"}},[e._v(e._s(e.$t("workflowEditor.condition.formBindingModel"))+":")]),e._v(" "),t("span",{staticStyle:{"padding-left":"5px"}},[t("el-input",{staticStyle:{width:"300px"},model:{value:e.selectedFieldMap[r].modelName,callback:function(t){e.$set(e.selectedFieldMap[r],"modelName",t)},expression:"selectedFieldMap[key].modelName"}})],1),e._v(" "),t("el-button",{attrs:{icon:"el-icon-refresh",type:"text"},on:{click:function(t){return e.refreshModelName(r)}}})],1):e._e()])],1)],1),e._v(" "),e.selectedFieldMap[r]&&e.selectedFieldMap[r].sumPermission?t("div",[t("editable-child-field-setting",{attrs:{setting:e.selectedFieldMap[r],"table-name":r},on:{combinationParameters:e.combinationParameters}})],1):e._e()])})),0)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";var r=n(22),o=n(258)(6),i="findIndex",s=!0;i in[]&&Array(1)[i]((function(){s=!1})),r(r.P+r.F*s,"Array",{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(382)(i)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("div",[t("div",[t("el-row",[t("el-checkbox-group",{on:{change:e.changeActionArr},model:{value:e.actionArr,callback:function(t){e.actionArr=t},expression:"actionArr"}},[t("el-col",{attrs:{span:8}},[t("el-checkbox",{attrs:{label:"add"}},[e._v("\n "+e._s(e.$t("workflowEditor.condition.rowsCanBeAdded"))+"\n "),e.actionArr&&-1!==e.actionArr.indexOf("add")?t("i",{staticClass:"el-icon-s-tools",on:{click:function(t){return e.showButtonVisible("add")}}}):e._e()])],1),e._v(" "),t("el-col",{attrs:{span:8}},[t("el-checkbox",{attrs:{label:"delete"}},[e._v("\n "+e._s(e.$t("workflowEditor.condition.deleteLine"))+"\n "),e.actionArr&&-1!==e.actionArr.indexOf("delete")?t("i",{staticClass:"el-icon-s-tools",on:{click:function(t){return e.showButtonVisible("delete")}}}):e._e()])],1),e._v(" "),t("el-col",{attrs:{span:8}},[t("el-checkbox",{attrs:{label:"update"}},[e._v("\n "+e._s(e.$t("workflowEditor.condition.modifiableHistoricalData"))+"\n "),e.actionArr&&-1!==e.actionArr.indexOf("update")?t("i",{staticClass:"el-icon-s-tools",on:{click:function(t){return e.showButtonVisible("update")}}}):e._e()])],1)],1)],1),e._v(" "),e.showButtonVisibleFlag?t("selection-conditions",{attrs:{"attribute-map":e.subtableConditionItem,"condition-list":e.buttonVisibleCon.condition,"parent-condition":e.buttonVisibleCon.parentCondition,"user-condition":e.buttonVisibleCon.userCondition,"is-add":e.buttonType&&"add"===e.buttonType},on:{close:e.saveButtonVisible}}):e._e()],1),e._v(" "),t("div",[t("el-row",[t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-circle-plus-outline"},on:{click:e.add}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.add"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-delete"},on:{click:e.remove}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.delete"))+"\n ")])],1),e._v(" "),t("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{data:e.fieldArr,border:"","highlight-current-row":""},on:{"selection-change":e.handleSelectionChange,"current-change":e.handleCurrentChange}},[t("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),t("el-table-column",{attrs:{type:"index",width:"50"}}),e._v(" "),t("el-table-column",{attrs:{prop:"name",label:e.$t("workflowEditor.task.propertyName"),width:"280"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{size:"small",filterable:""},on:{change:e.combinationParameters},model:{value:n.row.name,callback:function(t){e.$set(n.row,"name",t)},expression:"scope.row.name"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.condition.allFields"),value:"all_fields"}}),e._v(" "),e._l(e.attributeArr,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],2)]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"constraintRule",label:e.$t("workflowEditor.task.editingMethod"),width:"380"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-radio-group",{on:{change:e.combinationParameters},model:{value:n.row.constraintRule,callback:function(t){e.$set(n.row,"constraintRule",t)},expression:"scope.row.constraintRule"}},[t("el-radio",{attrs:{label:"REQUIRED"}},[e._v("\n "+e._s(e.$t("workflowEditorMessage.mustFill"))+"\n ")]),e._v(" "),t("el-radio",{attrs:{label:"READ_ONLY"}},[e._v("\n "+e._s(e.$t("workflowEditorMessage.readOnly"))+"\n ")])],1)]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"condition",label:e.$t("workflowEditor.task.condition")},scopedSlots:e._u([{key:"default",fn:function(n){return[t("i",{staticClass:"el-icon-s-tools",on:{click:function(t){return e.selectCondition(n.row)}}})]}}])})],1),e._v(" "),e.showAdditionalCondition?t("selection-conditions",{attrs:{"attribute-map":e.subtableConditionItem,"condition-list":e.currentRow.condition,"parent-condition":e.currentRow.parentCondition,"user-condition":e.currentRow.userCondition},on:{close:e.savebuttonSetting}}):e._e()],1)])};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{staticStyle:{width:"100%"},attrs:{"show-close":!0,"append-to-body":!0,title:e.$t("workflowEditor.condition.combinationCondition"),visible:""},on:{close:e.closeButtonSetting}},[t("div",{staticStyle:{"overflow-y":"auto","max-height":"500px"}},[t("div",{staticClass:"operation-area"},[t("el-button",{attrs:{size:"small"},on:{click:e.savebuttonSetting}},[t("span",[e._v(" "+e._s(e.$t("workflowEditorPublicModel.save")))])])],1),e._v(" "),t("div",[t("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("span",[e._v(e._s(e.$t("workflowEditor.condition.personnelScope")))])]),e._v(" "),t("div",[t("common-user-condition",{attrs:{"used-in":"transactor"},model:{value:e.myUserCondition,callback:function(t){e.myUserCondition=t},expression:"myUserCondition"}})],1)]),e._v(" "),t("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("span",[e._v(e._s(e.$t("workflowEditor.condition.mainTableConditions")))])]),e._v(" "),t("div",[t("additional-condition",{model:{value:e.myParentCondition,callback:function(t){e.myParentCondition=t},expression:"myParentCondition"}})],1)]),e._v(" "),!1===e.isAdd?t("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[t("div",{attrs:{slot:"header"},slot:"header"},[t("span",[e._v(e._s(e.$t("workflowEditor.condition.subtableCondition")))])]),e._v(" "),t("div",[t("el-row",{staticStyle:{"padding-bottom":"8px"}},[t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-circle-plus-outline"},on:{click:e.add}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.add"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-delete"},on:{click:e.remove}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.delete"))+"\n ")])],1),e._v(" "),t("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{id:"tableDataDialog",data:e.tableData,border:"","highlight-current-row":""},on:{"current-change":e.handleCurrentChange}},[t("el-table-column",{attrs:{prop:"leftBracket",label:"(",width:"90"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{size:"small",clearable:""},on:{focus:function(t){return e.selectRow(n.row)}},model:{value:n.row.leftBracket,callback:function(t){e.$set(n.row,"leftBracket",t)},expression:"scope.row.leftBracket"}},[t("el-option",{attrs:{label:"",value:""}}),e._v(" "),t("el-option",{attrs:{label:"(",value:"("}}),e._v(" "),t("el-option",{attrs:{label:"((",value:"(("}}),e._v(" "),t("el-option",{attrs:{label:"(((",value:"((("}})],1)]}}],null,!1,1991881891)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("workflowEditor.common.fieldName"),width:"200"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{"filter-method":e.searchField,size:"small",clearable:"",filterable:""},on:{focus:function(t){return e.selectRow(n.row)},change:function(t){return e.changeFieldName(n.$index)}},model:{value:n.row.propName,callback:function(t){e.$set(n.row,"propName",t)},expression:"scope.row.propName"}},e._l(e.attributeArr,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)]}}],null,!1,393197266)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("workflowEditor.common.operator"),width:"110"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{size:"small",clearable:""},on:{focus:function(t){return e.selectRow(n.row)}},model:{value:n.row.operator,callback:function(t){e.$set(n.row,"operator",t)},expression:"scope.row.operator"}},e._l(e.operationArr[n.$index],(function(e){return t("el-option",{key:e.name,attrs:{label:e.label,value:e.name}})})),1)]}}],null,!1,2037854662)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("workflowEditor.common.value")},scopedSlots:e._u([{key:"default",fn:function(n){return[n.row.propValueType?e._e():t("el-select",{attrs:{size:"small"},on:{focus:function(t){return e.selectRow(n.row)}},model:{value:n.row.propValueType,callback:function(t){e.$set(n.row,"propValueType",t)},expression:"scope.row.propValueType"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.condition.fillInManually"),value:"input"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.environmentVariable"),value:"context"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.requestParameters"),value:"request"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.mainTableField"),value:"obj"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.databaseFields"),value:"subObj"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.taskFields"),value:"task"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.systemParameter"),value:"custom"}})],1),e._v(" "),"context"===n.row.propValueType?t("el-select",{attrs:{clearable:"",size:"small",title:n.row.propValue,filterable:"","default-first-option":"","allow-create":""},on:{change:function(t){return e.changePropValue(n.$index)},focus:function(t){return e.selectRow(n.row)}},model:{value:n.row.propValue,callback:function(t){e.$set(n.row,"propValue",t)},expression:"scope.row.propValue"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentTime"),value:"${context.currentTime}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentTransactor"),value:"${context.currentTransactor}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentTransactorName"),value:"${context.currentTransactorName}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentTransactorId"),value:"${context.currentTransactorId}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentTransactorMainDepartmentId"),value:"${context.currentTransactorMainDepartmentId}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentTransactorMainDepartment"),value:"${context.currentTransactorMainDepartment}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentTransactorRoleId"),value:"${context.currentTransactorRoleId}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentTransactorRole"),value:"${context.currentTransactorRole}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentTransactorWorkGroupId"),value:"${context.currentTransactorWorkGroupId}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentTransactorWorkGroup"),value:"${context.currentTransactorWorkGroup}"}})],1):e._e(),e._v(" "),"task"===n.row.propValueType?t("el-select",{attrs:{clearable:"",size:"small",title:n.row.propValue,filterable:"","default-first-option":"","allow-create":""},on:{change:function(t){return e.changePropValue(n.$index)},focus:function(t){return e.selectRow(n.row)}},model:{value:n.row.propValue,callback:function(t){e.$set(n.row,"propValue",t)},expression:"scope.row.propValue"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentHandler"),value:"${task.transactor}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentTaskClient"),value:"${task.trustor}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentAssignor"),value:"${task.assigner}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.linkName"),value:"${task.name}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.linkCode"),value:"${task.nodeId}"}})],1):e._e(),e._v(" "),"DATE"===n.row.dataType&&"input"===n.row.propValueType?t("el-date-picker",{attrs:{size:"small",clearable:"","value-format":"yyyy-MM-dd",title:n.row.propValue,type:"date"},on:{change:function(t){return e.changePropValue(n.$index)}},model:{value:n.row.propValue,callback:function(t){e.$set(n.row,"propValue",t)},expression:"scope.row.propValue"}}):e._e(),e._v(" "),"TIME"===n.row.dataType&&"input"===n.row.propValueType?t("el-date-picker",{attrs:{size:"small",title:n.row.propValue,clearable:"","value-format":"yyyy-MM-dd HH:mm:ss",type:"datetime"},on:{change:function(t){return e.changePropValue(n.$index)}},model:{value:n.row.propValue,callback:function(t){e.$set(n.row,"propValue",t)},expression:"scope.row.propValue"}}):e._e(),e._v(" "),"TIME"!==n.row.dataType&&"DATE"!==n.row.dataType&&"input"===n.row.propValueType?t("el-input",{attrs:{title:n.row.propValue,clearable:"",size:"small"},on:{change:function(t){return e.changePropValue(n.$index)}},model:{value:n.row.propValue,callback:function(t){e.$set(n.row,"propValue","string"==typeof t?t.trim():t)},expression:"scope.row.propValue"}}):e._e(),e._v(" "),"request"===n.row.propValueType?t("el-input",{attrs:{title:n.row.propValue,clearable:"",size:"small"},on:{change:function(t){return e.changePropValue(n.$index)}},model:{value:n.row.propValue,callback:function(t){e.$set(n.row,"propValue","string"==typeof t?t.trim():t)},expression:"scope.row.propValue"}}):e._e(),e._v(" "),"subObj"===n.row.propValueType?t("el-select",{attrs:{title:n.row.propValue,"filter-method":e.searchField,size:"small",clearable:"",filterable:""},on:{change:function(t){return e.changePropValue(n.$index)}},model:{value:n.row.propValue,callback:function(t){e.$set(n.row,"propValue",t)},expression:"scope.row.propValue"}},e._l(e.attributeArr,(function(e){return t("el-option",{key:"${subObj."+e.value+"}",attrs:{label:e.label,value:"${subObj."+e.value+"}"}})})),1):e._e(),e._v(" "),"obj"===n.row.propValueType?t("el-select",{attrs:{title:n.row.propValue,size:"small",clearable:"",filterable:""},on:{change:function(t){return e.changePropValue(n.$index)}},model:{value:n.row.propValue,callback:function(t){e.$set(n.row,"propValue",t)},expression:"scope.row.propValue"}},e._l(e.parentAttributeArr,(function(e){return t("el-option",{key:"${obj."+e.value+"}",attrs:{label:e.label,value:"${obj."+e.value+"}"}})})),1):e._e(),e._v(" "),"custom"===n.row.propValueType?t("el-select",{attrs:{title:n.row.propValue,size:"small",clearable:"",filterable:""},on:{change:function(t){return e.changePropValue(n.$index)}},model:{value:n.row.propValue,callback:function(t){e.$set(n.row,"propValue",t)},expression:"scope.row.propValue"}},e._l(e.propSettingKeyList,(function(e){return t("el-option",{key:"${custom."+e+"}",attrs:{label:e,value:"${custom."+e+"}"}})})),1):e._e()]}}],null,!1,509011058)}),e._v(" "),t("el-table-column",{attrs:{prop:"rightBracket",label:")",width:"90"},on:{focus:function(t){return e.selectRow(e.scope.row)}},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{size:"small",clearable:""},model:{value:n.row.rightBracket,callback:function(t){e.$set(n.row,"rightBracket",t)},expression:"scope.row.rightBracket"}},[t("el-option",{attrs:{label:"",value:""}}),e._v(" "),t("el-option",{attrs:{label:")",value:")"}}),e._v(" "),t("el-option",{attrs:{label:"))",value:"))"}}),e._v(" "),t("el-option",{attrs:{label:")))",value:")))"}})],1)]}}],null,!1,485013013)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("workflowEditorPublicModel.andOr"),prop:"logicOperator",width:"110"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{size:"small",clearable:""},on:{focus:function(t){return e.selectRow(n.row)}},model:{value:n.row.logicOperator,callback:function(t){e.$set(n.row,"logicOperator",t)},expression:"scope.row.logicOperator"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.process.perhaps"),value:"condition.operator.or"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.process.also"),value:"condition.operator.and"}})],1)]}}],null,!1,3653802580)})],1)],1)]):e._e()],1)])])};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",[t("el-row",[t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-circle-plus-outline"},on:{click:e.add}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.add"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-arrow-right"},on:{click:e.insert}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.insert"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-delete"},on:{click:e.remove}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.delete"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-view"},on:{click:e.view}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.viewConditions"))+"\n ")])],1),e._v(" "),t("el-table",{ref:"table",staticStyle:{width:"100%","padding-top":"10px"},attrs:{data:e.users,"row-key":"id",border:"","highlight-current-row":""},on:{"current-change":e.handleCurrentChange}},[t("el-table-column",{attrs:{prop:"leftBracket",label:"(",width:"90"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{placeholder:""},on:{focus:function(t){return e.selectRow(n.row)}},model:{value:n.row.leftBracket,callback:function(t){e.$set(n.row,"leftBracket",t)},expression:"scope.row.leftBracket"}},[t("el-option",{attrs:{label:"",value:""}}),e._v(" "),t("el-option",{attrs:{label:"(",value:"("}}),e._v(" "),t("el-option",{attrs:{label:"((",value:"(("}}),e._v(" "),t("el-option",{attrs:{label:"(((",value:"((("}})],1)]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("workflowEditor.common.type"),width:"110"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{placeholder:""},on:{focus:function(t){return e.selectRow(n.row)},change:e.handleKeyChange},model:{value:n.row.key,callback:function(t){e.$set(n.row,"key",t)},expression:"scope.row.key"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.common.user"),value:"${user}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.common.role"),value:"${role}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.common.department"),value:"${department}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.common.workgroup"),value:"${workgroup}"}})],1)]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("workflowEditor.common.operator"),width:"110"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{placeholder:""},on:{focus:function(t){return e.selectRow(n.row)}},model:{value:n.row.operator,callback:function(t){e.$set(n.row,"operator",t)},expression:"scope.row.operator"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.process.beEqualTo"),value:"operator.text.eq"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.process.notEqualTo"),value:"operator.text.neq"}})],1)]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("workflowEditor.common.value")},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-input",{attrs:{value:e.format(n.row.value),readonly:""},on:{focus:function(t){return e.openValueDialog(n.row)}}})]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"rightBracket",label:")",width:"90"},on:{focus:function(t){return e.selectRow(e.scope.row)}},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{placeholder:""},model:{value:n.row.rightBracket,callback:function(t){e.$set(n.row,"rightBracket",t)},expression:"scope.row.rightBracket"}},[t("el-option",{attrs:{label:"",value:""}}),e._v(" "),t("el-option",{attrs:{label:")",value:")"}}),e._v(" "),t("el-option",{attrs:{label:"))",value:"))"}}),e._v(" "),t("el-option",{attrs:{label:")))",value:")))"}})],1)]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"logicOperator",label:e.$t("workflowEditorPublicModel.andOr"),width:"110"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{placeholder:e.$t("workflowEditorMessage.pleaseSelect")},on:{focus:function(t){return e.selectRow(n.row)}},model:{value:n.row.logicOperator,callback:function(t){e.$set(n.row,"logicOperator",t)},expression:"scope.row.logicOperator"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.process.perhaps"),value:"condition.operator.or"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.process.also"),value:"condition.operator.and"}})],1)]}}])})],1),e._v(" "),e.showValueDialog?t("value-selection-dialog",{attrs:{"standard-fields":e.standardFields,"org-type":e.currentRow.key.substring(e.currentRow.key.indexOf("{")+1,e.currentRow.key.lastIndexOf("}"))},on:{close:e.closeValueDialog}}):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-form-item",{attrs:{label:e.label,"label-width":e.labelWidth}},[t("el-col",[t("el-checkbox-group",{model:{value:e.checkList,callback:function(t){e.checkList=t},expression:"checkList"}},[t("el-checkbox",{attrs:{label:"${instanceCreator}"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.processInitiator"))+"\n ")]),e._v(" "),t("el-checkbox",{attrs:{label:"${processAdmin}"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.processAdministrator"))+"\n ")]),e._v(" "),e.currentTransactor?t("el-checkbox",{attrs:{label:"${currentTransactor}"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.currentHandler"))+"\n ")]):t("el-checkbox",{attrs:{label:"${allHandleTransactors}"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.allHandlingPersonnel"))+"\n ")]),e._v(" "),t("el-checkbox",{attrs:{label:"assignUser"},on:{change:e.toggleUserList}},[e._v("\n "+e._s(e.$t("workflowEditor.process.designatedPersonnel"))+"\n ")])],1)],1),e._v(" "),e.showUserList?t("div",[t("el-col",[t("el-row",[t("el-col",{attrs:{span:4}},[e._v("\n "+e._s(e.$t("workflowEditor.process.listOfDesignatedPersons"))+"\n ")]),e._v(" "),t("el-col",{attrs:{span:5}},[t("el-dropdown",{attrs:{size:"mini","split-button":"",type:"primary",plain:""},on:{command:e.handleCommand}},[t("span",{staticClass:"el-dropdown-link"},[t("i",{staticClass:"el-icon-search"}),e._v(" "+e._s(e.$t("workflowEditorPublicModel.choice"))+"\n ")]),e._v(" "),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{attrs:{command:"selectUser"},on:{click:function(t){return e.selectPointUser()}}},[e._v("\n "+e._s(e.$t("workflowEditor.common.selectusers"))+"\n ")]),e._v(" "),t("el-dropdown-item",{attrs:{command:"selectDepartment"},on:{click:function(t){return e.selectPointDepartment()}}},[e._v("\n "+e._s(e.$t("workflowEditor.common.selectDepartment"))+"\n ")]),e._v(" "),t("el-dropdown-item",{attrs:{command:"selectWorkgroup"},on:{click:function(t){return e.selectPointWorkgroup()}}},[e._v("\n "+e._s(e.$t("workflowEditor.common.selectTeam"))+"\n ")]),e._v(" "),t("el-dropdown-item",{attrs:{command:"selectRole"},on:{click:function(t){return e.selectPointRole()}}},[e._v("\n "+e._s(e.$t("workflowEditor.common.selectRole"))+"\n ")]),e._v(" "),t("el-dropdown-item",{attrs:{command:"selectField"},on:{click:function(t){return e.selectPointField()}}},[e._v("\n "+e._s(e.$t("workflowEditor.common.selectField"))+"\n ")])],1)],1)],1),e._v(" "),t("el-col",{attrs:{span:3}},[t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-delete"},on:{click:e.resetSelectedUsers}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.empty"))+"\n ")])],1)],1),e._v(" "),t("el-row",[t("el-col",[t("el-input",{attrs:{type:"textarea",rows:2,placeholder:e.$t("workflowEditorMessage.pleaseSelectPersonnel")},model:{value:e.selectedUsersShowValue,callback:function(t){e.selectedUsersShowValue=t},expression:"selectedUsersShowValue"}})],1)],1)],1),e._v(" "),e.showSelectUser?t("department-user-tree",{attrs:{width:"60%",multiple:!0},on:{close:e.addPointUsers}}):e._e(),e._v(" "),e.showSelectDepartment?t("department-tree",{attrs:{width:"30%",multiple:!0},on:{close:e.addPointDepartments}}):e._e(),e._v(" "),e.showSelectWorkgroup?t("workgroup-tree",{attrs:{width:"30%",multiple:!0},on:{close:e.addPointWorkgroups}}):e._e(),e._v(" "),e.showSelectRole?t("system-role-tree",{attrs:{multiple:!0},on:{close:e.addPointRoles}}):e._e(),e._v(" "),e.showSelectField?t("form-fields",{on:{close:e.setField}}):e._e()],1):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:"",title:e.$t("workflowEditorMessage.selectRole"),width:"30%",top:"10vh","append-to-body":"","custom-class":"properties-editor-noTab","close-on-click-modal":!1},on:{close:function(t){return e.$emit("close")}}},[t("inline-system-role-tree",{ref:"systemRoleTree",attrs:{multiple:e.multiple},on:{result:e.roleResult}}),e._v(" "),e.multiple?t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.selectRoles}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.determine"))+"\n ")]),e._v(" "),t("el-button",{attrs:{size:"small"},on:{click:function(t){return e.$emit("close")}}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.cancel"))+"\n ")])],1):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){var r=n(698);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(700);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.formModel}},[t("el-form-item",{attrs:{label:""}},[t("el-radio-group",{model:{value:e.formModel.transactor,callback:function(t){e.$set(e.formModel,"transactor",t)},expression:"formModel.transactor"}},[t("el-radio",{attrs:{label:"${instanceCreator}"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.processInitiator"))+"\n ")]),e._v(" "),"HumanTask"===e.usedIn?t("el-radio",{attrs:{label:"${previousTransactorAssignment}"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.appointmentOfHandlerInThePreviousLink"))+"\n ")]):e._e(),e._v(" "),t("el-radio",{attrs:{label:"byField"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.personSpecifiedInFormField"))+"\n ")]),e._v(" "),t("el-radio",{attrs:{label:"byCondition"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.filterByCriteria"))+"\n ")])],1),e._v(" "),"byCondition"===e.formModel.transactor?t("div",[t("common-user-condition",{attrs:{"used-in":"transactor"},model:{value:e.formModel.userCondition,callback:function(t){e.$set(e.formModel,"userCondition",t)},expression:"formModel.userCondition"}})],1):e._e(),e._v(" "),"byField"===e.formModel.transactor?t("el-form-item",{attrs:{prop:"selectedField",required:"",label:e.$t("workflowEditor.process.fieldName"),"label-width":"80px"}},[t("el-input",{attrs:{value:e.formatLabel(e.formModel.selectedField)},on:{focus:function(t){e.showFormFields=!0}}}),e._v(" "),e.showFormFields?t("form-fields",{on:{close:e.setField}}):e._e()],1):e._e(),e._v(" "),"byCondition"===e.formModel.transactor||"byField"===e.formModel.transactor?t("div",[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.additionalConditions")}},[t("el-checkbox",{model:{value:e.formModel.additionalCondition.onlyInCreatorDepartment,callback:function(t){e.$set(e.formModel.additionalCondition,"onlyInCreatorDepartment",t)},expression:"formModel.additionalCondition.onlyInCreatorDepartment"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.handlingYyThePersonnelOfTheDepartmentOfTheInitiator"))+"\n ")]),e._v(" "),t("el-checkbox",{model:{value:e.formModel.additionalCondition.withCreatorDepartment,callback:function(t){e.$set(e.formModel.additionalCondition,"withCreatorDepartment",t)},expression:"formModel.additionalCondition.withCreatorDepartment"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.personnelOfTheDepartmentWhereTheInitiatorWorksParticipateInTheHandling"))+"\n ")]),e._v(" "),t("el-checkbox",{model:{value:e.formModel.additionalCondition.selectOneFromMultiple,callback:function(t){e.$set(e.formModel.additionalCondition,"selectOneFromMultiple",t)},expression:"formModel.additionalCondition.selectOneFromMultiple"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.selectSpecificHandler"))+"\n ")]),e._v(" "),t("el-checkbox",{model:{value:e.formModel.additionalCondition.selectOneFromDept,callback:function(t){e.$set(e.formModel.additionalCondition,"selectOneFromDept",t)},expression:"formModel.additionalCondition.selectOneFromDept"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.selectOneFromDept"))+"\n ")]),e._v(" "),e.isSubprocess?t("el-checkbox",{model:{value:e.formModel.additionalCondition.generateOneInstanceFromDept,callback:function(t){e.$set(e.formModel.additionalCondition,"generateOneInstanceFromDept",t)},expression:"formModel.additionalCondition.generateOneInstanceFromDept"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.generateOneInstanceFromDept"))+"\n ")]):e._e()],1),e._v(" "),e.formModel.additionalCondition.selectOneFromMultiple?t("div",[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.selectionMethod")}},[t("el-radio-group",{model:{value:e.formModel.additionalCondition.selectType,callback:function(t){e.$set(e.formModel.additionalCondition,"selectType",t)},expression:"formModel.additionalCondition.selectType"}},[t("el-radio",{attrs:{label:"customType"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.manualSelection"))+"\n ")]),e._v(" "),t("el-radio",{attrs:{label:"autoType"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.autoSelect"))+"\n ")])],1)],1),e._v(" "),t("el-form-item",{directives:[{name:"show",rawName:"v-show",value:"autoType"===e.formModel.additionalCondition.selectType,expression:"formModel.additionalCondition.selectType==='autoType'"}],attrs:{prop:"additionalCondition.selectUrl",label:e.$t("workflowEditor.process.callbackURL"),rules:[{required:!0,message:this.$t("workflowEditor.process.cannotBeEmpty"),trigger:"blur"}]}},[t("el-input",{model:{value:e.formModel.additionalCondition.selectUrl,callback:function(t){e.$set(e.formModel.additionalCondition,"selectUrl",t)},expression:"formModel.additionalCondition.selectUrl"}})],1)],1):e._e()],1):e._e()],1),e._v(" "),"HumanTask"===e.usedIn&&"${previousTransactorAssignment}"===e.formModel.transactor?t("el-form-item",{attrs:{prop:"url",rules:[{required:!0,message:this.$t("workflowEditor.process.cannotBeEmpty"),trigger:"blur"}],label:e.$t("workflowEditor.process.selectURL"),"label-width":"80px"}},[t("el-input",{on:{change:e.handleUrlChange},model:{value:e.formModel.url,callback:function(t){e.$set(e.formModel,"url","string"==typeof t?t.trim():t)},expression:"formModel.url"}})],1):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";n.r(t);var r=n(338),o=n(181);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(5),n(1),n(1),n(23),n(25),n(5);t.render=function(){var e=this,t=e._self._c;return t("div",[t("el-row",{staticStyle:{"margin-bottom":"5px"}},[t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-circle-plus-outline"},on:{click:e.add}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.add"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-delete"},on:{click:e.remove}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.delete"))+"\n ")])],1),e._v(" "),t("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{data:e.tableData,border:"","highlight-current-row":""},on:{"current-change":e.handleCurrentChange}},[t("el-table-column",{attrs:{type:"index",width:"50"}}),e._v(" "),t("el-table-column",{attrs:{prop:"name",label:e.$t("workflowEditor.common.name"),width:"150"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-input",{attrs:{value:e.getFieldLabel(n.row.name),placeholder:e.$t("workflowEditorMessage.pleaseEnterContent"),readonly:""},on:{focus:function(t){e.showFormFields=!0},blur:function(t){return e.checkName(n.row.name)}}})]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"value",label:e.$t("workflowEditor.common.fieldValue"),width:"200"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{multiple:"",filterable:"","allow-create":"","default-first-option":"",placeholder:e.$t("workflowEditorMessage.pleaseSelect")},on:{blur:function(t){return e.checkValue(n.row.value)}},model:{value:n.row.value,callback:function(t){e.$set(n.row,"value",t)},expression:"scope.row.value"}},e._l(e.keys,(function(n){return t("el-option",{key:n,attrs:{label:e.standardValues[n],value:n}})})),1)]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"separator",label:e.$t("workflowEditor.common.separator")},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-input",{model:{value:n.row.separator,callback:function(t){e.$set(n.row,"separator","string"==typeof t?t.trim():t)},expression:"scope.row.separator"}})]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"fillType",label:e.$t("workflowEditor.common.fillInMethod")},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{model:{value:n.row.fillType,callback:function(t){e.$set(n.row,"fillType",t)},expression:"scope.row.fillType"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.common.cover"),value:"cover"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.common.append"),value:"append"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.common.insertToFront"),value:"prepend"}})],1)]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"fillTime",label:e.$t("workflowEditor.common.fillInTime")},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{model:{value:n.row.fillTime,callback:function(t){e.$set(n.row,"fillTime",t)},expression:"scope.row.fillTime"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.common.fillInBeforeHandling"),value:"before"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.common.fillInAfterHandling"),value:"after"}})],1)]}}])})],1),e._v(" "),e.showFormFields?t("form-fields",{on:{close:e.setField}}):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";n.r(t);var r=n(339),o=n(183);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(703);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"7e8353be",null);t.default=a.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(90),n(90);t.render=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.model,"label-width":"80px"}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.needToBeUrged")}},[t("el-switch",{model:{value:e.showReminder,callback:function(t){e.showReminder=t},expression:"showReminder"}})],1),e._v(" "),e.showReminder?t("div",[t("common-notice-tool",{attrs:{label:e.$t("workflowEditor.task.urgingMethod")},model:{value:e.model.remindType,callback:function(t){e.$set(e.model,"remindType",t)},expression:"model.remindType"}}),e._v(" "),e.model.remindType&&e.model.remindType.length>0&&-1!==e.model.remindType.indexOf("mail")?t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.selectMailTemplate")}},[t("select-mail-templates",{on:{"set-value":e.setMailTemplateCode},model:{value:e.model.noticeMailTemplateCode,callback:function(t){e.$set(e.model,"noticeMailTemplateCode",t)},expression:"model.noticeMailTemplateCode"}})],1):e._e(),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.timeLimitForHandling"),size:"mini"}},[t("el-input-number",{staticStyle:{width:"90px"},attrs:{"controls-position":"right",min:1,max:30},model:{value:e.model.dueDate,callback:function(t){e.$set(e.model,"dueDate",t)},expression:"model.dueDate"}}),e._v(" "),t("el-select",{staticStyle:{width:"70px"},model:{value:e.model.dueTimeUnit,callback:function(t){e.$set(e.model,"dueTimeUnit",t)},expression:"model.dueTimeUnit"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.task.day"),value:"day"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.task.hour"),value:"hour"}})],1),e._v(" "),t("span",[e._v(e._s(e.$t("workflowEditor.task.urgingInterval")))]),t("el-input-number",{staticStyle:{width:"90px"},attrs:{"controls-position":"right",min:1,max:30},model:{value:e.model.repeat,callback:function(t){e.$set(e.model,"repeat",t)},expression:"model.repeat"}}),e._v(" "),t("el-select",{staticStyle:{width:"70px"},model:{value:e.model.timeUnit,callback:function(t){e.$set(e.model,"timeUnit",t)},expression:"model.timeUnit"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.task.day"),value:"day"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.task.hour"),value:"hour"}})],1)],1),e._v(" "),t("el-form-item",[t("el-radio",{attrs:{label:!1},model:{value:e.showNotice,callback:function(t){e.showNotice=t},expression:"showNotice"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.alwaysUrging"))+"\n ")]),e._v(" "),t("el-radio",{attrs:{label:!0},model:{value:e.showNotice,callback:function(t){e.showNotice=t},expression:"showNotice"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.limitedUrging"))+"\n ")])],1),e._v(" "),e.showNotice?t("div",[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.timesOfUrging"),size:"mini"}},[t("el-input-number",{staticStyle:{width:"90px"},attrs:{"controls-position":"right",min:1,max:99},model:{value:e.model.remindTimes,callback:function(t){e.$set(e.model,"remindTimes",t)},expression:"model.remindTimes"}})],1),e._v(" "),t("common-notice-tool",{attrs:{label:e.$t("workflowEditor.common.notificationMethod")},model:{value:e.model.noticeType,callback:function(t){e.$set(e.model,"noticeType",t)},expression:"model.noticeType"}}),e._v(" "),t("el-form-item",{staticStyle:{"margin-bottom":"5px"},attrs:{label:e.$t("workflowEditor.common.notifyPersonnel")}},[t("el-checkbox",{model:{value:e.model.containTransferUser,callback:function(t){e.$set(e.model,"containTransferUser",t)},expression:"model.containTransferUser"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.includingHandoverPersonnel"))+"\n ")])],1),e._v(" "),t("el-form-item",{attrs:{"label-width":"0"}},[t("common-user-condition",{model:{value:e.model.noticeUserCondition,callback:function(t){e.$set(e.model,"noticeUserCondition",t)},expression:"model.noticeUserCondition"}})],1),e._v(" "),t("el-form-item",{staticStyle:{"margin-bottom":"5px"},attrs:{label:e.$t("workflowEditor.task.handoverPersonnel")}},[t("el-checkbox",{model:{value:e.model.containNoticeUser,callback:function(t){e.$set(e.model,"containNoticeUser",t)},expression:"model.containNoticeUser"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.includeNotifyPeople"))+"\n ")])],1),e._v(" "),t("el-form-item",{attrs:{"label-width":"0"}},[t("common-user-condition",{model:{value:e.model.transferUserCondition,callback:function(t){e.$set(e.model,"transferUserCondition",t)},expression:"model.transferUserCondition"}})],1)],1):e._e()],1):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";n.r(t);var r=n(340),o=n(185);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-form-item",{attrs:{label:e.label}},[t("el-checkbox-group",{model:{value:e.tools,callback:function(t){e.tools=t},expression:"tools"}},[t("el-checkbox",{attrs:{label:"mail"}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.mail"))+"\n ")]),e._v(" "),t("el-checkbox",{attrs:{label:"sms"}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.message"))+"\n ")]),e._v(" "),t("el-checkbox",{attrs:{label:"app"}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.App"))+"\n ")]),e._v(" "),t("el-checkbox",{attrs:{label:"dingding"}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.dingding"))+"\n ")])],1)],1)};t.staticRenderFns=[]},function(e,t,n){var r=n(704);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";n.r(t);var r=n(341),o=n(187);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("div",[t("el-row",[t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-circle-plus-outline"},on:{click:e.add}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.add"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-delete"},on:{click:e.remove}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.delete"))+"\n ")])],1),e._v(" "),t("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{data:e.variables,border:"","highlight-current-row":""},on:{"current-change":e.handleCurrentChange}},[t("el-table-column",{attrs:{type:"index",width:"50"}}),e._v(" "),t("el-table-column",{attrs:{prop:"name",label:e.$t("workflowEditor.common.variableName")},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-input",{attrs:{placeholder:e.$t("workflowEditorMessage.pleaseEnterContent")},on:{blur:function(t){return e.checkName(n.row.name)}},model:{value:n.row.name,callback:function(t){e.$set(n.row,"name","string"==typeof t?t.trim():t)},expression:"scope.row.name"}})]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"value",label:e.$t("workflowEditor.common.variableValue")},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-input",{attrs:{placeholder:e.$t("workflowEditorMessage.pleaseEnterContent")},on:{blur:function(t){return e.checkValue(n.row.value)}},model:{value:n.row.value,callback:function(t){e.$set(n.row,"value","string"==typeof t?t.trim():t)},expression:"scope.row.value"}})]}}])})],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.formModel,"label-width":"80px"}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.beforeSubmission")}},[t("el-switch",{model:{value:e.formModel.beforeSubmitEnabled,callback:function(t){e.$set(e.formModel,"beforeSubmitEnabled",t)},expression:"formModel.beforeSubmitEnabled"}})],1),e._v(" "),e.formModel.beforeSubmitEnabled?t("div",[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.executionURL")}},[t("el-input",{model:{value:e.formModel.beforeSubmit.url,callback:function(t){e.$set(e.formModel.beforeSubmit,"url",t)},expression:"formModel.beforeSubmit.url"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.errorMessage")}},[t("el-input",{model:{value:e.formModel.beforeSubmit.errorMessage,callback:function(t){e.$set(e.formModel.beforeSubmit,"errorMessage",t)},expression:"formModel.beforeSubmit.errorMessage"}})],1)],1):e._e(),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.afterSubmission")}},[t("el-switch",{model:{value:e.formModel.afterComplete,callback:function(t){e.$set(e.formModel,"afterComplete",t)},expression:"formModel.afterComplete"}})],1)],1)};t.staticRenderFns=[]},function(e,t,n){var r=n(707);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:"",title:e.$t("workflowEditor.process.processProperties"),center:!0,top:"10vh","append-to-body":"","custom-class":"properties-editor"},on:{open:function(t){return e.$emit("open")},opend:function(t){return e.$emit("opend")},close:function(t){return e.$emit("close")},closed:function(t){return e.$emit("closed")}}},[t("el-tabs",{attrs:{type:"border-card"},on:{"tab-click":e.handleClick},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},[t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.process.basicProperties"),name:"basicProperties"}},[t("basic-properties",{attrs:{name:e.model.attr.name,code:e.model.attr.code,model:e.model.properties.basicProperties},on:{"update:name":function(t){return e.$set(e.model.attr,"name",t)},"update:code":function(t){return e.$set(e.model.attr,"code",t)}}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.process.permissionSettings"),name:"permissions"}},[t("permission-settings",{attrs:{model:e.model.properties.permissionSettings}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.process.notificationSettings"),name:"inform"}},[t("notice-settings",{model:{value:e.model.properties.inform,callback:function(t){e.$set(e.model.properties,"inform",t)},expression:"model.properties.inform"}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.process.reminderSettings"),name:"reminders"}},[t("reminder",{model:{value:e.model.properties.reminder,callback:function(t){e.$set(e.model.properties,"reminder",t)},expression:"model.properties.reminder"}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.process.parameterSsetting"),name:"parameterSettings"}},[t("parameter-settings",{attrs:{model:e.model.properties.parameterSettings}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.process.event"),name:"events"}},[t("events",{model:{value:e.model.properties.events,callback:function(t){e.$set(e.model.properties,"events",t)},expression:"model.properties.events"}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.process.processVariables"),name:"variables"}},[t("variables",{model:{value:e.model.properties.variables,callback:function(t){e.$set(e.model.properties,"variables",t)},expression:"model.properties.variables"}})],1)],1)],1)};t.staticRenderFns=[]},function(e,t,n){var r,o,i=n(709),s=n(289),a=n(290).isArray;function l(e){var t=Number(e);if(!isNaN(t))return t;var n=e.toLowerCase();return"true"===n||"false"!==n&&e}function c(e,t){var n;if(r.compact){if(!o[r[e+"Key"]]&&(a(r.alwaysArray)?-1!==r.alwaysArray.indexOf(r[e+"Key"]):r.alwaysArray)&&(o[r[e+"Key"]]=[]),o[r[e+"Key"]]&&!a(o[r[e+"Key"]])&&(o[r[e+"Key"]]=[o[r[e+"Key"]]]),e+"Fn"in r&&"string"==typeof t&&(t=r[e+"Fn"](t,o)),"instruction"===e&&("instructionFn"in r||"instructionNameFn"in r))for(n in t)if(t.hasOwnProperty(n))if("instructionFn"in r)t[n]=r.instructionFn(t[n],n,o);else{var i=t[n];delete t[n],t[r.instructionNameFn(n,i,o)]=i}a(o[r[e+"Key"]])?o[r[e+"Key"]].push(t):o[r[e+"Key"]]=t}else{o[r.elementsKey]||(o[r.elementsKey]=[]);var s={};if(s[r.typeKey]=e,"instruction"===e){for(n in t)if(t.hasOwnProperty(n))break;s[r.nameKey]="instructionNameFn"in r?r.instructionNameFn(n,t,o):n,r.instructionHasAttributes?(s[r.attributesKey]=t[n][r.attributesKey],"instructionFn"in r&&(s[r.attributesKey]=r.instructionFn(s[r.attributesKey],n,o))):("instructionFn"in r&&(t[n]=r.instructionFn(t[n],n,o)),s[r.instructionKey]=t[n])}else e+"Fn"in r&&(t=r[e+"Fn"](t,o)),s[r[e+"Key"]]=t;r.addParent&&(s[r.parentKey]=o),o[r.elementsKey].push(s)}}function u(e){var t;if("attributesFn"in r&&e&&(e=r.attributesFn(e,o)),(r.trim||"attributeValueFn"in r||"attributeNameFn"in r||r.nativeTypeAttributes)&&e)for(t in e)if(e.hasOwnProperty(t)&&(r.trim&&(e[t]=e[t].trim()),r.nativeTypeAttributes&&(e[t]=l(e[t])),"attributeValueFn"in r&&(e[t]=r.attributeValueFn(e[t],t,o)),"attributeNameFn"in r)){var n=e[t];delete e[t],e[r.attributeNameFn(t,e[t],o)]=n}return e}function d(e){var t={};if(e.body&&("xml"===e.name.toLowerCase()||r.instructionHasAttributes)){for(var n,i=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;null!==(n=i.exec(e.body));)t[n[1]]=n[2]||n[3]||n[4];t=u(t)}if("xml"===e.name.toLowerCase()){if(r.ignoreDeclaration)return;o[r.declarationKey]={},Object.keys(t).length&&(o[r.declarationKey][r.attributesKey]=t),r.addParent&&(o[r.declarationKey][r.parentKey]=o)}else{if(r.ignoreInstruction)return;r.trim&&(e.body=e.body.trim());var s={};r.instructionHasAttributes&&Object.keys(t).length?(s[e.name]={},s[e.name][r.attributesKey]=t):s[e.name]=e.body,c("instruction",s)}}function f(e,t){var n;if("object"==typeof e&&(t=e.attributes,e=e.name),t=u(t),"elementNameFn"in r&&(e=r.elementNameFn(e,o)),r.compact){var i;if(n={},!r.ignoreAttributes&&t&&Object.keys(t).length)for(i in n[r.attributesKey]={},t)t.hasOwnProperty(i)&&(n[r.attributesKey][i]=t[i]);!(e in o)&&(a(r.alwaysArray)?-1!==r.alwaysArray.indexOf(e):r.alwaysArray)&&(o[e]=[]),o[e]&&!a(o[e])&&(o[e]=[o[e]]),a(o[e])?o[e].push(n):o[e]=n}else o[r.elementsKey]||(o[r.elementsKey]=[]),(n={})[r.typeKey]="element",n[r.nameKey]=e,!r.ignoreAttributes&&t&&Object.keys(t).length&&(n[r.attributesKey]=t),r.alwaysChildren&&(n[r.elementsKey]=[]),o[r.elementsKey].push(n);n[r.parentKey]=o,o=n}function p(e){r.ignoreText||(e.trim()||r.captureSpacesBetweenElements)&&(r.trim&&(e=e.trim()),r.nativeType&&(e=l(e)),r.sanitize&&(e=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")),c("text",e))}function h(e){r.ignoreComment||(r.trim&&(e=e.trim()),c("comment",e))}function m(e){var t=o[r.parentKey];r.addParent||delete o[r.parentKey],o=t}function v(e){r.ignoreCdata||(r.trim&&(e=e.trim()),c("cdata",e))}function g(e){r.ignoreDoctype||(e=e.replace(/^ /,""),r.trim&&(e=e.trim()),c("doctype",e))}function b(e){e.note=e}e.exports=function(e,t){var n=i.parser(!0,{}),a={};if(o=a,r=function(e){return r=s.copyOptions(e),s.ensureFlagExists("ignoreDeclaration",r),s.ensureFlagExists("ignoreInstruction",r),s.ensureFlagExists("ignoreAttributes",r),s.ensureFlagExists("ignoreText",r),s.ensureFlagExists("ignoreComment",r),s.ensureFlagExists("ignoreCdata",r),s.ensureFlagExists("ignoreDoctype",r),s.ensureFlagExists("compact",r),s.ensureFlagExists("alwaysChildren",r),s.ensureFlagExists("addParent",r),s.ensureFlagExists("trim",r),s.ensureFlagExists("nativeType",r),s.ensureFlagExists("nativeTypeAttributes",r),s.ensureFlagExists("sanitize",r),s.ensureFlagExists("instructionHasAttributes",r),s.ensureFlagExists("captureSpacesBetweenElements",r),s.ensureAlwaysArrayExists(r),s.ensureKeyExists("declaration",r),s.ensureKeyExists("instruction",r),s.ensureKeyExists("attributes",r),s.ensureKeyExists("text",r),s.ensureKeyExists("comment",r),s.ensureKeyExists("cdata",r),s.ensureKeyExists("doctype",r),s.ensureKeyExists("type",r),s.ensureKeyExists("name",r),s.ensureKeyExists("elements",r),s.ensureKeyExists("parent",r),s.checkFnExists("doctype",r),s.checkFnExists("instruction",r),s.checkFnExists("cdata",r),s.checkFnExists("comment",r),s.checkFnExists("text",r),s.checkFnExists("instructionName",r),s.checkFnExists("elementName",r),s.checkFnExists("attributeName",r),s.checkFnExists("attributeValue",r),s.checkFnExists("attributes",r),r}(t),n.opt={strictEntities:!0},n.onopentag=f,n.ontext=p,n.oncomment=h,n.onclosetag=m,n.onerror=b,n.oncdata=v,n.ondoctype=g,n.onprocessinginstruction=d,n.write(e).close(),a[r.elementsKey]){var l=a[r.elementsKey];delete a[r.elementsKey],a[r.elementsKey]=l,delete a.text}return a}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){"use strict";(function(t,r){var o=n(92);e.exports=w;var i,s=n(502);w.ReadableState=b;n(284).EventEmitter;var a=function(e,t){return e.listeners(t).length},l=n(504),c=n(286).Buffer,u=(void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var d=Object.create(n(75));d.inherits=n(63);var f=n(713),p=void 0;p=f&&f.debuglog?f.debuglog("stream"):function(){};var h,m=n(714),v=n(505);d.inherits(w,l);var g=["error","close","destroy","pause","resume"];function b(e,t){e=e||{};var r=t instanceof(i=i||n(51));this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var o=e.highWaterMark,s=e.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:r&&(s||0===s)?s:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(h||(h=n(288).StringDecoder),this.decoder=new h(e.encoding),this.encoding=e.encoding)}function w(e){if(i=i||n(51),!(this instanceof w))return new w(e);this._readableState=new b(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),l.call(this)}function y(e,t,n,r,o){var i,s=e._readableState;null===t?(s.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,x(e)}(e,s)):(o||(i=function(e,t){var n;r=t,c.isBuffer(r)||r instanceof u||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));var r;return n}(s,t)),i?e.emit("error",i):s.objectMode||t&&t.length>0?("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=function(e){return c.from(e)}(t)),r?s.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):k(e,s,t,!0):s.ended?e.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!n?(t=s.decoder.write(t),s.objectMode||0!==t.length?k(e,s,t,!1):C(e,s)):k(e,s,t,!1))):r||(s.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(s)}function k(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&x(e)),C(e,t)}Object.defineProperty(w.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),w.prototype.destroy=v.destroy,w.prototype._undestroy=v.undestroy,w.prototype._destroy=function(e,t){this.push(null),t(e)},w.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=c.from(e,t),t=""),n=!0),y(this,e,t,!1,n)},w.prototype.unshift=function(e){return y(this,e,null,!0,!1)},w.prototype.isPaused=function(){return!1===this._readableState.flowing},w.prototype.setEncoding=function(e){return h||(h=n(288).StringDecoder),this._readableState.decoder=new h(e),this._readableState.encoding=e,this};function _(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function x(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(p("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?o.nextTick(A,e):A(e))}function A(e){p("emit readable"),e.emit("readable"),P(e)}function C(e,t){t.readingMore||(t.readingMore=!0,o.nextTick(T,e,t))}function T(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(p("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function E(e){p("readable nexttick read 0"),e.read(0)}function O(e,t){t.reading||(p("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),P(e),t.flowing&&!t.reading&&e.read(0)}function P(e){var t=e._readableState;for(p("flow",t.flowing);t.flowing&&null!==e.read(););}function S(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?function(e,t){var n=t.head,r=1,o=n.data;e-=o.length;for(;n=n.next;){var i=n.data,s=e>i.length?i.length:e;if(s===i.length?o+=i:o+=i.slice(0,e),0===(e-=s)){s===i.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=i.slice(s));break}++r}return t.length-=r,o}(e,t):function(e,t){var n=c.allocUnsafe(e),r=t.head,o=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var i=r.data,s=e>i.length?i.length:e;if(i.copy(n,n.length-e,0,s),0===(e-=s)){s===i.length?(++o,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=i.slice(s));break}++o}return t.length-=o,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function M(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,o.nextTick(F,t,e))}function F(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function R(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}w.prototype.read=function(e){p("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return p("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?M(this):x(this),null;if(0===(e=_(e,t))&&t.ended)return 0===t.length&&M(this),null;var r,o=t.needReadable;return p("need readable",o),(0===t.length||t.length-e<t.highWaterMark)&&p("length less than watermark",o=!0),t.ended||t.reading?p("reading or ended",o=!1):o&&(p("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=_(n,t))),null===(r=e>0?S(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&M(this)),null!==r&&this.emit("data",r),r},w.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},w.prototype.pipe=function(e,t){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,p("pipe count=%d opts=%j",i.pipesCount,t);var l=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?u:w;function c(t,r){p("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,p("cleanup"),e.removeListener("close",g),e.removeListener("finish",b),e.removeListener("drain",d),e.removeListener("error",v),e.removeListener("unpipe",c),n.removeListener("end",u),n.removeListener("end",w),n.removeListener("data",m),f=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||d())}function u(){p("onend"),e.end()}i.endEmitted?o.nextTick(l):n.once("end",l),e.on("unpipe",c);var d=function(e){return function(){var t=e._readableState;p("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,P(e))}}(n);e.on("drain",d);var f=!1;var h=!1;function m(t){p("ondata"),h=!1,!1!==e.write(t)||h||((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==R(i.pipes,e))&&!f&&(p("false write response, pause",i.awaitDrain),i.awaitDrain++,h=!0),n.pause())}function v(t){p("onerror",t),w(),e.removeListener("error",v),0===a(e,"error")&&e.emit("error",t)}function g(){e.removeListener("finish",b),w()}function b(){p("onfinish"),e.removeListener("close",g),w()}function w(){p("unpipe"),n.unpipe(e)}return n.on("data",m),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?s(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",v),e.once("close",g),e.once("finish",b),e.emit("pipe",n),i.flowing||(p("pipe resume"),n.resume()),e},w.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<o;i++)r[i].emit("unpipe",this,{hasUnpiped:!1});return this}var s=R(t.pipes,e);return-1===s||(t.pipes.splice(s,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},w.prototype.on=function(e,t){var n=l.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&x(this):o.nextTick(E,this))}return n},w.prototype.addListener=w.prototype.on,w.prototype.resume=function(){var e=this._readableState;return e.flowing||(p("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,o.nextTick(O,e,t))}(this,e)),this},w.prototype.pause=function(){return p("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(p("pause"),this._readableState.flowing=!1,this.emit("pause")),this},w.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var o in e.on("end",(function(){if(p("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(o){(p("wrapped data"),n.decoder&&(o=n.decoder.write(o)),n.objectMode&&null==o)||(n.objectMode||o&&o.length)&&(t.push(o)||(r=!0,e.pause()))})),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var i=0;i<g.length;i++)e.on(g[i],this.emit.bind(this,g[i]));return this._read=function(t){p("wrapped _read",t),r&&(r=!1,e.resume())},this},Object.defineProperty(w.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),w._fromList=S}).call(this,n(35),n(91))},function(e,t,n){e.exports=n(284).EventEmitter},function(e,t,n){"use strict";var r=n(92);function o(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var n=this,i=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return i||s?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,r.nextTick(o,this,e)):r.nextTick(o,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?n._writableState?n._writableState.errorEmitted||(n._writableState.errorEmitted=!0,r.nextTick(o,n,e)):r.nextTick(o,n,e):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(e,t,n){"use strict";e.exports=s;var r=n(51),o=Object.create(n(75));function i(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function s(e){if(!(this instanceof s))return new s(e);r.call(this,e),this._transformState={afterTransform:i.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",a)}function a(){var e=this;"function"==typeof this._flush?this._flush((function(t,n){l(e,t,n)})):l(this,null,null)}function l(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}o.inherits=n(63),o.inherits(s,r),s.prototype.push=function(e,t){return this._transformState.needTransform=!1,r.prototype.push.call(this,e,t)},s.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},s.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var o=this._readableState;(r.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},s.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},s.prototype._destroy=function(e,t){var n=this;r.prototype._destroy.call(this,e,(function(e){t(e),n.emit("close")}))}},function(e,t,n){var r,o,i=n(289),s=n(290).isArray;function a(e,t,n){return(!n&&e.spaces?"\n":"")+Array(t+1).join(e.spaces)}function l(e,t,n){if(t.ignoreAttributes)return"";"attributesFn"in t&&(e=t.attributesFn(e,o,r));var i,s,l,c,u=[];for(i in e)e.hasOwnProperty(i)&&null!==e[i]&&void 0!==e[i]&&(c=t.noQuotesForNativeAttributes&&"string"!=typeof e[i]?"":'"',s=(s=""+e[i]).replace(/"/g,"&quot;"),l="attributeNameFn"in t?t.attributeNameFn(i,s,o,r):i,u.push(t.spaces&&t.indentAttributes?a(t,n+1,!1):" "),u.push(l+"="+c+("attributeValueFn"in t?t.attributeValueFn(s,i,o,r):s)+c));return e&&Object.keys(e).length&&t.spaces&&t.indentAttributes&&u.push(a(t,n,!1)),u.join("")}function c(e,t,n){return r=e,o="xml",t.ignoreDeclaration?"":"<?xml"+l(e[t.attributesKey],t,n)+"?>"}function u(e,t,n){if(t.ignoreInstruction)return"";var i;for(i in e)if(e.hasOwnProperty(i))break;var s="instructionNameFn"in t?t.instructionNameFn(i,e[i],o,r):i;if("object"==typeof e[i])return r=e,o=s,"<?"+s+l(e[i][t.attributesKey],t,n)+"?>";var a=e[i]?e[i]:"";return"instructionFn"in t&&(a=t.instructionFn(a,i,o,r)),"<?"+s+(a?" "+a:"")+"?>"}function d(e,t){return t.ignoreComment?"":"\x3c!--"+("commentFn"in t?t.commentFn(e,o,r):e)+"--\x3e"}function f(e,t){return t.ignoreCdata?"":"<![CDATA["+("cdataFn"in t?t.cdataFn(e,o,r):e.replace("]]>","]]]]><![CDATA[>"))+"]]>"}function p(e,t){return t.ignoreDoctype?"":"<!DOCTYPE "+("doctypeFn"in t?t.doctypeFn(e,o,r):e)+">"}function h(e,t){return t.ignoreText?"":(e=(e=(e=""+e).replace(/&amp;/g,"&")).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),"textFn"in t?t.textFn(e,o,r):e)}function m(e,t,n,i){return e.reduce((function(e,s){var c=a(t,n,i&&!e);switch(s.type){case"element":return e+c+function(e,t,n){r=e,o=e.name;var i=[],s="elementNameFn"in t?t.elementNameFn(e.name,e):e.name;i.push("<"+s),e[t.attributesKey]&&i.push(l(e[t.attributesKey],t,n));var a=e[t.elementsKey]&&e[t.elementsKey].length||e[t.attributesKey]&&"preserve"===e[t.attributesKey]["xml:space"];return a||(a="fullTagEmptyElementFn"in t?t.fullTagEmptyElementFn(e.name,e):t.fullTagEmptyElement),a?(i.push(">"),e[t.elementsKey]&&e[t.elementsKey].length&&(i.push(m(e[t.elementsKey],t,n+1)),r=e,o=e.name),i.push(t.spaces&&function(e,t){var n;if(e.elements&&e.elements.length)for(n=0;n<e.elements.length;++n)switch(e.elements[n][t.typeKey]){case"text":if(t.indentText)return!0;break;case"cdata":if(t.indentCdata)return!0;break;case"instruction":if(t.indentInstruction)return!0;break;case"doctype":case"comment":case"element":default:return!0}return!1}(e,t)?"\n"+Array(n+1).join(t.spaces):""),i.push("</"+s+">")):i.push("/>"),i.join("")}(s,t,n);case"comment":return e+c+d(s[t.commentKey],t);case"doctype":return e+c+p(s[t.doctypeKey],t);case"cdata":return e+(t.indentCdata?c:"")+f(s[t.cdataKey],t);case"text":return e+(t.indentText?c:"")+h(s[t.textKey],t);case"instruction":var v={};return v[s[t.nameKey]]=s[t.attributesKey]?s:s[t.instructionKey],e+(t.indentInstruction?c:"")+u(v,t,n)}}),"")}function v(e,t,n){var r;for(r in e)if(e.hasOwnProperty(r))switch(r){case t.parentKey:case t.attributesKey:break;case t.textKey:if(t.indentText||n)return!0;break;case t.cdataKey:if(t.indentCdata||n)return!0;break;case t.instructionKey:if(t.indentInstruction||n)return!0;break;case t.doctypeKey:case t.commentKey:default:return!0}return!1}function g(e,t,n,i,s){r=e,o=t;var c="elementNameFn"in n?n.elementNameFn(t,e):t;if(null==e||""===e)return"fullTagEmptyElementFn"in n&&n.fullTagEmptyElementFn(t,e)||n.fullTagEmptyElement?"<"+c+"></"+c+">":"<"+c+"/>";var u=[];if(t){if(u.push("<"+c),"object"!=typeof e)return u.push(">"+h(e,n)+"</"+c+">"),u.join("");e[n.attributesKey]&&u.push(l(e[n.attributesKey],n,i));var d=v(e,n,!0)||e[n.attributesKey]&&"preserve"===e[n.attributesKey]["xml:space"];if(d||(d="fullTagEmptyElementFn"in n?n.fullTagEmptyElementFn(t,e):n.fullTagEmptyElement),!d)return u.push("/>"),u.join("");u.push(">")}return u.push(b(e,n,i+1,!1)),r=e,o=t,t&&u.push((s?a(n,i,!1):"")+"</"+c+">"),u.join("")}function b(e,t,n,r){var o,i,l,m=[];for(i in e)if(e.hasOwnProperty(i))for(l=s(e[i])?e[i]:[e[i]],o=0;o<l.length;++o){switch(i){case t.declarationKey:m.push(c(l[o],t,n));break;case t.instructionKey:m.push((t.indentInstruction?a(t,n,r):"")+u(l[o],t,n));break;case t.attributesKey:case t.parentKey:break;case t.textKey:m.push((t.indentText?a(t,n,r):"")+h(l[o],t));break;case t.cdataKey:m.push((t.indentCdata?a(t,n,r):"")+f(l[o],t));break;case t.doctypeKey:m.push(a(t,n,r)+p(l[o],t));break;case t.commentKey:m.push(a(t,n,r)+d(l[o],t));break;default:m.push(a(t,n,r)+g(l[o],i,t,n,v(l[o],t)))}r=r&&!m.length}return m.join("")}e.exports=function(e,t){t=function(e){var t=i.copyOptions(e);return i.ensureFlagExists("ignoreDeclaration",t),i.ensureFlagExists("ignoreInstruction",t),i.ensureFlagExists("ignoreAttributes",t),i.ensureFlagExists("ignoreText",t),i.ensureFlagExists("ignoreComment",t),i.ensureFlagExists("ignoreCdata",t),i.ensureFlagExists("ignoreDoctype",t),i.ensureFlagExists("compact",t),i.ensureFlagExists("indentText",t),i.ensureFlagExists("indentCdata",t),i.ensureFlagExists("indentAttributes",t),i.ensureFlagExists("indentInstruction",t),i.ensureFlagExists("fullTagEmptyElement",t),i.ensureFlagExists("noQuotesForNativeAttributes",t),i.ensureSpacesExists(t),"number"==typeof t.spaces&&(t.spaces=Array(t.spaces+1).join(" ")),i.ensureKeyExists("declaration",t),i.ensureKeyExists("instruction",t),i.ensureKeyExists("attributes",t),i.ensureKeyExists("text",t),i.ensureKeyExists("comment",t),i.ensureKeyExists("cdata",t),i.ensureKeyExists("doctype",t),i.ensureKeyExists("type",t),i.ensureKeyExists("name",t),i.ensureKeyExists("elements",t),i.checkFnExists("doctype",t),i.checkFnExists("instruction",t),i.checkFnExists("cdata",t),i.checkFnExists("comment",t),i.checkFnExists("text",t),i.checkFnExists("instructionName",t),i.checkFnExists("elementName",t),i.checkFnExists("attributeName",t),i.checkFnExists("attributeValue",t),i.checkFnExists("attributes",t),i.checkFnExists("fullTagEmptyElement",t),t}(t);var n=[];return r=e,o="_root_",t.compact?n.push(b(e,t,0,!0)):(e[t.declarationKey]&&n.push(c(e[t.declarationKey],t,0)),e[t.elementsKey]&&e[t.elementsKey].length&&n.push(m(e[t.elementsKey],t,0,!n.length))),n.join("")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.formModel,"label-width":"100px"}},[t("el-row",[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.processName"),prop:"name",rules:[e.requiredRule]}},[t("i18n-input",{attrs:{"i18n-key":e.model.i18nKey?e.model.i18nKey:"processName"},on:{setI18n:e.setI18nValue},model:{value:e.formModel.name,callback:function(t){e.$set(e.formModel,"name","string"==typeof t?t.trim():t)},expression:"formModel.name"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.processCode"),prop:"code",rules:[e.requiredRule]}},[t("el-input",{model:{value:e.formModel.code,callback:function(t){e.$set(e.formModel,"code","string"==typeof t?t.trim():t)},expression:"formModel.code"}})],1)],1)],1),e._v(" "),t("el-row",[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.processAdministrator"),rules:[e.requiredRule]}},[t("el-input",{attrs:{readonly:"","suffix-icon":"el-icon-search"},on:{focus:e.selectAdmin},model:{value:e.formModel.adminName,callback:function(t){e.$set(e.formModel,"adminName",t)},expression:"formModel.adminName"}}),e._v(" "),e.isSelectAdmin?t("department-user-tree",{attrs:{width:"30%",multiple:!1},on:{close:e.addAdmin}}):e._e()],1)],1),e._v(" "),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.creater")}},[t("el-input",{attrs:{readonly:""},model:{value:e.model.creator,callback:function(t){e.$set(e.model,"creator",t)},expression:"model.creator"}})],1)],1)],1),e._v(" "),t("el-row",[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.correspondingForm"),rules:[e.requiredRule]}},[t("el-cascader",{attrs:{"show-all-levels":!1,options:e.allForms},on:{change:e.handleChange},model:{value:e.selectedForm,callback:function(t){e.selectedForm=t},expression:"selectedForm"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.processType")}},[t("el-select",{attrs:{placeholder:e.$t("workflowEditorMessage.pleaseSelect")},model:{value:e.model.processTypeCode,callback:function(t){e.$set(e.model,"processTypeCode",t)},expression:"model.processTypeCode"}},e._l(e.allProcessTypes,(function(e){return t("el-option",{key:e.code,attrs:{label:e.name,value:e.code}})})),1)],1)],1)],1),e._v(" "),t("el-row",[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.system"),prop:"model.systemCode",rules:[e.requiredRule]}},[t("el-select",{attrs:{placeholder:e.$t("workflowEditorMessage.pleaseSelect")},model:{value:e.model.systemCode,callback:function(t){e.$set(e.model,"systemCode",t)},expression:"model.systemCode"}},e._l(e.allSystems,(function(e){return t("el-option",{key:e.code,attrs:{label:e.name,value:e.code}})})),1)],1)],1),e._v(" "),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.affiliatedBranch")}},[t("el-select",{attrs:{clearable:"",placeholder:e.$t("workflowEditorMessage.pleaseSelect")},model:{value:e.model.branchCode,callback:function(t){e.$set(e.model,"branchCode",t)},expression:"model.branchCode"}},e._l(e.allBranches,(function(e){return t("el-option",{key:e.code,attrs:{label:e.name,value:e.code}})})),1)],1)],1)],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.customCategory")}},[t("el-input",{model:{value:e.model.customType,callback:function(t){e.$set(e.model,"customType",t)},expression:"model.customType"}})],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.model,"label-width":"80px"}},[t("user-selection",{attrs:{label:e.$t("workflowEditor.process.ViewFlowHistoryPersonnel"),"label-width":"130px"},model:{value:e.model.viewFlowHistory,callback:function(t){e.$set(e.model,"viewFlowHistory",t)},expression:"model.viewFlowHistory"}}),e._v(" "),t("user-selection",{attrs:{label:e.$t("workflowEditor.process.ViewCountersignatureResultPersonnel"),"label-width":"130px"},model:{value:e.model.viewSubscribeResult,callback:function(t){e.$set(e.model,"viewSubscribeResult",t)},expression:"model.viewSubscribeResult"}}),e._v(" "),t("user-selection",{attrs:{label:e.$t("workflowEditor.process.ViewVotingResultsBy"),"label-width":"130px"},model:{value:e.model.viewVoteResult,callback:function(t){e.$set(e.model,"viewVoteResult",t)},expression:"model.viewVoteResult"}})],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.model,"label-width":"150px"}},[t("el-card",[t("div",{attrs:{slot:"header"},slot:"header"},[t("span",[e._v(e._s(e.$t("workflowEditor.process.processTaskParameterSettings")))])]),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.uRLForProcessingTask")}},[t("el-input",{model:{value:e.model.doTask.url,callback:function(t){e.$set(e.model.doTask,"url",t)},expression:"model.doTask.url"}},[t("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"suffix"},on:{click:e.openSelectPage},slot:"suffix"})])],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.parametersForReceivingTaskID")}},[t("el-input",{model:{value:e.model.doTask.parameterName,callback:function(t){e.$set(e.model.doTask,"parameterName",t)},expression:"model.doTask.parameterName"}})],1)],1),e._v(" "),t("el-card",[t("div",{attrs:{slot:"header"},slot:"header"},[t("span",[e._v(e._s(e.$t("workflowEditor.process.viewFormParameterSettings")))])]),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.viewTheURLOfTheForm")}},[t("el-input",{model:{value:e.model.viewForm.url,callback:function(t){e.$set(e.model.viewForm,"url",t)},expression:"model.viewForm.url"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.parametersOfReceivingEntityID")}},[t("el-input",{model:{value:e.model.viewForm.parameterName,callback:function(t){e.$set(e.model.viewForm,"parameterName",t)},expression:"model.viewForm.parameterName"}})],1)],1),e._v(" "),t("el-card",[t("div",{attrs:{slot:"header"},slot:"header"},[t("span",[e._v(e._s(e.$t("workflowEditor.process.emergencyTreatmentParameterSetting")))])]),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.uRLOfEmergencyHandling")}},[t("el-input",{model:{value:e.model.handleEmergency.url,callback:function(t){e.$set(e.model.handleEmergency,"url",t)},expression:"model.handleEmergency.url"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.parametersOfReceivingEntityID")}},[t("el-input",{model:{value:e.model.handleEmergency.parameterName,callback:function(t){e.$set(e.model.handleEmergency,"parameterName",t)},expression:"model.handleEmergency.parameterName"}})],1)],1),e._v(" "),t("el-card",[t("div",{attrs:{slot:"header"},slot:"header"},[t("span",[e._v(e._s(e.$t("workflowEditor.process.initiateProcessParameterSettings")))])]),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.uRLOfTheInitiatingProcess")}},[t("el-input",{model:{value:e.model.startProcess.url,callback:function(t){e.$set(e.model.startProcess,"url",t)},expression:"model.startProcess.url"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.parametersForReceivingProcessName")}},[t("el-input",{model:{value:e.model.startProcess.parameterName,callback:function(t){e.$set(e.model.startProcess,"parameterName",t)},expression:"model.startProcess.parameterName"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.customParameterValue")}},[t("el-input",{model:{value:e.model.startProcess.parameterValue,callback:function(t){e.$set(e.model.startProcess,"parameterValue",t)},expression:"model.startProcess.parameterValue"}})],1)],1),e._v(" "),e.selectPageFlag?t("select-page",{attrs:{"page-form-code":e.pageFormCode},on:{setPage:e.setPage}}):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{"show-close":!0,"append-to-body":!0,title:e.$t("workflowEditorPublicModel.selectPage"),width:"60%",visible:""},on:{close:e.savePage}},[t("div",{staticStyle:{"overflow-y":"auto","max-height":"500px"}},[t("div",{staticClass:"operation-area"},[t("el-button",{attrs:{size:"small"},on:{click:e.savePage}},[t("span",[e._v(e._s(e.$t("workflowEditorPublicModel.close")))])])],1),e._v(" "),t("div",[t("super-grid",{ref:"grid",attrs:{url:e.baseURL+e.listURL,code:"MMS_MODULE_PAGE"},on:{select:e.select}})],1)])])};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-checkbox-group",{model:{value:e.selectedEvents,callback:function(t){e.selectedEvents=t},expression:"selectedEvents"}},[t("el-row",{attrs:{gutter:12}},e._l(e.events,(function(n){return t("el-col",{key:n.name,staticStyle:{"margin-bottom":"12px"},attrs:{span:8}},[t("el-card",{attrs:{shadow:"always"}},[t("el-checkbox",{attrs:{label:n.name}},[e._v("\n "+e._s(n.label)+"\n ")])],1)],1)})),1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return e.model?t("el-form",{attrs:{model:e.model,"label-width":"100px"}},[t("notice",{attrs:{"switch-label":e.$t("workflowEditor.process.sendNotificationAfterProcessEnds")},model:{value:e.model,callback:function(t){e.model=t},expression:"model"}}),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.defaultMailTemplate")}},[t("select-mail-templates",{on:{"set-value":e.setMailTemplateCode},model:{value:e.model.defaultMailTemplateCode,callback:function(t){e.$set(e.model,"defaultMailTemplateCode",t)},expression:"model.defaultMailTemplateCode"}})],1)],1):e._e()};t.staticRenderFns=[]},function(e,t,n){"use strict";n.r(t);var r=n(350),o=n(205);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.model,"label-width":"80px"}},[t("el-form-item",{attrs:{label:e.switchLabel,"label-width":"130"}},[t("el-switch",{model:{value:e.showNotice,callback:function(t){e.showNotice=t},expression:"showNotice"}})],1),e._v(" "),e.showNotice?t("div",[t("common-notice-tool",{attrs:{label:e.$t("workflowEditor.common.notificationMethod")},model:{value:e.model.informType,callback:function(t){e.$set(e.model,"informType",t)},expression:"model.informType"}}),e._v(" "),e.model.informType&&e.model.informType.length>0&&-1!==e.model.informType.indexOf("mail")?t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.selectMailTemplate")}},[t("select-mail-templates",{on:{"set-value":e.setMailTemplateCode},model:{value:e.model.noticeMailTemplateCode,callback:function(t){e.$set(e.model,"noticeMailTemplateCode",t)},expression:"model.noticeMailTemplateCode"}})],1):e._e(),e._v(" "),t("user-selection",{attrs:{label:e.$t("workflowEditor.common.addressee")},model:{value:e.model.userCondition,callback:function(t){e.$set(e.model,"userCondition",t)},expression:"model.userCondition"}}),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.common.theme")}},[t("el-input",{attrs:{placeholder:e.$t("workflowEditorMessage.pleaseEnterASubject")},model:{value:e.model.subject,callback:function(t){e.$set(e.model,"subject",t)},expression:"model.subject"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.common.content")}},[t("el-input",{attrs:{type:"textarea",autosize:{minRows:4,maxRows:10},placeholder:e.$t("workflowEditorMessage.pleaseEnterContent")},model:{value:e.model.content,callback:function(t){e.$set(e.model,"content",t)},expression:"model.content"}})],1)],1):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:"",title:e.$t("workflowEditor.task.attributeOfConditionJudgment"),center:!0,"append-to-body":""},on:{open:function(t){return e.$emit("open")},opend:function(t){return e.$emit("opend")},close:function(t){return e.$emit("close")},closed:function(t){return e.$emit("closed")}}},[t("el-form",[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.name"),"label-width":"40px"}},[t("i18n-input",{attrs:{"i18n-key":e.formModel.basicProperties&&e.formModel.basicProperties.i18nKey?e.formModel.basicProperties.i18nKey:"name."+e.formModel.attr.id},on:{setI18n:e.setI18nValue},model:{value:e.formModel.attr.name,callback:function(t){e.$set(e.formModel.attr,"name","string"==typeof t?t.trim():t)},expression:"formModel.attr.name"}})],1),e._v(" "),t("el-form-item",[t("span",[e._v(e._s(e.$t("workflowEditor.task.allBranchFlows")))]),e._v(" "),t("el-table",{staticStyle:{width:"100%"},attrs:{border:"",data:e.transitions}},[t("el-table-column",{attrs:{type:"index",width:"50"}}),e._v(" "),t("el-table-column",{attrs:{prop:"to",label:e.$t("workflowEditor.task.targetLink")}}),e._v(" "),t("el-table-column",{attrs:{prop:"condition",label:e.$t("workflowEditor.task.condition")}})],1)],1)],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:"",title:e.$t("workflowEditor.transition.flowProperties"),center:!0,top:"10vh","append-to-body":"","custom-class":"properties-editor"},on:{open:function(t){return e.$emit("open")},opend:function(t){return e.$emit("opend")},close:function(t){return e.$emit("close")},closed:function(t){return e.$emit("closed")}}},[t("el-tabs",{attrs:{type:"border-card"},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},[t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.transition.basicProperties"),name:"basicProperties"}},[t("basic-properties",{attrs:{id:e.model.ref.attr.id,model:e.model.ref.basicProperties,"source-tache-type":e.model.startJoint.parent.type}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.transition.notificationSettings"),name:"inform"}},[t("notice",{attrs:{"switch-label":e.$t("workflowEditor.transition.sendNotificationAfterFlow")},model:{value:e.model.ref.inform,callback:function(t){e.$set(e.model.ref,"inform",t)},expression:"model.ref.inform"}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.transition.autoFillInFieldSettings"),name:"autoFilledFields"}},[t("auto-filled-fields",{model:{value:e.model.ref.autoFilledFields,callback:function(t){e.$set(e.model.ref,"autoFilledFields",t)},expression:"model.ref.autoFilledFields"}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.transition.eventProcessing"),name:"events"}},[t("el-form",[t("el-form-item",{attrs:{label:e.$t("workflowEditor.transition.triggerFlowThroughEvent")}},[t("el-switch",{model:{value:e.model.ref.onTransit,callback:function(t){e.$set(e.model.ref,"onTransit",t)},expression:"model.ref.onTransit"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.transition.beanName")}},[t("el-input",{model:{value:e.model.ref.beanName,callback:function(t){e.$set(e.model.ref,"beanName",t)},expression:"model.ref.beanName"}})],1)],1)],1)],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-form",[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.keepTheHandlerUnchangedWhenTheTargetLinkIsHandledRepeatedly"),"label-width":"240px"}},[t("el-switch",{model:{value:e.model.isOriginalUser,callback:function(t){e.$set(e.model,"isOriginalUser",t)},expression:"model.isOriginalUser"}})],1),e._v(" "),"Decision"===e.sourceTacheType?t("el-form-item",[t("span",[e._v(e._s(e.$t("workflowEditor.process.branchingCondition")))]),e._v(" "),t("additional-condition",{attrs:{"is-transition":!0},model:{value:e.model.condition,callback:function(t){e.$set(e.model,"condition",t)},expression:"model.condition"}})],1):e._e(),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.remarks"),"label-width":"40px"}},[t("i18n-input",{attrs:{"i18n-key":e.model.i18nKey?e.model.i18nKey:"name."+e.id},on:{setI18n:e.setI18nValue},model:{value:e.model.remark,callback:function(t){e.$set(e.model,"remark",t)},expression:"model.remark"}})],1)],1)};t.staticRenderFns=[]},function(e,t,n){var r=n(737);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:"",title:e.$t("workflowEditor.task.propertiesOfBranches"),center:!0,"append-to-body":""},on:{open:function(t){return e.$emit("open")},opend:function(t){return e.$emit("opend")},close:function(t){return e.$emit("close")},closed:function(t){return e.$emit("closed")}}},[t("el-form",[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.name"),"label-width":"40px"}},[t("el-input",{model:{value:e.formModel.attr.name,callback:function(t){e.$set(e.formModel.attr,"name",t)},expression:"formModel.attr.name"}})],1),e._v(" "),t("el-form-item",[t("span",[e._v(e._s(e.$t("workflowEditor.task.allBranchFlows")))]),e._v(" "),t("el-table",{staticStyle:{width:"100%"},attrs:{border:"",data:e.transitions}},[t("el-table-column",{attrs:{type:"index",width:"50"}}),e._v(" "),t("el-table-column",{attrs:{prop:"to",label:e.$t("workflowEditor.task.targetLink")}})],1)],1)],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:"",title:e.$t("workflowEditor.task.convergedProperties"),center:!0,"append-to-body":""},on:{open:function(t){return e.$emit("open")},opend:function(t){return e.$emit("opend")},close:function(t){return e.$emit("close")},closed:function(t){return e.$emit("closed")}}},[t("el-form",[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.name"),"label-width":"40px"}},[t("el-input",{model:{value:e.formModel.attr.name,callback:function(t){e.$set(e.formModel.attr,"name",t)},expression:"formModel.attr.name"}})],1)],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:"",title:e.$t("workflowEditor.task.attributesOfManualJudgment"),center:!0,"append-to-body":""},on:{open:function(t){return e.$emit("open")},opend:function(t){return e.$emit("opend")},close:function(t){return e.$emit("close")},closed:function(t){return e.$emit("closed")}}},[t("el-form",[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.name"),"label-width":"40px"}},[t("el-input",{model:{value:e.formModel.attr.name,callback:function(t){e.$set(e.formModel.attr,"name",t)},expression:"formModel.attr.name"}})],1)],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:"",title:e.$t("workflowEditor.task.propertiesOfCCTask"),center:!0,top:"10vh","append-to-body":"","custom-class":"properties-editor"},on:{open:function(t){return e.$emit("open")},opend:function(t){return e.$emit("opend")},close:function(t){return e.$emit("close")},closed:function(t){return e.$emit("closed")}}},[t("el-tabs",{attrs:{type:"border-card"},on:{"tab-click":e.handleClick},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},[t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.task.basicProperties"),name:"basicProperties"}},[t("basic-properties",{attrs:{id:e.model.ref.attr.id,name:e.model.ref.attr.name,model:e.model.ref.basicProperties},on:{"update:id":function(t){return e.$set(e.model.ref.attr,"id",t)},"update:name":function(t){return e.$set(e.model.ref.attr,"name",t)}}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.task.settingOfHandler"),name:"transactors"}},[t("transactor-settings",{attrs:{model:e.model.ref.transactorSettings,"used-in":"CopyTask"}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.task.permissionSettings"),name:"permissions"}},[t("permission-settings",{model:{value:e.model.ref.permissionSettings,callback:function(t){e.$set(e.model.ref,"permissionSettings",t)},expression:"model.ref.permissionSettings"}})],1)],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.formModel,"label-width":"110px"}},[t("el-row",[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.name")}},[t("i18n-input",{attrs:{"i18n-key":e.tache.i18nKey?e.tache.i18nKey:"name."+e.formModel.id},on:{setI18n:e.setI18nValue},model:{value:e.formModel.name,callback:function(t){e.$set(e.formModel,"name",t)},expression:"formModel.name"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.code")}},[t("el-input",{on:{blur:e.validateId},model:{value:e.formModel.id,callback:function(t){e.$set(e.formModel,"id",t)},expression:"formModel.id"}})],1)],1)],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.taskTitle")}},[t("task-title",{model:{value:e.tache.taskTitle,callback:function(t){e.$set(e.tache,"taskTitle",t)},expression:"tache.taskTitle"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.emailNotification")}},[t("el-switch",{model:{value:e.tache.mailNotice,callback:function(t){e.$set(e.tache,"mailNotice",t)},expression:"tache.mailNotice"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.handlingPage")}},[t("el-input",{model:{value:e.tache.taskUrl,callback:function(t){e.$set(e.tache,"taskUrl",t)},expression:"tache.taskUrl"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.remarks")}},[t("el-input",{attrs:{type:"textarea",autosize:""},model:{value:e.tache.remark,callback:function(t){e.$set(e.tache,"remark",t)},expression:"tache.remark"}})],1)],1)};t.staticRenderFns=[]},function(e,t,n){var r=n(744);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.formModel}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.allowViews")}},[t("el-switch",{model:{value:e.formModel.viewOpinion.permission,callback:function(t){e.$set(e.formModel.viewOpinion,"permission",t)},expression:"formModel.viewOpinion.permission"}}),e._v(" "),e.formModel.viewOpinion.permission?t("el-checkbox",{model:{value:e.formModel.viewOpinionCheckbox,callback:function(t){e.$set(e.formModel,"viewOpinionCheckbox",t)},expression:"formModel.viewOpinionCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.viewOpinion.permission&&e.formModel.viewOpinionCheckbox?t("additional-condition",{model:{value:e.formModel.viewOpinion.condition,callback:function(t){e.$set(e.formModel.viewOpinion,"condition",t)},expression:"formModel.viewOpinion.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.allowToViewCountersignatureResults")}},[t("el-switch",{model:{value:e.formModel.viewMeetingResult.permission,callback:function(t){e.$set(e.formModel.viewMeetingResult,"permission",t)},expression:"formModel.viewMeetingResult.permission"}}),e._v(" "),e.formModel.viewMeetingResult.permission?t("el-checkbox",{model:{value:e.formModel.viewMeetingResultCheckbox,callback:function(t){e.$set(e.formModel,"viewMeetingResultCheckbox",t)},expression:"formModel.viewMeetingResultCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.viewMeetingResult.permission&&e.formModel.viewMeetingResultCheckbox?t("additional-condition",{model:{value:e.formModel.viewMeetingResult.condition,callback:function(t){e.$set(e.formModel.viewMeetingResult,"condition",t)},expression:"formModel.viewMeetingResult.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.allowToViewVotingResults")}},[t("el-switch",{model:{value:e.formModel.viewVoteResult.permission,callback:function(t){e.$set(e.formModel.viewVoteResult,"permission",t)},expression:"formModel.viewVoteResult.permission"}}),e._v(" "),e.formModel.viewVoteResult.permission?t("el-checkbox",{model:{value:e.formModel.viewVoteResultCheckbox,callback:function(t){e.$set(e.formModel,"viewVoteResultCheckbox",t)},expression:"formModel.viewVoteResultCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.viewVoteResult.permission&&e.formModel.viewVoteResultCheckbox?t("additional-condition",{model:{value:e.formModel.viewVoteResult.condition,callback:function(t){e.$set(e.formModel.viewVoteResult,"condition",t)},expression:"formModel.viewVoteResult.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.allowToViewFlowHistory")}},[t("el-switch",{model:{value:e.formModel.viewFlowHistory.permission,callback:function(t){e.$set(e.formModel.viewFlowHistory,"permission",t)},expression:"formModel.viewFlowHistory.permission"}}),e._v(" "),e.formModel.viewFlowHistory.permission?t("el-checkbox",{model:{value:e.formModel.viewFlowHistoryCheckbox,callback:function(t){e.$set(e.formModel,"viewFlowHistoryCheckbox",t)},expression:"formModel.viewFlowHistoryCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.viewFlowHistory.permission&&e.formModel.viewFlowHistoryCheckbox?t("additional-condition",{model:{value:e.formModel.viewFlowHistory.condition,callback:function(t){e.$set(e.formModel.viewFlowHistory,"condition",t)},expression:"formModel.viewFlowHistory.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.allowFormsToPrint")}},[t("el-switch",{model:{value:e.formModel.printForm.permission,callback:function(t){e.$set(e.formModel.printForm,"permission",t)},expression:"formModel.printForm.permission"}}),e._v(" "),e.formModel.printForm.permission?t("el-checkbox",{model:{value:e.formModel.printFormCheckbox,callback:function(t){e.$set(e.formModel,"printFormCheckbox",t)},expression:"formModel.printFormCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.printForm.permission&&e.formModel.printFormCheckbox?t("additional-condition",{model:{value:e.formModel.printForm.condition,callback:function(t){e.$set(e.formModel.printForm,"condition",t)},expression:"formModel.printForm.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.attachmentAuthority")}},[t("el-switch",{model:{value:e.formModel.attachment.permission,callback:function(t){e.$set(e.formModel.attachment,"permission",t)},expression:"formModel.attachment.permission"}})],1),e._v(" "),e.formModel.attachment.permission?t("el-card",{staticClass:"box-card"},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.downloadAttachment")}},[t("el-switch",{model:{value:e.formModel.attachment.download.permission,callback:function(t){e.$set(e.formModel.attachment.download,"permission",t)},expression:"formModel.attachment.download.permission"}}),e._v(" "),e.formModel.attachment.download.permission?t("el-checkbox",{model:{value:e.formModel.attachment.downloadCheckbox,callback:function(t){e.$set(e.formModel.attachment,"downloadCheckbox",t)},expression:"formModel.attachment.downloadCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.attachment.download.permission&&e.formModel.attachment.downloadCheckbox?t("additional-condition",{model:{value:e.formModel.attachment.download.condition,callback:function(t){e.$set(e.formModel.attachment.download,"condition",t)},expression:"formModel.attachment.download.condition"}}):e._e()],1)],1):e._e(),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.bodyPermission")}},[t("el-switch",{model:{value:e.formModel.officialText.permission,callback:function(t){e.$set(e.formModel.officialText,"permission",t)},expression:"formModel.officialText.permission"}})],1)],1)};t.staticRenderFns=[]},function(e,t,n){var r=n(747);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(749);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:"",title:e.$t("workflowEditor.process.propertiesOfSubprocesses"),center:!0,top:"10vh","append-to-body":"","custom-class":"properties-editor"},on:{open:function(t){return e.$emit("open")},opend:function(t){return e.$emit("opend")},close:function(t){return e.$emit("close")},closed:function(t){return e.$emit("closed")}}},[t("el-tabs",{attrs:{type:"border-card"},on:{"tab-click":e.handleClick},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},[t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.process.basicProperties"),name:"basicProperties"}},[t("basic-properties",{attrs:{id:e.model.ref.attr.id,name:e.model.ref.attr.name,model:e.model.ref},on:{"update:id":function(t){return e.$set(e.model.ref.attr,"id",t)},"update:name":function(t){return e.$set(e.model.ref.attr,"name",t)}}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.process.settingOfHandler"),name:"transactors"}},[t("subprocess-transactor-settings",{model:{value:e.model.ref.transactorSettings,callback:function(t){e.$set(e.model.ref,"transactorSettings",t)},expression:"model.ref.transactorSettings"}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.process.eventProcessing"),name:"events"}},[t("events",{attrs:{model:e.model.ref.events}})],1)],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.formModel}},[t("el-row",[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.name"),"label-width":"50px"}},[t("i18n-input",{attrs:{"i18n-key":e.formModel.tache.i18nKey?e.formModel.tache.i18nKey:"name."+e.formModel.id},on:{setI18n:e.setI18nValue},model:{value:e.formModel.name,callback:function(t){e.$set(e.formModel,"name",t)},expression:"formModel.name"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.code"),"label-width":"50px"}},[t("el-input",{on:{blur:e.validateId},model:{value:e.formModel.id,callback:function(t){e.$set(e.formModel,"id",t)},expression:"formModel.id"}})],1)],1)],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.subprocess"),"label-width":"60px"}},[t("el-cascader",{attrs:{"show-all-levels":!1,options:e.processes},on:{change:e.handleChange},model:{value:e.selectedProcess,callback:function(t){e.selectedProcess=t},expression:"selectedProcess"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.subprocessIsSharedForm"),"label-width":"60px"}},[t("el-switch",{model:{value:e.formModel.tache.isSharedForm,callback:function(t){e.$set(e.formModel.tache,"isSharedForm",t)},expression:"formModel.tache.isSharedForm"}})],1),e._v(" "),t("el-radio-group",{model:{value:e.formModel.tache.moreTransactor,callback:function(t){e.$set(e.formModel.tache,"moreTransactor",t)},expression:"formModel.tache.moreTransactor"}},[t("el-radio",{attrs:{label:!1}},[e._v("\n "+e._s(e.$t("workflowEditor.task.anyOneCanHandleIt"))+"\n ")]),e._v(" "),t("el-radio",{attrs:{label:!0}},[e._v("\n "+e._s(e.$t("workflowEditor.task.forAll"))+"\n ")])],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.transferValueFromMainFormToSubForm")}},[t("field-mappings",{attrs:{"src-label":e.$t("workflowEditor.process.fieldsOfTheMainForm"),"target-label":e.$t("workflowEditor.process.fieldsOfSubform"),"target-fields":e.subprocessFormFields},model:{value:e.formModel.tache.parameters,callback:function(t){e.$set(e.formModel.tache,"parameters",t)},expression:"formModel.tache.parameters"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.subformReturnsResultsToMainForm")}},[t("field-mappings",{attrs:{"src-label":e.$t("workflowEditor.process.fieldsOfSubform"),"target-label":e.$t("workflowEditor.process.fieldsOfTheMainForm"),"src-fields":e.subprocessFormFields},model:{value:e.formModel.tache.result,callback:function(t){e.$set(e.formModel.tache,"result",t)},expression:"formModel.tache.result"}})],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",[t("el-row",[t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-circle-plus-outline"},on:{click:e.add}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.add"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-delete"},on:{click:e.remove}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.delete"))+"\n ")])],1),e._v(" "),t("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{data:e.tableData,border:"","highlight-current-row":""},on:{"current-change":e.handleCurrentChange}},[t("el-table-column",{attrs:{type:"index",width:"50"}}),e._v(" "),t("el-table-column",{attrs:{prop:"source",label:e.srcLabel},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-input",{attrs:{value:e.showSourceFieldLabel(n.row.source),placeholder:e.$t("workflowEditorMessage.pleaseSelect")},on:{focus:function(t){e.showSourceFields=!0}}})]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"target",label:e.targetLabel},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-input",{attrs:{value:e.showTargetFieldLabel(n.row.target),placeholder:e.$t("workflowEditorMessage.pleaseSelect")},on:{focus:function(t){e.showTargetFields=!0}}})]}}])})],1),e._v(" "),e.showSourceFields||e.showTargetFields?t("form-fields",{attrs:{fields:e.formFields},on:{close:e.selectField}}):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-form",[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.eventsTriggeredBeforeStartingASubprocess"),"label-width":"150px"}},[t("el-switch",{model:{value:e.model.beforeStart,callback:function(t){e.$set(e.model,"beforeStart",t)},expression:"model.beforeStart"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.triggerSubprocessEndEvent")}},[t("el-switch",{model:{value:e.model.end,callback:function(t){e.$set(e.model,"end",t)},expression:"model.end"}})],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",[t("el-row",[e._v("\n "+e._s(e.$t("workflowEditor.process.setTheHandlerOfTheFirstPhaseOfTheSubProcess"))),t("el-switch",{model:{value:e.model.showTransactorSettings,callback:function(t){e.$set(e.model,"showTransactorSettings",t)},expression:"model.showTransactorSettings"}})],1),e._v(" "),e.model.showTransactorSettings?t("transactor-settings",{attrs:{"is-subprocess":!0,model:e.model.transactorSettings}}):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){var r=n(756);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";n.r(t);var r=n(365),o=n(235);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(757);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"dd12406c",null);t.default=a.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this._self._c;return e("div",{staticClass:"tooltip"},[e("div",{domProps:{innerHTML:this._s(this.content)}})])};t.staticRenderFns=[]},function(e,t,n){var r=n(758);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(760);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("ul",{staticClass:"context-menu"},e._l(e.menus,(function(n){return t("li",{key:n.name,on:{mousedown:function(t){return t.stopPropagation(),e.execute(n.name)}}},[t("icon-svg",{attrs:{icon:n.icon}}),t("span",[e._v(e._s(n.label))])],1)})),0)};t.staticRenderFns=[]},function(e,t,n){var r=n(763);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:"",title:e.$t("workflowEditorPublicModel.tipTitle"),center:!0,top:"10vh","append-to-body":""},on:{open:function(t){return e.$emit("open")},opend:function(t){return e.$emit("opend")},close:function(t){return e.$emit("close")},closed:function(t){return e.$emit("closed")}}},[t("div",[e._v("\n "+e._s(e.$t("workflowEditorMessage.adminSaveTip"))+"\n ")]),e._v(" "),t("ul",[t("li",[e._v("\n "+e._s(e.$t("workflowEditorMessage.adminSaveTip1"))+"\n ")]),e._v(" "),t("li",[e._v("\n "+e._s(e.$t("workflowEditorMessage.adminSaveTip2"))+"\n ")]),e._v(" "),t("li",[e._v("\n "+e._s(e.$t("workflowEditorMessage.adminSaveTip3"))+"\n ")]),e._v(" "),t("li",[e._v("\n "+e._s(e.$t("workflowEditorMessage.adminSaveTip4"))+"\n ")])]),e._v(" "),t("div",[e._v("\n "+e._s(e.$t("workflowEditorMessage.adminSaveTip5"))+"\n ")]),e._v(" "),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:e.updateWfVersion}},[e._v("\n "+e._s(e.$t("workflowEditorMessage.updateVersion"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary"},on:{click:e.addWfVersion}},[e._v("\n "+e._s(e.$t("workflowEditorMessage.addVersion"))+"\n ")]),e._v(" "),t("el-button",{on:{click:function(t){return e.$emit("close")}}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.cancel"))+"\n ")])],1)])};t.staticRenderFns=[]},function(e,t,n){var r=n(777);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",{ref:"wfEditor",staticStyle:{position:"relative",height:"100%"}},[t("div",{staticClass:"main"},[t("section",[t("wf-history-canvas",{staticClass:"canvas",attrs:{onselectstart:"return false",process:e.process,histories:e.histories,"current-tasks":e.currentTasks,"all-process-i18n":e.allProcessI18n,"show-history":!0},nativeOn:{contextmenu:function(t){return t.preventDefault(),e.showContextMenu.apply(null,arguments)}}})],1)])])};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",{ref:"svgContainer",staticStyle:{position:"relative"}},[t("svg",{attrs:{id:"svg",width:"2000",height:"2000"},on:{mousedown:e.mousedown,mousemove:e.mousemove,mouseup:e.mouseup,mouseleave:e.mouseleave}},[t("defs",[t("marker",{attrs:{id:"arrow",markerWidth:"10",markerHeight:"10",refX:"6",refY:"2",orient:"auto",markerUnits:"strokeWidth"}},[t("path",{attrs:{d:"M0,0 L0,4 L6,2 z",fill:"#666"}})])]),e._v(" "),e._l(e.taches,(function(n){return t(n.type,{key:n.id,tag:"component",class:[e.getTacheClass(n)],attrs:{model:n,"display-mode":n.displayMode},nativeOn:{mouseenter:function(t){return e.showTacheHistoryTooltip(n,t)},mouseleave:function(t){return e.hideTacheHistoryTooltip(n)},mousemove:function(t){return e.updateTacheHistoryTooltipPosition.apply(null,arguments)},click:function(t){return e.showSubprocessHistory(n)}}})})),e._v(" "),e._l(e.transitions,(function(e){return t("transition",{key:e.id,attrs:{model:e}})}))],2),e._v(" "),e.showHistory&&e.tacheHistoryInfo?t("tache-history-tooltip",{style:e.tooltipPosition,attrs:{content:e.tacheHistoryInfo}}):e._e(),e._v(" "),e.showSubprocessDialog?t("tache-subprocess-history-dialog",{attrs:{"workflow-id":e.subWorkflowId},on:{close:e.closeSubprocessHistory}}):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:"",title:e.$t("workflowEditorPublicModel.subprocessTitle"),"close-on-click-modal":!1,"append-to-body":"",width:"90%",top:"5vh"},on:{open:function(t){return e.$emit("open")},opend:function(t){return e.$emit("opend")},close:function(t){return e.$emit("close")},closed:function(t){return e.$emit("closed")}}},[t("iframe",{attrs:{id:"_subprocess-content",src:"#/show-sub-wf-history?workflowId="+e.workflowId,name:"_subprocess-content",title:"Subprocess Content",frameborder:"0"}})])};t.staticRenderFns=[]},function(e,t,n){var r=n(785);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(787);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(790);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";t.__esModule=!0,t.default={el:{colorpicker:{confirm:"OK",clear:"Clear"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:""},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},iconselect:{inputPlaceholder:"Click Select Icon",searchPlaceholder:"Search...",noMatchIcon:"No Match Icons"}}}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return executeExpression}));var _calculator_factory__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(551),_calculator_factory_wf__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(552),_util__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(33);function executeExpression(e,t,n,r){return new(Object(_calculator_factory__WEBPACK_IMPORTED_MODULE_0__.a)(r))(e,t,n).result}function parseSubTablePermissionCondition(express,dataTypeMap,parentEntity,subEntity,additionalParamMap,task,contextParameterMap){const expressTrueVal="true";if(!express)return!0;if(expressTrueVal.toLowerCase()===express.trim())return!0;const SQUARE_BRACKETS_LEFT="[",SQUARE_BRACKETS_RIGHT="]",AND="&&",OR="||";let temp=express;const strs=splitExpression(express);console.log("分割后的原子表达式为:",strs);let result=!1;for(let e=0;e<strs.length;e++){console.log("开始分析原子表达式:",strs[e]);const t=strs[e];if(t&&t.trim()){const e=t.substring(t.indexOf(SQUARE_BRACKETS_LEFT)+SQUARE_BRACKETS_LEFT.length,t.indexOf(SQUARE_BRACKETS_RIGHT));let n="TEXT";null!=dataTypeMap&&null!=dataTypeMap[e]&&(n=dataTypeMap[e]),result=parseFieldCondition(t,n,parentEntity,subEntity,additionalParamMap,task,contextParameterMap),console.log("原子表达式:",t,"的分析结果为 ",result),temp=temp.replace(t.trim(),result+""),console.log("将原子表达式替换为它的结果后:",temp)}}return temp=temp.replace(/condition.operator.and/g,AND),temp=temp.replace(/condition.operator.or/g,OR),temp.trim().endsWith(OR)&&(temp=temp.substring(0,temp.lastIndexOf(OR))),temp.trim().endsWith(AND)&&(temp=temp.substring(0,temp.lastIndexOf(AND))),console.log("最终该流向的表达式为:",temp),eval("("+temp+")")}function parseFieldCondition(e,t,n,r,o,i,s){if(!e)return!1;const a=(e=e.trim()).substring(e.indexOf("[")+"[".length,e.indexOf("]")),l=e.substring(0,e.indexOf(" ")),c=e.substring(e.indexOf(" ")+1),u=c.substring(c.indexOf(" ")+1).trim(),d=Object(_util__WEBPACK_IMPORTED_MODULE_2__.getPropValue)(u,n,o,s,null,r,i);null!=d&&(e=e.replace(u,d.toString()));const f=getValue(r,a);if(!(null!=f&&""!==f||"DATE"!==t&&"TIME"!==t))return!1;console.log("对应值为:",f);const p=new(Object(_calculator_factory_wf__WEBPACK_IMPORTED_MODULE_1__.a)(t))(e.replace(l,f)).result;return console.log("判断结果为:",p),p}function splitExpression(e){return(e=(e=(e=(e=e.replace(/condition.operator.and/g,"\\*")).replace(/condition.operator.or/g,"\\*")).replace(/\(/g,"")).replace(/\)/g,"")).split("\\*")}function getValue(e,t){const n=Object(_util__WEBPACK_IMPORTED_MODULE_2__.getEntityFieldValue)(e,t);return void 0===n||null==n?"":n+""}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));class r{constructor(){if(new.target===r)throw new Error("抽象类不能实例化!")}isNullValue(e,t){return(null==e||e+""=="")&&"IS_NULL"===t}isNotNullValue(e,t){return null!=e&&e+""!=""&&"IS_NOT_NULL"===t}isEQEmptyValue(e,t,n){return!(null!=e&&e+""!=""||null!=n&&n+""!=""||"EQ"!==t&&"CONTAIN"!==t)}}class o extends r{constructor(e,t,n){if(super(),this.isNotNullValue(e,t))this.result=!0;else if(this.isNullValue(e,t))this.result=!0;else if(this.isEQEmptyValue(e,t,n))this.result=!0;else if(null==e)this.result=!1;else{const r=Number(e+""),o=Number(n+"");if("GET"===t)this.result=r>=o;else if("LET"===t)this.result=r<=o;else if("GT"===t)this.result=r>o;else if("LT"===t)this.result=r<o;else if("NET"===t)this.result=r!==o;else if("EQ"===t)this.result=r===o;else if("IS_NULL"===t)this.result=null==e;else{if("IS_NOT_NULL"!==t)throw new Error("表达式不合法:"+e+" "+t+" "+n);this.result=null!=e}}}}class i extends r{constructor(e,t,n){if(super(),this.isNullValue(e,t))this.result=!0;else if(this.isEQEmptyValue(e,t,n))this.result=!0;else if(this.isNotNullValue(e,t))this.result=!0;else if(null==e)this.result=!1;else if("NET"===t)this.result=e!==n;else if("EQ"===t)this.result=e===n;else if("NOT_CONTAIN"===t)this.result=!e.includes(n);else if("CONTAIN"===t)this.result=e.includes(n);else if("IS_NULL"===t)this.result=null==e||""===e;else{if("IS_NOT_NULL"!==t)throw new Error("表达式不合法:"+e+" "+t+" "+n);this.result=null!=e&&""!==e}}}function s(e){switch(e){case"TEXT":return i;case"DOUBLE":case"FLOAT":case"INTEGER":case"LONG":case"DATE":case"TIME":return o;default:return i}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));class r{constructor(){if(new.target===r)throw new Error("抽象类不能实例化!")}isEQEmptyValue(e,t,n){return!(null!=e&&e+""!=""||null!=n&&n+""!=""||"operator.number.eq"!==t&&"operator.text.eq"!==t&&"operator.text.contain"!==t)}}class o extends r{constructor(e){super();const t="operator.number.ge",n="operator.number.le",r="operator.number.gt",o="operator.number.lt",i="operator.number.ne",s="operator.number.eq",a="operator.text.neq",l="operator.text.eq";if(e.indexOf(t)>0){const n=t,r=e.substring(0,e.indexOf(n)).trim(),o=e.substring(e.indexOf(n)+n.length).trim(),i=Number(r),s=Number(o);this.result=null!==i&&i>=s}else if(e.indexOf(n)>0){const t=n,r=e.substring(0,e.indexOf(t)).trim(),o=e.substring(e.indexOf(t)+t.length).trim(),i=Number(r),s=Number(o);this.result=null!==i&&i<=s}else if(e.indexOf(r)>0){const t=r,n=e.substring(0,e.indexOf(t)).trim(),o=e.substring(e.indexOf(t)+t.length).trim(),i=Number(n),s=Number(o);this.result=null!==i&&i>s}else if(e.indexOf(o)>0){const t=o,n=e.substring(0,e.indexOf(t)).trim(),r=e.substring(e.indexOf(t)+t.length).trim(),i=Number(n),s=Number(r);this.result=null!==i&&i<s}else if(e.indexOf(i)>0||e.indexOf(a)>0){let t=i;e.indexOf(a)>0&&(t=a);const n=e.substring(0,e.indexOf(t)).trim(),r=e.substring(e.indexOf(t)+t.length).trim(),o=Number(n),s=Number(r);this.result=null!==o&&o!==s}else if(e.indexOf(s)>0||e.indexOf(l)>0){let t=s;e.indexOf(l)>0&&(t=l);const n=e.substring(0,e.indexOf(t)).trim(),r=e.substring(e.indexOf(t)+t.length).trim(),o=Number(n),i=Number(r);this.isEQEmptyValue(o,t,i)?this.result=!0:this.result=null!==o&&o===i}}}class i extends r{constructor(e){super();const t="operator.number.ge",n="operator.number.le",r="operator.number.gt",o="operator.number.lt",i="operator.number.ne",s="operator.number.eq",a="operator.text.neq",l="operator.text.eq";if(e.indexOf(t)>0){const n=t;let r=e.substring(0,e.indexOf(n)).trim(),o=e.substring(e.indexOf(n)+n.length).trim();r||(r="0"),o=o?o.replaceAll("'",""):"0";const i=Number(r),s=Number(o);this.result=null!==i&&i>=s}else if(e.indexOf(n)>0){const t=n;let r=e.substring(0,e.indexOf(t)).trim(),o=e.substring(e.indexOf(t)+t.length).trim();r||(r="0"),o=o?o.replaceAll("'",""):"0";const i=Number(r),s=Number(o);this.result=null!==i&&i<=s}else if(e.indexOf(r)>0){const t=r;let n=e.substring(0,e.indexOf(t)).trim(),o=e.substring(e.indexOf(t)+t.length).trim();n||(n="0"),o=o?o.replaceAll("'",""):"0";const i=Number(n),s=Number(o);this.result=null!==i&&i>s}else if(e.indexOf(o)>0){const t=o;let n=e.substring(0,e.indexOf(t)).trim(),r=e.substring(e.indexOf(t)+t.length).trim();n||(n="0"),r=r?r.replaceAll("'",""):"0";const i=Number(n),s=Number(r);this.result=null!==i&&i<s}else if(e.indexOf(i)>0||e.indexOf(a)>0){let t=i;e.indexOf(a)>0&&(t=a);let n=e.substring(0,e.indexOf(t)).trim(),r=e.substring(e.indexOf(t)+t.length).trim();n||(n="0"),r=r?r.replaceAll("'",""):"0";const o=Number(n),s=Number(r);this.result=null!==o&&o!==s}else if(e.indexOf(s)>0||e.indexOf(l)>0){let t=s;e.indexOf(l)>0&&(t=l);let n=e.substring(0,e.indexOf(t)).trim(),r=e.substring(e.indexOf(t)+t.length).trim();n||(n="0"),r=r?r.replaceAll("'",""):"0";const o=Number(n),i=Number(r);this.isEQEmptyValue(o,t,i)?this.result=!0:this.result=null!==o&&o===i}}}class s extends r{constructor(e,t){super();const n="operator.date.ge",r="operator.date.le",o="operator.date.gt",i="operator.date.lt",s="operator.date.ne",a="operator.date.et";if(e.indexOf(n)>0){const r=n;let o=e.substring(0,e.indexOf(r)).trim(),i=e.substring(e.indexOf(r)+r.length).trim();t&&"DATE"===t&&o.indexOf(":")>0&&(o=o.substring(0,o.indexOf(":"))),t&&"DATE"===t&&i.indexOf(":")>0&&(i=i.substring(0,i.indexOf(":")));const s=new Date(o).getTime(),a=new Date(i).getTime();this.result=null!==s&&s>=a}else if(e.indexOf(r)>0){const n=r;let o=e.substring(0,e.indexOf(n)).trim(),i=e.substring(e.indexOf(n)+n.length).trim();t&&"DATE"===t&&o.indexOf(":")>0&&(o=o.substring(0,o.indexOf(":"))),t&&"DATE"===t&&i.indexOf(":")>0&&(i=i.substring(0,i.indexOf(":")));const s=new Date(o).getTime(),a=new Date(i).getTime();this.result=null!==s&&s<=a}else if(e.indexOf(o)>0){const n=o;let r=e.substring(0,e.indexOf(n)).trim(),i=e.substring(e.indexOf(n)+n.length).trim();t&&"DATE"===t&&r.indexOf(":")>0&&(r=r.substring(0,r.indexOf(":"))),t&&"DATE"===t&&i.indexOf(":")>0&&(i=i.substring(0,i.indexOf(":")));const s=new Date(r).getTime(),a=new Date(i).getTime();this.result=null!==s&&s>a}else if(e.indexOf(i)>0){const n=i;let r=e.substring(0,e.indexOf(n)).trim(),o=e.substring(e.indexOf(n)+n.length).trim();t&&"DATE"===t&&r.indexOf(":")>0&&(r=r.substring(0,r.indexOf(":"))),t&&"DATE"===t&&o.indexOf(":")>0&&(o=o.substring(0,o.indexOf(":")));const s=new Date(r).getTime(),a=new Date(o).getTime();this.result=null!==s&&s<a}else if(e.indexOf(s)>0){const n=s;let r=e.substring(0,e.indexOf(n)).trim(),o=e.substring(e.indexOf(n)+n.length).trim();t&&"DATE"===t&&r.indexOf(":")>0&&(r=r.substring(0,r.indexOf(":"))),t&&"DATE"===t&&o.indexOf(":")>0&&(o=o.substring(0,o.indexOf(":")));const i=new Date(r).getTime(),a=new Date(o).getTime();this.result=null!==i&&i!==a}else if(e.indexOf(a)>0){const n=a;let r=e.substring(0,e.indexOf(n)).trim(),o=e.substring(e.indexOf(n)+n.length).trim();t&&"DATE"===t&&r.indexOf(":")>0&&(r=r.substring(0,r.indexOf(":"))),t&&"DATE"===t&&o.indexOf(":")>0&&(o=o.substring(0,o.indexOf(":")));const i=new Date(r).getTime(),s=new Date(o).getTime();this.isEQEmptyValue(i,n,s)?this.result=!0:this.result=null!==i&&i===s}}}class a extends r{constructor(e){super();const t="operator.text.neq",n="operator.text.eq";if(e.indexOf(t)>0){const n=t,r=e.substring(0,e.indexOf(n)).trim(),o=e.substring(e.indexOf(n)+n.length).trim();this.result=null!==r&&r!==o}else if(e.indexOf(n)>0){const t=n,r=e.substring(0,e.indexOf(t)).trim(),o=e.substring(e.indexOf(t)+t.length).trim();this.isEQEmptyValue(r,t,o)?this.result=!0:this.result=null!==r&&r===o}else if(e.indexOf("operator.text.contain.not")>0){const t="operator.text.contain.not",n=e.substring(0,e.indexOf(t)).trim(),r=e.substring(e.indexOf(t)+t.length).trim();this.result=null!==n&&!n.includes(r)}else if(e.indexOf("operator.text.contain")>0){const t="operator.text.contain",n=e.substring(0,e.indexOf(t)).trim(),r=e.substring(e.indexOf(t)+t.length).trim();this.isEQEmptyValue(n,t,r)?this.result=!0:this.result=null!==n&&n.includes(r)}}}function l(e){switch(e){case"TEXT":return a;case"DOUBLE":case"FLOAT":return o;case"INTEGER":case"LONG":return i;case"DATE":case"TIME":return s;default:return a}}},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1),n(1);var o=r(n(554)),i=r(n(778)),s=r(n(780));o.default.install=function(e){e.component(o.default.name,o.default),e.component(s.default.name,s.default)};var a={WorkflowEditor:o.default,WorkflowHistory:s.default,wfEditorStore:i.default};t.default=a},function(e,t,n){"use strict";n.r(t);var r=n(294),o=n(93);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(776);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"37937af4",null);t.default=a.exports},function(e,t,n){var r=n(37),o=n(39),i=n(375);e.exports=function(e){return function(t,n,s){var a,l=r(t),c=o(l.length),u=i(s,c);if(e&&n!=n){for(;c>u;)if((a=l[u++])!=a)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){e.exports=n(77)("native-function-to-string",Function.toString)},function(e,t,n){var r=n(67)("meta"),o=n(27),i=n(36),s=n(26).f,a=0,l=Object.isExtensible||function(){return!0},c=!n(24)((function(){return l(Object.preventExtensions({}))})),u=function(e){s(e,r,{value:{i:"O"+ ++a,w:{}}})},d=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return c&&d.NEED&&l(e)&&!i(e,r)&&u(e),e}}},function(e,t,n){var r=n(64),o=n(254),i=n(255);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var s,a=n(e),l=i.f,c=0;a.length>c;)l.call(e,s=a[c++])&&t.push(s);return t}},function(e,t,n){var r=n(26),o=n(21),i=n(64);e.exports=n(28)?Object.defineProperties:function(e,t){o(e);for(var n,s=i(t),a=s.length,l=0;a>l;)r.f(e,n=s[l++],t[n]);return e}},function(e,t,n){var r=n(561);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(27),o=n(378),i=n(16)("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var r=n(80),o=n(254),i=n(21),s=n(17).Reflect;e.exports=s&&s.ownKeys||function(e){var t=r.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(256),o=n(68),i=n(79),s={};n(40)(s,n(16)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(s,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(36),o=n(53),i=n(251)("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},function(e,t,n){var r=n(27),o=n(567).set;e.exports=function(e,t,n){var i,s=t.constructor;return s!==n&&"function"==typeof s&&(i=s.prototype)!==n.prototype&&r(i)&&o&&o(e,i),e}},function(e,t,n){var r=n(27),o=n(21),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(48)(Function.call,n(69).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){var r=n(22),o=n(54),i=n(24),s=n(569),a="["+s+"]",l=RegExp("^"+a+a+"*"),c=RegExp(a+a+"*$"),u=function(e,t,n){var o={},a=i((function(){return!!s[e]()||"​…"!="​…"[e]()})),l=o[e]=a?t(d):s[e];n&&(o[n]=l),r(r.P+r.F*a,"String",o)},d=u.trim=function(e,t){return e=String(o(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(c,"")),e};e.exports=u},function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(48),o=n(385),i=n(386),s=n(21),a=n(39),l=n(387),c={},u={};(t=e.exports=function(e,t,n,d,f){var p,h,m,v,g=f?function(){return e}:l(e),b=r(n,d,t?2:1),w=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(i(g)){for(p=a(e.length);p>w;w++)if((v=t?b(s(h=e[w])[0],h[1]):b(e[w]))===c||v===u)return v}else for(m=g.call(e);!(h=m.next()).done;)if((v=o(m,b,h.value,t))===c||v===u)return v}).BREAK=c,t.RETURN=u},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(17),o=n(389).set,i=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,l="process"==n(38)(s);e.exports=function(){var e,t,n,c=function(){var r,o;for(l&&(r=s.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(l)n=function(){s.nextTick(c)};else if(!i||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var u=a.resolve(void 0);n=function(){u.then(c)}}else n=function(){o.call(r,c)};else{var d=!0,f=document.createTextNode("");new i(c).observe(f,{characterData:!0}),n=function(){f.data=d=!d}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(17).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){var r=n(21),o=n(27),i=n(390);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){var r=n(34);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(17),o=n(26),i=n(28),s=n(16)("species");e.exports=function(e){var t=r[e];i&&t&&!t[s]&&o.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){n(28)&&"g"!=/./g.flags&&n(26).f(RegExp.prototype,"flags",{configurable:!0,get:n(259)})},function(e,t,n){var r=n(27),o=n(38),i=n(16)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){"use strict";var r=n(262);n(22)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t,n){n(253)("getOwnPropertyNames",(function(){return n(379).f}))},function(e,t,n){e.exports={default:n(584),__esModule:!0}},function(e,t,n){n(585),e.exports=n(44).Object.getPrototypeOf},function(e,t,n){var r=n(82),o=n(394);n(395)("getPrototypeOf",(function(){return function(e){return o(r(e))}}))},function(e,t,n){var r=n(587);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===o}(e)}(e)};var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e,t){var n;return t&&!0===t.clone&&r(e)?a((n=e,Array.isArray(n)?[]:{}),e,t):e}function s(e,t,n){var o=e.slice();return t.forEach((function(t,s){void 0===o[s]?o[s]=i(t,n):r(t)?o[s]=a(e[s],t,n):-1===e.indexOf(t)&&o.push(i(t,n))})),o}function a(e,t,n){var o=Array.isArray(t);return o===Array.isArray(e)?o?((n||{arrayMerge:s}).arrayMerge||s)(e,t,n):function(e,t,n){var o={};return r(e)&&Object.keys(e).forEach((function(t){o[t]=i(e[t],n)})),Object.keys(t).forEach((function(s){r(t[s])&&e[s]?o[s]=a(e[s],t[s],n):o[s]=i(t[s],n)})),o}(e,t,n):i(t,n)}a.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return a(e,n,t)}))};var l=a;e.exports=l},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(269),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(){return function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return 1===n.length&&"object"===(0,i.default)(n[0])&&(n=n[0]),n&&n.hasOwnProperty||(n={}),e.replace(a,(function(t,r,o,i){var a=void 0;return"{"===e[i-1]&&"}"===e[i+t.length]?o:null==(a=(0,s.hasOwn)(n,o)?n[o]:null)?"":a}))}};var s=n(616);var a=/(%|)\{([0-9a-zA-Z_]+)\}/g},function(e,t,n){e.exports={default:n(591),__esModule:!0}},function(e,t,n){n(592),n(601),e.exports=n(274).f("iterator")},function(e,t,n){"use strict";var r=n(593)(!0);n(398)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(270),o=n(264);e.exports=function(e){return function(t,n){var i,s,a=String(o(t)),l=r(n),c=a.length;return l<0||l>=c?e?"":void 0:(i=a.charCodeAt(l))<55296||i>56319||l+1===c||(s=a.charCodeAt(l+1))<56320||s>57343?e?a.charAt(l):i:e?a.slice(l,l+2):s-56320+(i-55296<<10)+65536}}},function(e,t,n){"use strict";var r=n(400),o=n(86),i=n(273),s={};n(56)(s,n(60)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(s,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(57),o=n(85),i=n(87);e.exports=n(58)?Object.defineProperties:function(e,t){o(e);for(var n,s=i(t),a=s.length,l=0;a>l;)r.f(e,n=s[l++],t[n]);return e}},function(e,t,n){var r=n(402);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(59),o=n(598),i=n(599);e.exports=function(e){return function(t,n,s){var a,l=r(t),c=o(l.length),u=i(s,c);if(e&&n!=n){for(;c>u;)if((a=l[u++])!=a)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(270),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(270),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(45).document;e.exports=r&&r.documentElement},function(e,t,n){n(602);for(var r=n(45),o=n(56),i=n(271),s=n(60)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<a.length;l++){var c=a[l],u=r[c],d=u&&u.prototype;d&&!d[s]&&o(d,s,c),i[c]=i.Array}},function(e,t,n){"use strict";var r=n(603),o=n(604),i=n(271),s=n(59);e.exports=n(398)(Array,"Array",(function(e,t){this._t=s(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(606),__esModule:!0}},function(e,t,n){n(607),n(613),n(614),n(615),e.exports=n(44).Symbol},function(e,t,n){"use strict";var r=n(45),o=n(49),i=n(58),s=n(267),a=n(399),l=n(608).KEY,c=n(72),u=n(266),d=n(273),f=n(84),p=n(60),h=n(274),m=n(275),v=n(609),g=n(610),b=n(85),w=n(71),y=n(82),k=n(59),_=n(268),x=n(86),A=n(400),C=n(611),T=n(612),E=n(403),O=n(57),P=n(87),S=T.f,M=O.f,F=C.f,R=r.Symbol,I=r.JSON,$=I&&I.stringify,D=p("_hidden"),j=p("toPrimitive"),N={}.propertyIsEnumerable,B=u("symbol-registry"),L=u("symbols"),V=u("op-symbols"),U=Object.prototype,H="function"==typeof R&&!!E.f,W=r.QObject,J=!W||!W.prototype||!W.prototype.findChild,z=i&&c((function(){return 7!=A(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=S(U,t);r&&delete U[t],M(e,t,n),r&&e!==U&&M(U,t,r)}:M,G=function(e){var t=L[e]=A(R.prototype);return t._k=e,t},q=H&&"symbol"==typeof R.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof R},K=function(e,t,n){return e===U&&K(V,t,n),b(e),t=_(t,!0),b(n),o(L,t)?(n.enumerable?(o(e,D)&&e[D][t]&&(e[D][t]=!1),n=A(n,{enumerable:x(0,!1)})):(o(e,D)||M(e,D,x(1,{})),e[D][t]=!0),z(e,t,n)):M(e,t,n)},Y=function(e,t){b(e);for(var n,r=v(t=k(t)),o=0,i=r.length;i>o;)K(e,n=r[o++],t[n]);return e},X=function(e){var t=N.call(this,e=_(e,!0));return!(this===U&&o(L,e)&&!o(V,e))&&(!(t||!o(this,e)||!o(L,e)||o(this,D)&&this[D][e])||t)},Q=function(e,t){if(e=k(e),t=_(t,!0),e!==U||!o(L,t)||o(V,t)){var n=S(e,t);return!n||!o(L,t)||o(e,D)&&e[D][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=F(k(e)),r=[],i=0;n.length>i;)o(L,t=n[i++])||t==D||t==l||r.push(t);return r},ee=function(e){for(var t,n=e===U,r=F(n?V:k(e)),i=[],s=0;r.length>s;)!o(L,t=r[s++])||n&&!o(U,t)||i.push(L[t]);return i};H||(a((R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===U&&t.call(V,n),o(this,D)&&o(this[D],e)&&(this[D][e]=!1),z(this,e,x(1,n))};return i&&J&&z(U,e,{configurable:!0,set:t}),G(e)}).prototype,"toString",(function(){return this._k})),T.f=Q,O.f=K,n(404).f=C.f=Z,n(276).f=X,E.f=ee,i&&!n(83)&&a(U,"propertyIsEnumerable",X,!0),h.f=function(e){return G(p(e))}),s(s.G+s.W+s.F*!H,{Symbol:R});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)p(te[ne++]);for(var re=P(p.store),oe=0;re.length>oe;)m(re[oe++]);s(s.S+s.F*!H,"Symbol",{for:function(e){return o(B,e+="")?B[e]:B[e]=R(e)},keyFor:function(e){if(!q(e))throw TypeError(e+" is not a symbol!");for(var t in B)if(B[t]===e)return t},useSetter:function(){J=!0},useSimple:function(){J=!1}}),s(s.S+s.F*!H,"Object",{create:function(e,t){return void 0===t?A(e):Y(A(e),t)},defineProperty:K,defineProperties:Y,getOwnPropertyDescriptor:Q,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=c((function(){E.f(1)}));s(s.S+s.F*ie,"Object",{getOwnPropertySymbols:function(e){return E.f(y(e))}}),I&&s(s.S+s.F*(!H||c((function(){var e=R();return"[null]"!=$([e])||"{}"!=$({a:e})||"{}"!=$(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(w(t)||void 0!==e)&&!q(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!q(t))return t}),r[1]=t,$.apply(I,r)}}),R.prototype[j]||n(56)(R.prototype,j,R.prototype.valueOf),d(R,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){var r=n(84)("meta"),o=n(71),i=n(49),s=n(57).f,a=0,l=Object.isExtensible||function(){return!0},c=!n(72)((function(){return l(Object.preventExtensions({}))})),u=function(e){s(e,r,{value:{i:"O"+ ++a,w:{}}})},d=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return c&&d.NEED&&l(e)&&!i(e,r)&&u(e),e}}},function(e,t,n){var r=n(87),o=n(403),i=n(276);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var s,a=n(e),l=i.f,c=0;a.length>c;)l.call(e,s=a[c++])&&t.push(s);return t}},function(e,t,n){var r=n(402);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(59),o=n(404).f,i={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return s.slice()}}(e):o(r(e))}},function(e,t,n){var r=n(276),o=n(86),i=n(59),s=n(268),a=n(49),l=n(396),c=Object.getOwnPropertyDescriptor;t.f=n(58)?c:function(e,t){if(e=i(e),t=s(t,!0),l)try{return c(e,t)}catch(e){}if(a(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t){},function(e,t,n){n(275)("asyncIterator")},function(e,t,n){n(275)("observable")},function(e,t,n){"use strict";t.__esModule=!0,t.isEmpty=t.isEqual=t.arrayEquals=t.looseEqual=t.capitalize=t.kebabCase=t.autoprefixer=t.isFirefox=t.isEdge=t.isIE=t.coerceTruthyValueToArray=t.arrayFind=t.arrayFindIndex=t.escapeRegexpString=t.valueEquals=t.generateId=t.getValueByPath=void 0;var r=l(n(617)),o=l(n(620)),i=l(n(269));t.noop=function(){},t.hasOwn=function(e,t){return c.call(e,t)},t.toObject=function(e){for(var t={},n=0;n<e.length;n++)e[n]&&u(t,e[n]);return t},t.getPropByPath=function(e,t,n){for(var r=e,o=(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),i=0,s=o.length;i<s-1&&(r||n);++i){var a=o[i];if(!(a in r)){if(n)throw new Error("please transfer a valid prop path to form item!");break}r=r[a]}return{o:r,k:o[i],v:r?r[o[i]]:null}},t.rafThrottle=function(e){var t=!1;return function(){for(var n=this,r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];t||(t=!0,window.requestAnimationFrame((function(){e.apply(n,o),t=!1})))}},t.objToArray=function(e){if(Array.isArray(e))return e;return h(e)?[]:[e]};var s=l(n(15)),a=n(622);function l(e){return e&&e.__esModule?e:{default:e}}var c=Object.prototype.hasOwnProperty;function u(e,t){for(var n in t)e[n]=t[n];return e}t.getValueByPath=function(e,t){for(var n=(t=t||"").split("."),r=e,o=null,i=0,s=n.length;i<s;i++){var a=n[i];if(!r)break;if(i===s-1){o=r[a];break}r=r[a]}return o};t.generateId=function(){return Math.floor(1e4*Math.random())},t.valueEquals=function(e,t){if(e===t)return!0;if(!(e instanceof Array))return!1;if(!(t instanceof Array))return!1;if(e.length!==t.length)return!1;for(var n=0;n!==e.length;++n)if(e[n]!==t[n])return!1;return!0},t.escapeRegexpString=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var d=t.arrayFindIndex=function(e,t){for(var n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},f=(t.arrayFind=function(e,t){var n=d(e,t);return-1!==n?e[n]:void 0},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!s.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!s.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!s.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==(void 0===e?"undefined":(0,i.default)(e)))return e;var t=["ms-","webkit-"];return["transform","transition","animation"].forEach((function(n){var r=e[n];n&&r&&t.forEach((function(t){e[t+n]=r}))})),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,a.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var n=(0,a.isObject)(e),r=(0,a.isObject)(t);return n&&r?(0,o.default)(e)===(0,o.default)(t):!n&&!r&&String(e)===String(t)}),p=t.arrayEquals=function(e,t){if(t=t||[],(e=e||[]).length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!f(e[n],t[n]))return!1;return!0},h=(t.isEqual=function(e,t){return Array.isArray(e)&&Array.isArray(t)?p(e,t):f(e,t)},t.isEmpty=function(e){if(null==e)return!0;if("boolean"==typeof e)return!1;if("number"==typeof e)return!e;if(e instanceof Error)return""===e.message;switch(Object.prototype.toString.call(e)){case"[object String]":case"[object Array]":return!e.length;case"[object File]":case"[object Map]":case"[object Set]":return!e.size;case"[object Object]":return!(0,r.default)(e).length}return!1})},function(e,t,n){e.exports={default:n(618),__esModule:!0}},function(e,t,n){n(619),e.exports=n(44).Object.keys},function(e,t,n){var r=n(82),o=n(87);n(395)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){e.exports={default:n(621),__esModule:!0}},function(e,t,n){var r=n(44),o=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return o.stringify.apply(o,arguments)}},function(e,t,n){"use strict";t.__esModule=!0,t.isDefined=t.isUndefined=t.isFunction=void 0;var r=i(n(269));t.isString=function(e){return"[object String]"===Object.prototype.toString.call(e)},t.isObject=function(e){return"[object Object]"===Object.prototype.toString.call(e)},t.isHtmlElement=function(e){return e&&e.nodeType===Node.ELEMENT_NODE};var o=i(n(15));function i(e){return e&&e.__esModule?e:{default:e}}var s=function(e){return e&&"[object Function]"==={}.toString.call(e)};"object"===("undefined"==typeof Int8Array?"undefined":(0,r.default)(Int8Array))||!o.default.prototype.$isServer&&"function"==typeof document.childNodes||(t.isFunction=s=function(e){return"function"==typeof e||!1}),t.isFunction=s;t.isUndefined=function(e){return void 0===e},t.isDefined=function(e){return null!=e}},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,o.default)();return e.g={x:200,y:150,width:80,height:40},{attr:{name:i.default.t("workflowEditor.task.newProcess"),code:""},properties:{basicProperties:{admin:"",formVersion:1,formCode:"",processTypeCode:"",systemCode:"",creator:"",customType:"",branchCode:""},permissionSettings:{viewFlowHistory:"",viewSubscribeResult:"",viewVoteResult:""},reminder:{dueDate:1,dueTimeUnit:"day",repeat:1,containTransferUser:!1,containNoticeUser:!1,remindType:"mail",timeUnit:"day",remindTimes:1,noticeType:"",noticeUserCondition:"",transferUserCondition:""},parameterSettings:{doTask:{url:"",parameterName:""},viewForm:{url:"",parameterName:""},startProcess:{url:"",parameterName:"",parameterValue:""},handleEmergency:{url:"",parameterName:""}},events:{event:[]},variables:{variable:[]}},start:{attr:{id:"start"},g:{x:50,y:50,width:48,height:48}},humanTask:e,end:{attr:{id:"end"},g:{x:500,y:300,width:48,height:48}}}};var o=r(n(405)),i=r(n(29))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={workflowEditorPublicModel:{add:"Add",insert:"Insert",delete:"Delete",viewConditions:"View Conditions",agree:"Agree",disagree:"Disagree",andOr:"And / Or",mail:"Mail",message:"Message",App:"App",dingding:"Dingding",determine:"Determine",cancel:"Cancel",choice:"Choice",empty:"Empty",save:"Save",export:"Export",open:"Open",return:"Return",flowChart:"Flow Chart",close:"Close",selectPage:"Select Page",search:"Search",adminSave:"Admin Save",tipTitle:"Tip",i18nSet:"I18n Setting",i18nZh:"Chinese",i18nEn:"English",i18nKey:"I18n Key",subprocessTitle:"Subprocess History"},workflowEditorMessage:{requiredAndMustBeADate:"Required And Must Be A Date",requiredAndMustBeAnInteger:"Required And Must Be An Integer",requiredAndMustBeDecimal:"Required And Must Be Decimal",mustFill:"Must Fill",recordLine:"Record Line {row}",pageRecordLine:"Record in row {row} of page {pageNum}",currentHandlingPersonnel:"Current Handling Personnel",pleaseSelect:"Please Select",pleaseSelectARow:"Please Select A Row",conditionsHaveNotBeenSet:"Conditions Have Not Been Set",viewConditions:"View Conditions",fieldSettings:"Field Settings",valueSetting:"Value Setting",pleaseEnterContent:"Please Enter Content",theFieldNameOrFieldValueInLineCannotBeEmpty:"The Field Name Or Field Value In Line {row} Cannot Be Empty",fieldNameCannotBeEmpty:"Field Name Cannot Be Empty",fieldValueCannotBeEmpty:"Field Value Cannot Be Empty",pleaseEnterASubject:"Please Enter A Subject",selectStandardFields:"Select Standard Fields",pleaseEnterTheRoleName:"Please Enter The Role Name",queryResultIsEmpty:"Query Result Is Empty",selectRole:"Select Role",enterText:"Enter Text",selectField:"Select Field",pleaseSelectPersonnel:"Please Select Personnel",pleaseSelectAValue:"Please Select A Value",pleaseSelectAValueInTheCurrentTab:"Please Select A Value In The Current Tab",variableNameCannotBeEmpty:"Variable Name Cannot Be Empty",variableValueCannotBeEmpty:"Variable Value Cannot Be Empty",variableNameOrValueOnLineCannotBeEmpty:"Variable Name Or Value On Line {row} Cannot Be Empty",whenThereAreMultipleManagers:"When There Are Multiple Managers",duplicateOperationTypeWithLinePleaseReselect:"Duplicate Operation Type With Line {row}, Please Reselect",theOperationTypeOrNameInLineIsEmpty:"The Operation Type Or Name In Line {row} Is Empty",readOnly:"Read Only",pleaseEnterFieldName:"Please Enter Field Name",dataInLineCannotBeEmpty:"{data1} Or {data2} In Line {row} Cannot Be Empty",dataCannotBeEmpty:"{data} Cannot Be Empty",theStartAndEndOfTheFlowDirectionCannotBeTheSame:"The Start And End Of The Flow Direction Cannot Be The Same",onlyConditionJudgmentBranchAndManualJudgmentCanHaveMultipleOutboundFlows:"Only Condition Judgment, Branch And Manual Judgment Can Have Multiple Outbound Flows",startAndEndNodesCannotBeConnectedDirectly:"Start And End Nodes Cannot Be Connected Directly",endNodeCannotHaveOutFlowDirection:"End Node Cannot Have Out Flow Direction",itIsTheSameAsTheExistingLink:"It Is The Same As The Existing Link: {name}",updateSuccessful:"Update Successful",savedSuccessfully:"Saved Successfully",exportSucceeded:"Export Succeeded",pleaseSelectRole:"Please select role",subTableMustInputDatas:"The [{subtable}] subtable must enter data",pleaseEnterTheNameOrCode:"Please Enter The Name Or Describe",updateVersionSuccessful:"Version updated successfully",addVersionSuccessful:"Version added successfully",adminSaveTip:"The version must be added in the following cases:",adminSaveTip1:"1.The process name or code has been modified",adminSaveTip2:"2.The node name or code has been modified",adminSaveTip3:"3.Added node or flow direction",adminSaveTip4:"4.Node or flow direction removed",adminSaveTip5:'Please select "Add Version" or "Update Current Version"?',updateVersion:"Update Current Version",addVersion:"Add Version",pleaseInputCode:"Please input the code first, and then do the international configuration",blankFieldNameOrValue:"Blank Field Name Or Value"},workflowEditor:{main:{tacheType:"Tache Type",straightLine:"Straight Line",curveLine:"Curve Line",brokenLine:"Broken Line"},common:{remove:"Remove",attribute:"Attribute",fieldName:"Field Name(*)",operator:"Operator",value:"Value(*)",name:"Name",fieldValue:"Field Value",separator:"Separator",fillInMethod:"Fill In Method",cover:"Cover",append:"Append",insertToFront:"Insert To Front",fillInTime:"Fill In Time",fillInBeforeHandling:"Fill In Before Handling",fillInAfterHandling:"Fill In After Handling",type:"Type(*)",user:"User",role:"Role",department:"Department",workgroup:"Workgroup",selectFormField:"Select Form Field",notificationMethod:"Notification Method",addressee:"Addressee",theme:"Theme",content:"Content",notifyPersonnel:"Notify Personnel",selectusers:"Select Users",selectDepartment:"Select Department",selectTeam:"Select Team",selectRole:"Select Role",organizationStructure:"Organization Structure",formField:"Form Field",variableName:"Variable Name",variableValue:"Variable Value",selectField:"Select Field"},process:{processInitiator:"Process Initiator",processInitiatorRole:"Process Initiator Role",processInitiatorDepartment:"ProcessInitiator Department",processInitiatorSuperiorDepartment:"Process Initiator Superior Ddepartment",processInitiatorTopDepartment:"Process Initiator Top Department",processInitiatorWorkingGroup:"Process Initiator Working Group",nameOfTheDirectSuperiorOfTheProcessInitiator:"Name Of The Direct Superior Of The Process Initiator",processInitiatorsDirectSuperiorDepartment:"Process initiator`s Direct Superior Department",directSuperiorRoleOfProcessInitiator:"Direct Superior Role Of Process Initiator",ProcessInitiatorsImmediateSuperiorWorkingGroup:"Process Initiator`s Immediate Superior Working Group",nameOfCurrentHandler:"Name Of Current Handler",currentHandlerRole:"Current Handler Role",currentHandlerDepartment:"Current Handler Department",currentHandlerSuperiorDepartment:"Current Handler`s Superior Department",topDepartmentOfCurrentHandler:"Top Department Of current Handler",currentHandlerWorkingGroup:"Current Handler Working Group",nameOfTheImmediateSuperiorOfTheCurrentHandler:"Name Of The Immediate Superior Of The Current Handler",currentHandlerDirectSuperiorDepartment:"Current handler`s Direct Superior Department",currentManagerDirectSuperiorRole:"Current Manager`s Direct Superior Role",workingGroupDirectlyUnderTheCurrentHandler:"Working Group Directly Under The Current Handler",topDepartments:"Top Departments",approvalResults:"Approval Results",totalNnumberOfPersonsWhoDisagreeWithTheCountersignature:"Total Number O Persons Who Disagree With The Countersignature",totalNumberOfCountersignedAndAgreedPersonnel:"Total Number Of Countersigned And Agreed Personnel",percentageOfPersonsWhoDisagreeWithTheCountersignature:"Percntage Of Persons Who Disagree With The Countersignature",percentageOfCountersignedAndAgreedPersonnel:"Percentage Of Countersigned And Agreed Personnel",percentageOfAbstentions:"Percentage Of Abstentions",percentageOfVotesAgainst:"Percentage Of Votes Against",percentageOfAffirmativeVotes:"Percentage Of Affirmative Votes",totalNumberOfAbstentions:"Total Number Of Abstentions",totalVotesAgainst:"Total Votes Against",totalNumberOfAffirmativeVotes:"Total Number Of Affirmative Votes",standardFields:"Standard Fields",perhaps:"Perhaps",also:"Also",greaterThan:"Greater Than",lessThan:"Less Than",beEqualTo:"Be Equal To",notGreaterThan:"Not Greater Than",notLessThan:"Not Less Than",notEqualTo:"Not Equal To",contain:"Contain",notIncluded:"Not Included",laterThan:"Later Than",earlierThan:"Earlier Than",noLaterThan:"No Later Than",noEarlierThan:"No Earlier Than",handlingTimeOfThisLink:"Handling Time Of This Link",handlerIDOfThisLink:"Handler ID Of This Link",currentHandlerPrincipalDepartmentID:"Current Handler Principal Department ID",iDOfTheImmediateSuperiorOfTheCurrentHandler:"ID Of The Immediate Superior Of The Current Handler",iDOfTheSuperiorDepartmentDirectlyUnderTheCurrentHandler:"ID Of The Superior Department Directly Under The Current Handler",loginNameOfTheHandlerInThisLink:"Login Name Of The Handler In This Link",NameOfCurrentHandler:"Name Of Current Handler",CurrentHandlerDepartment:"Current Handler Department",CurrentHandlerDepartmentID:"Current Handler Department ID",CurrentManagersPrincipalDepartment:"Current Manager`s Principal Department",iDOfSsuperiorDepartmentOfCurrentHandler:"ID Of Superior Department Of Current Handler",CurrentHandlersSuperiorDepartment:"Current Handler`s Superior Department",TopDepartmentOfCurrentHandler:"Top Department Of Current Handler",TopDepartmentIDOfCurrentHandler:"Top Department ID Of Current Handler",CurrentHandlerRole:"Current Handler Role",CurrentHandlerRoleID:"Current Handler Role ID",CurrentHandlerWorkingGroupID:"Current Handler Working Group ID",LoginNameOfTheImmediateSuperiorOfTheCurrentHandler:"Login Name Of The Immediate Superior Of The Current Handler",currentHandlersDirectSuperiorDepartment:"Current handler`s Direct Superior Department",currentManagersDirectSuperiorDepartment:"Current Manager`s Direct Superior Department",currentManagersDirectSuperiorRole:"Current manager`s Direct Superior Role",currentHandlersDirectSuperiorRoleID:"Current Handler`s Direct Superior Role ID",currentManagersDirectSuperiorWork:"Current Manager`s Direct Superior Work",iDOfTheWorkingGroupDirectlyUnderTheCurrentHandler:"ID Of The Working Group Directly Under The Current Handler",operationsPerformedInThisPhase:"Operations Performed In This Phase",handlerIDOfThePreviousLink:"Handler ID Of The Previous Link",lastLinkHandlerLogin:"Last Link Handler Login",nameOfHandlerInThePreviousLink:"Name Of Handler In The Previous Link",currentManagersIdDirectlyUnderTheSuperior:"Current Manager`s Id Directly Under The Ssuperior",appointmentOfHandlerInThePreviousLink:"Appointment Of Handler In The Previous Link",personSpecifiedInFormField:"Person Specified In Form Field",filterByCriteria:"Filter by Criteria",additionalConditions:"Additional Conditions",handlingYyThePersonnelOfTheDepartmentOfTheInitiator:"Handling By The Personnel Of The Department Of The Initiator",personnelOfTheDepartmentWhereTheInitiatorWorksParticipateInTheHandling:"Personnel Of The Department Where The Initiator Works Participate In The Handling",selectSpecificHandler:"Select Specific Handler",selectOneFromDept:"Only one person is required to handle the same department",generateOneInstanceFromDept:"Generate an instance from the same department",selectionMethod:"Selection Method",manualSelection:"Manual Selection",autoSelect:"Auto Select",callbackURL:"Callback URL",cannotBeEmpty:"Cannot Be Empty",selectURL:"Select URL",fieldName:"Field Name",processAdministrator:"Process Administrator",currentHandler:"Current Handler",allHandlingPersonnel:"All Handling Personnel",designatedPersonnel:"Designated Personnel",listOfDesignatedPersons:"List Of Designated Persons",processName:"Process Name",processCode:"Process Code",creater:"Creater",correspondingForm:"Corresponding Form",processType:"Process Type",system:"System",affiliatedBranch:"Affiliated Branch",customCategory:"Custom Category",initiationProcess:"Initiation Process",deleteProcess:"Delete Process",cancelProcess:"Cancel Process",endProcess:"End Process",pauseProcess:"Pause Process",continueTheProcess:"Continue The Process",jumpLink:"Jump Link",modificationHandler:"Modification Handler",addHandler:"Add Handler",decreaseOofHandler:"Decrease Of Handler",appointedTask:"Appointed Task",returnTask:"Return Task",retrieveTask:"Retrieve Task",processTaskParameterSettings:"Process Task Parameter Settings",uRLForProcessingTask:"URL For Processing Task",parametersForReceivingTaskID:"Parameters For Receiving Task ID",viewFormParameterSettings:"View Form Parameter Settings",viewTheURLOfTheForm:"View The URL Of The Form",parametersOfReceivingEntityID:"Parameters Of Receiving Entity ID",emergencyTreatmentParameterSetting:"Emergency Treatment Parameter Setting",uRLOfEmergencyHandling:"URL Of Emergency Handling",initiateProcessParameterSettings:"Initiate Process Parameter Settings",uRLOfTheInitiatingProcess:"URL Of The Initiating Process",parametersForReceivingProcessName:"Parameters For Receiving Process Name",customParameterValue:"Custom Parameter Value",ViewFlowHistoryPersonnel:"View Flow History Personnel",ViewCountersignatureResultPersonnel:"View Countersignature Result Personnel",ViewVotingResultsBy:"View Voting Results By",name:"Name",code:"Code",subprocess:"Subprocess",transferValueFromMainFormToSubForm:"Transfer Value From Main Form To Sub Form",fieldsOfTheMainForm:"Fields Of The Main Form",fieldsOfSubform:"Fields Of Subform",subformReturnsResultsToMainForm:"Subform Returns Results To Main Form",eventsTriggeredBeforeStartingASubprocess:"Events Triggered Before Starting A Subprocess",triggerSubprocessEndEvent:"Trigger Subprocess End Event",setTheHandlerOfTheFirstPhaseOfTheSubProcess:"Set The Handler Of The First Phase Of The Sub Process",keepTheHandlerUnchangedWhenTheTargetLinkIsHandledRepeatedly:"Keep The Handler Unchanged When The Target Link Is Handled Repeatedly",branchingCondition:"Branching Condition",processProperties:"Process Properties",basicProperties:"Basic Properties",permissionSettings:"Permission Settings",notificationSettings:"Notification Settings",sendNotificationAfterProcessEnds:"Send Notification After Process Ends",reminderSettings:"Reminder Settings",parameterSsetting:"Parameter Setting",event:"Event",processVariables:"Process Variables",propertiesOfSubprocesses:"Properties Of Subprocesses",settingOfHandler:"Setting Of Handler",eventProcessing:"Event Processing",sponsorsImmediateSuperior:"Sponsor`s Immediate Superior",sponsorsSuperiorDepartment:"Sponsor`s Superior Department",sponsorTopDepartment:"Sponsor Top Department",superiorDepartmentDirectlyUnderTheInitiator:"Superior Department Directly Under The Initiator",sponsorsImmediateSuperiorWorkingGroup:"Sponsor`s Immediate Superior Working Group",lastLinkHandlerDepartment:"Last Link Handler Department",previousLinkHandlerSuperiorDepartment:"Previous Link Handler Superior Department",topDepartmentOfHandlerInThePreviousLink:"Top Department Of Handler In The Previous Link",previousLinkHandlersDirectSuperiorDepartment:"Previous Link Handler`s Direct Superior Department",previousLinkHandlerWorkingGroup:"Previous Link Handler Working Group",workingGroupDirectlyUnderTheManagerInThePreviousLink:"Working Group Directly Under The Manager In The Previous Link",getSubprocessEntityBean:"Get subprocess entity bean",getSubprocessEntityBeanPlaceholder:"The format is:xxxServiceImpl,for example:exampleServiceImpl",getSubprocessEntityBeanInfo:'The bean needs to implement the interface "tech.imatrix.wf.core.OnStartingSubProcess"',isNull:"Is Null",isNotNull:"Is Not Null",defaultMailTemplate:"Default Mail Template",trustTask:"Trust Task",subprocessIsSharedForm:"Main process and subprocess shared form"},task:{newCc:"New Cc",judge:"Judge",end:"End",branch:"Branch",manualJudgment:"Manual Judgment",newTask:"New Task",converge:"Converge",newProcess:"New Process",start:"Start",subprocess:"Subprocess",needToBeUrged:"Need To Be Urged",urgingMethod:"Urging Method",timeLimitForHandling:"Time Limit For Handling",day:"Day",urgingInterval:"Urging Interval",hour:"Hour",alwaysUrging:"Always Urging",limitedUrging:"Limited Urging",timesOfUrging:"Times Of Urging",includingHandoverPersonnel:"Including Handover Personnel",handoverPersonnel:"Handover Personnel",includeNotifyPeople:"Include Notify People",name:"Name",code:"Code",taskTitle:"Task Title",emailNotification:"Email Notification",handlingPage:"Handling Page",remarks:"Remarks",allowViews:"Allow Views",allowToViewCountersignatureResults:"Allow To View Countersignature Results",allowToViewVotingResults:"Allow To View Voting Results",allowToViewFlowHistory:"Allow To View Flow History",allowFormsToPrint:"Allow Forms To Print",attachmentAuthority:"Attachment Authority",downloadAttachment:"Download Attachment",bodyPermission:"Body Permission(Temporarily Closed)",additionalConditions:"Additional Conditions",setConditions:"Set Conditions",HandlingMethod:"Handling Method",editorial:"Editorial",approvalType:"Approval Type",countersign:"Countersign",voting:"Voting",anyOneCanHandleIt:"Any One Can Handle It",forAll:"For All",passRate:"Pass Rate",modifyOperationName:"Modify Operation Name",operationType:"Operation Type",visibleOrNot:"Visible Or Not",save:"Save",submission:"Submission",agree:"Agree",disagree:"Disagree",favor:"Favor",opposition:"Opposition",waiver:"Waiver",receive:"Receive",giveUp:"Give Up",additionalSignature:"Additional Signature",reductionOfSignature:"Reduction Of Signature",assignTask:"Assign Task",copyTask:"Copy Task",retrieveTask:"Retrieve Task",exportReport:"Export Report",readTask:"Read",selectEditableField:"Select Editable Field",optionalField:"Optional Field",selectedFields:"Selected Fields",editingMethod:"Editing Method",propertyName:"Property Name",condition:"Condition",nothing:"Nothing",beforeSubmission:"Before Submission",executionURL:"Execution URL",errorMessage:"Error Message",afterSubmission:"After Submission",allowEditingForms:"Allow Editing Forms",commentsAllowed:"Comments Allowed",commentsAreRequired:"Comments Are Required",deletePermission:"Delete Permission",addAttachment:"Add Attachment",deleteAttachment:"Delete Attachment",propertiesOfCCTask:"Properties Of CC Task",basicProperties:"Basic Properties",settingOfHandler:"Setting Of Handler",permissionSettings:"Permission Settings",attributeOfConditionJudgment:"Attribute Of Condition Judgment",allBranchFlows:"All Branch Flows",targetLink:"Target Link",propertiesOfBranches:"Properties Of Branches",attributesOfManualJudgment:"Attributes of manual Judgment",linkAttribute:"Link Attribute",autoFillInFieldSettings:"Auto Fill In Field Settings",reminderSettings:"Reminder Settings",eventProcessing:"Event Processing",linkVariable:"Link Variable",convergedProperties:"Converged Properties",humanTask:"Human Task",conditionJudgment:"Condition Judgment",cCtask:"CC Task",canItBeRejected:"Can It Be Rejected",selectMailTemplate:"Select Mail Template",selectTemplate:"Select Template"},transition:{flowProperties:"Flow Properties",basicProperties:"Basic Properties",notificationSettings:"Notification Settings",sendNotificationAfterFlow:"Send Notification After Flow",autoFillInFieldSettings:"Auto Fill In Field Settings",eventProcessing:"Event Processing",triggerFlowThroughEvent:"Trigger Flow Through Event",beanName:"Bean Name"},condition:{combinationCondition:"Combination Condition",currentUserId:"Current User ID",currentUserLogin:"Current User Login",currentUserName:"Current User Name",fillInManually:"Fill In Manually",environmentVariable:"Environment Variable",databaseFields:"Database fields",requestParameters:"Request Parameters",currentTime:"Current Time",currentDate:"Current Date",currentTransactor:"Current Transactor",currentTransactorName:"Current Transactor Name",currentTransactorId:"Current Transactor Id",currentTransactorMainDepartmentId:"Current Transactor Main Department Id",currentTransactorMainDepartment:"Current Transactor Main Department",currentTransactorRoleId:"Current Transactor Role Id",currentTransactorRole:"Current Transactor Role",currentTransactorWorkGroupId:"Current Transactor Work Group Id",currentTransactorWorkGroup:"Current Transactor Work Group",whenTheVariableIsEmpty:"When The Variable Is Empty",ignore11:"Ignore (1 = 1)",nonConformity:"Non Conformity (1 < > 1)",currentHandler:"Current Handler",currentTaskClient:"Current Task Client",currentAssignor:"Current Assignor",rowsCanBeAdded:"Rows Can Be Added",deleteLine:"Delete Line",modifiableHistoricalData:"Modifiable Historical Data",controlByField:"Control By Field",allReadOnly:"All Read Only",allRequired:"All Required",mainTableField:"Main Table Field",linkName:"Link Name",linkCode:"Link Code",taskFields:"Task Fields",systemParameter:"System Parameter",personnelScope:"Personnel Scope",mainTableConditions:"Main Table Conditions",subtableCondition:"Subtable Condition",accessControl:"Access Control",formBindingModel:"Form Binding Model",allFields:"All Fields"}}};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={workflowEditorPublicModel:{add:"添加",insert:"插入",delete:"删除",viewConditions:"查看条件",agree:"同意",disagree:"不同意",andOr:"并且/或者",mail:"邮件",message:"短信",App:"App",dingding:"钉钉",determine:"确定",cancel:"取消",choice:"选择",empty:"清空",save:"保存",export:"导出",open:"打开",return:"返回",flowChart:"流程图",close:"关闭",selectPage:"选择页面",search:"查询",adminSave:"管理员保存",tipTitle:"提示",i18nSet:"国际化设置",i18nZh:"中文",i18nEn:"英文",i18nKey:"国际化key",subprocessTitle:"子流程流转历史"},workflowEditorMessage:{requiredAndMustBeADate:"必填且必须为日期",requiredAndMustBeAnInteger:"必填且必须为整数",requiredAndMustBeDecimal:"必填且必须为小数",mustFill:"必填",recordLine:"第{row}行记录",pageRecordLine:"第{pageNum}页第{row}行记录",currentHandlingPersonnel:"当前办理人员",pleaseSelect:"请选择",pleaseSelectARow:"请选中一行",conditionsHaveNotBeenSet:"还未设置条件",viewConditions:"查看条件",fieldSettings:"字段设置",valueSetting:"值设置",pleaseEnterContent:"请输入内容",theFieldNameOrFieldValueInLineCannotBeEmpty:"第{row}行的字段名或者字段值不能为空",fieldNameCannotBeEmpty:"字段名不能为空",fieldValueCannotBeEmpty:"字段值不能为空",pleaseEnterASubject:"请输入主题",selectStandardFields:"选择标准字段",pleaseEnterTheRoleName:"请输入角色名称",queryResultIsEmpty:"查询结果为空",selectRole:"选择角色",enterText:"输入文字",selectField:"选择字段",pleaseSelectPersonnel:"请选择人员",pleaseSelectAValue:"请选择值",pleaseSelectAValueInTheCurrentTab:"请在当前页签中选中一个值",variableNameCannotBeEmpty:"变量名不能为空",variableValueCannotBeEmpty:"变量值不能为空",variableNameOrValueOnLineCannotBeEmpty:"第{row}行的变量名或者变量值不能为空",whenThereAreMultipleManagers:"多个办理人时",duplicateOperationTypeWithLinePleaseReselect:"与第{row}行的操作类型重复了,请重新选择",theOperationTypeOrNameInLineIsEmpty:"第{row}行的操作类型或者名称为空",readOnly:"只读",pleaseEnterFieldName:"请输入字段名",dataInLineCannotBeEmpty:"第{row}行的{data1}或{data2}不能为空",dataCannotBeEmpty:"{data}不能为空",theStartAndEndOfTheFlowDirectionCannotBeTheSame:"流向的起点和终点不能相同",onlyConditionJudgmentBranchAndManualJudgmentCanHaveMultipleOutboundFlows:"只有条件判断、分支以及人工判断才能有多条外出流向",startAndEndNodesCannotBeConnectedDirectly:"开始节点和结束节点不能直接相连",endNodeCannotHaveOutFlowDirection:"结束节点不能有外出流向",itIsTheSameAsTheExistingLink:"与已有环节:{name}的编码重复",updateSuccessful:"更新成功",savedSuccessfully:"保存成功",exportSucceeded:"导出成功",pleaseSelectRole:"请选择角色",subTableMustInputDatas:"[{subTable}] 子表必须录入数据",pleaseEnterTheNameOrCode:"请输入字段名或字段描述",updateVersionSuccessful:"成功更新版本",addVersionSuccessful:"成功增加版本",adminSaveTip:"有以下几种情况时必须增加版本:",adminSaveTip1:"1、修改了流程名称或编码",adminSaveTip2:"2、修改了节点名称或编码",adminSaveTip3:"3、增加了节点或流向",adminSaveTip4:"4、移除了节点或流向",adminSaveTip5:"请选择“增加版本”或“更新当前版本”?",updateVersion:"更新当前版本",addVersion:"增加版本",pleaseInputCode:"请先输入编码,再做国际化配置",blankFieldNameOrValue:"字段名或值有空白"},workflowEditor:{main:{tacheType:"环节类型",straightLine:"直线",curveLine:"曲线",brokenLine:"折线"},common:{remove:"移除",attribute:"属性",fieldName:"字段名(*)",operator:"操作符",value:"值(*)",name:"字段名",fieldValue:"字段值",separator:"分隔符",fillInMethod:"填写方式",cover:"覆盖",append:"追加",insertToFront:"插入到最前",fillInTime:"填写时间",fillInBeforeHandling:"办理前填写",fillInAfterHandling:"办理后填写",type:"类别(*)",user:"用户",role:"角色",department:"部门",workgroup:"工作组",selectFormField:"选择表单字段",notificationMethod:"通知方式",addressee:"收件人",theme:"主题",content:"内容",notifyPersonnel:"通知人员",selectusers:"选择用户",selectDepartment:"选择部门",selectTeam:"选择工作组",selectRole:"选择角色",organizationStructure:"组织结构",formField:"表单字段",variableName:"变量名",variableValue:"变量值",selectField:"选择字段"},process:{processInitiator:"流程发起人",processInitiatorRole:"流程发起人角色",processInitiatorDepartment:"流程发起人部门",processInitiatorSuperiorDepartment:"流程发起人上级部门",processInitiatorTopDepartment:"流程发起人顶级部门",processInitiatorWorkingGroup:"流程发起人工作组",nameOfTheDirectSuperiorOfTheProcessInitiator:"流程发起人直属上级姓名",processInitiatorsDirectSuperiorDepartment:"流程发起人直属上级部门",directSuperiorRoleOfProcessInitiator:"流程发起人直属上级角色",ProcessInitiatorsImmediateSuperiorWorkingGroup:"流程发起人直属上级工作组",nameOfCurrentHandler:"当前办理人姓名",currentHandlerRole:"当前办理人角色",currentHandlerDepartment:"当前办理人部门",currentHandlerSuperiorDepartment:"当前办理人上级部门",topDepartmentOfCurrentHandler:"当前办理人顶级部门",currentHandlerWorkingGroup:"当前办理人工作组",nameOfTheImmediateSuperiorOfTheCurrentHandler:"当前办理人直属上级姓名",currentHandlerDirectSuperiorDepartment:"当前办理人直属上级部门",currentManagerDirectSuperiorRole:"当前办理人直属上级角色",workingGroupDirectlyUnderTheCurrentHandler:"当前办理人直属上级工作组",topDepartments:"顶级部门",approvalResults:"审批结果",totalNnumberOfPersonsWhoDisagreeWithTheCountersignature:"会签不同意人员总数",totalNumberOfCountersignedAndAgreedPersonnel:"会签同意人员总数",percentageOfPersonsWhoDisagreeWithTheCountersignature:"会签不同意人员百分比",percentageOfCountersignedAndAgreedPersonnel:"会签同意人员百分比",percentageOfAbstentions:"弃权票百分比",percentageOfVotesAgainst:"反对票百分比",percentageOfAffirmativeVotes:"赞成票百分比",totalNumberOfAbstentions:"弃权票总数",totalVotesAgainst:"反对票总数",totalNumberOfAffirmativeVotes:"赞成票总数",standardFields:"标准字段",perhaps:"或者",also:"并且",greaterThan:"大于",lessThan:"小于",beEqualTo:"等于",notGreaterThan:"不大于",notLessThan:"不小于",notEqualTo:"不等于",contain:"包含",notIncluded:"不包含",laterThan:"晚于",earlierThan:"早于",noLaterThan:"不晚于",noEarlierThan:"不早于",handlingTimeOfThisLink:"本环节办理时间",handlerIDOfThisLink:"本环节办理人id",currentHandlerPrincipalDepartmentID:"当前办理人正职部门id",iDOfTheImmediateSuperiorOfTheCurrentHandler:"当前办理人直属上级id",iDOfTheSuperiorDepartmentDirectlyUnderTheCurrentHandler:"当前办理人直属上级正职部门id",loginNameOfTheHandlerInThisLink:"本环节办理人登录名",NameOfCurrentHandler:"当前办理人姓名",CurrentHandlerDepartment:"当前办理人部门",CurrentHandlerDepartmentID:"当前办理人部门id",CurrentManagersPrincipalDepartment:"当前办理人正职部门",iDOfSsuperiorDepartmentOfCurrentHandler:"当前办理人上级部门id",CurrentHandlersSuperiorDepartment:"当前办理人上级部门",TopDepartmentOfCurrentHandler:"当前办理人顶级部门",TopDepartmentIDOfCurrentHandler:"当前办理人顶级部门id",CurrentHandlerRole:"当前办理人角色",CurrentHandlerRoleID:"当前办理人角色id",CurrentHandlerWorkingGroupID:"当前办理人工作组id",LoginNameOfTheImmediateSuperiorOfTheCurrentHandler:"当前办理人直属上级登录名",currentHandlersDirectSuperiorDepartment:"当前办理人直属上级部门",currentManagersDirectSuperiorDepartment:"当前办理人直属上级正职部门",currentManagersDirectSuperiorRole:"当前办理人直属上级角色",currentHandlersDirectSuperiorRoleID:"当前办理人直属上级角色id",currentManagersDirectSuperiorWork:"当前办理人直属上级工作",iDOfTheWorkingGroupDirectlyUnderTheCurrentHandler:"当前办理人直属上级工作组id",operationsPerformedInThisPhase:"本环节执行的操作",handlerIDOfThePreviousLink:"上一环节办理人id",lastLinkHandlerLogin:"上一环节办理人登录名",nameOfHandlerInThePreviousLink:"上一环节办理人姓名",currentManagersIdDirectlyUnderTheSuperior:"当前办理人直属上级部门id",appointmentOfHandlerInThePreviousLink:"上一环节办理人指定",personSpecifiedInFormField:"表单字段中指定的人员",filterByCriteria:"按条件筛选",additionalConditions:"附加条件",handlingYyThePersonnelOfTheDepartmentOfTheInitiator:"发起人所在部门人员办理",personnelOfTheDepartmentWhereTheInitiatorWorksParticipateInTheHandling:"发起人所在部门人员参与办理",selectSpecificHandler:"选择具体办理人",selectOneFromDept:"同一部门仅需一人办理",generateOneInstanceFromDept:"同一部门生成一个实例",selectionMethod:"选择方式",manualSelection:"人工选择",autoSelect:"自动选择",callbackURL:"回调URL",cannotBeEmpty:"不能为空",selectURL:"选人URL",fieldName:"字段名称",processAdministrator:"流程管理员",currentHandler:"当前办理人",allHandlingPersonnel:"所有办理人员",designatedPersonnel:"指定人员",listOfDesignatedPersons:"指定人员列表",processName:"流程名称",processCode:"流程编码",creater:"创建人",correspondingForm:"对应表单",processType:"流程类型",system:"所属系统",affiliatedBranch:"所属分支机构",customCategory:"自定义类别",initiationProcess:"发起流程",deleteProcess:"删除流程",cancelProcess:"取消流程",endProcess:"结束流程",pauseProcess:"暂停流程",continueTheProcess:"继续流程",jumpLink:"跳转环节",modificationHandler:"修改办理人",addHandler:"增加办理人",decreaseOofHandler:"减少办理人",appointedTask:"指派任务",returnTask:"退回任务",retrieveTask:"取回任务",processTaskParameterSettings:"办理任务参数设置",uRLForProcessingTask:"办理任务的url",parametersForReceivingTaskID:"接收任务id的参数",viewFormParameterSettings:"查看表单参数设置",viewTheURLOfTheForm:"查看表单的url",parametersOfReceivingEntityID:"接收实体id的参数",emergencyTreatmentParameterSetting:"应急处理参数设置",uRLOfEmergencyHandling:"应急处理的url",initiateProcessParameterSettings:"发起流程参数设置",uRLOfTheInitiatingProcess:"发起流程的url",parametersForReceivingProcessName:"接收流程名称的参数",customParameterValue:"自定义参数值",ViewFlowHistoryPersonnel:"查看流转历史人员",ViewCountersignatureResultPersonnel:"查看会签结果人员",ViewVotingResultsBy:"查看投票结果人员",name:"名称",code:"编码",subprocess:"子流程",transferValueFromMainFormToSubForm:"主表单给子表单传值",fieldsOfTheMainForm:"主表单的字段",fieldsOfSubform:"子表单的字段",subformReturnsResultsToMainForm:"子表单返回结果给主表单",eventsTriggeredBeforeStartingASubprocess:"启动子流程前事件",triggerSubprocessEndEvent:"触发子流程结束事件",setTheHandlerOfTheFirstPhaseOfTheSubProcess:"设置子流程第一环节办理人",keepTheHandlerUnchangedWhenTheTargetLinkIsHandledRepeatedly:"目标环节重复办理时保持办理人不变",branchingCondition:"分支条件",processProperties:"流程属性",basicProperties:"基本属性",permissionSettings:"权限设置",notificationSettings:"通知设置",sendNotificationAfterProcessEnds:"流程结束后发送通知",reminderSettings:"催办设置",parameterSsetting:"参数设置",event:"事件",processVariables:"流程变量",propertiesOfSubprocesses:"子流程的属性",settingOfHandler:"办理人设置",eventProcessing:"事件处理",sponsorsImmediateSuperior:"发起人直属上级",sponsorsSuperiorDepartment:"发起人上级部门",sponsorTopDepartment:"发起人顶级部门",superiorDepartmentDirectlyUnderTheInitiator:"发起人直属上级部门",sponsorsImmediateSuperiorWorkingGroup:"发起人直属上级工作组",lastLinkHandlerDepartment:"上一环节办理人部门",previousLinkHandlerSuperiorDepartment:"上一环节办理人上级部门",topDepartmentOfHandlerInThePreviousLink:"上一环节办理人顶级部门",previousLinkHandlersDirectSuperiorDepartment:"上一环节办理人直属上级部门",previousLinkHandlerWorkingGroup:"上一环节办理人工作组",workingGroupDirectlyUnderTheManagerInThePreviousLink:"上一环节办理人直属上级工作组",getSubprocessEntityBean:"获得子流程实体bean",getSubprocessEntityBeanPlaceholder:"格式为:xxxServiceImpl,例如:exampleServiceImpl",getSubprocessEntityBeanInfo:"该bean需要实现接口tech.imatrix.wf.core.OnStartingSubProcess",isNull:"等于Null",isNotNull:"不等于Null",defaultMailTemplate:"默认邮件模板",trustTask:"委托任务",subprocessIsSharedForm:"主子流程共用表单"},task:{newCc:"新抄送",judge:"判断",end:"结束",branch:"分支",manualJudgment:"人工判断",newTask:"新任务",converge:"汇聚",newProcess:"新流程",start:"开始",subprocess:"子流程",needToBeUrged:"需要催办",urgingMethod:"催办方式",timeLimitForHandling:"办理时限",day:"天",urgingInterval:"催办间隔",hour:"小时",alwaysUrging:"一直催办",limitedUrging:"限次催办",timesOfUrging:"催办次数",includingHandoverPersonnel:"包含移交人员",handoverPersonnel:"移交人员",includeNotifyPeople:"包含通知人员",name:"名称",code:"编码",taskTitle:"任务标题",emailNotification:"邮件通知",handlingPage:"办理页面",remarks:"备注",allowViews:"允许查看意见",allowToViewCountersignatureResults:"允许查看会签结果",allowToViewVotingResults:"允许查看投票结果",allowToViewFlowHistory:"允许查看流转历史",allowFormsToPrint:"允许打印表单",attachmentAuthority:"附件权限",downloadAttachment:"下载附件",bodyPermission:"正文权限(暂不开放)",additionalConditions:"附加条件",setConditions:"设置条件",HandlingMethod:"办理方式",editorial:"编辑式",approvalType:"审批式",countersign:"会签式",voting:"投票式",anyOneCanHandleIt:"任意一人办理即可",forAll:"所有人均需办理",passRate:"通过率",modifyOperationName:"修改操作名称",operationType:"操作类型",visibleOrNot:"是否可见",save:"保存",submission:"提交",agree:"同意",disagree:"不同意",favor:"赞成",opposition:"反对",waiver:"弃权",receive:"领取",giveUp:"放弃",additionalSignature:"加签",reductionOfSignature:"减签",assignTask:"指派",copyTask:"抄送",retrieveTask:"取回",exportReport:"导出报告",readTask:"阅",selectEditableField:"选择可编辑字段",optionalField:"可选字段",selectedFields:"已选字段",editingMethod:"编辑方式",propertyName:"属性名",condition:"条件",nothing:"无",beforeSubmission:"提交前",executionURL:"执行url",errorMessage:"出错信息",afterSubmission:"提交后",allowEditingForms:"允许编辑表单",commentsAllowed:"允许填写意见",commentsAreRequired:"必须填写意见",deletePermission:"删除权限",addAttachment:"添加附件",deleteAttachment:"删除附件",propertiesOfCCTask:"抄送任务的属性",basicProperties:"基本属性",settingOfHandler:"办理人设置",permissionSettings:"权限设置",attributeOfConditionJudgment:"条件判断的属性",allBranchFlows:"所有分支流向",targetLink:"目标环节",propertiesOfBranches:"分支的属性",attributesOfManualJudgment:"人工判断的属性",linkAttribute:"环节属性",autoFillInFieldSettings:"自动填写字段设置",reminderSettings:"催办设置",eventProcessing:"事件处理",linkVariable:"环节变量",convergedProperties:"汇聚的属性",humanTask:"人工任务",conditionJudgment:"条件判断",cCtask:"抄送任务",canItBeRejected:"是否可驳回",selectMailTemplate:"选择邮件模板",selectTemplate:"选择模板"},transition:{flowProperties:"流向属性",basicProperties:"基本属性",notificationSettings:"通知设置",sendNotificationAfterFlow:"流过后发送通知",autoFillInFieldSettings:"自动填写字段设置",eventProcessing:"事件处理",triggerFlowThroughEvent:"触发流过事件",beanName:"bean名称"},condition:{combinationCondition:"组合条件",currentUserId:"当前用户ID",currentUserLogin:"当前用户登录名",currentUserName:"当前用户姓名",fillInManually:"手动填写",environmentVariable:"环境变量",databaseFields:"数据库字段",requestParameters:"请求参数",currentTime:"当前时间",currentDate:"当前日期",currentTransactor:"当前用户登录名",currentTransactorName:"当前用户姓名",currentTransactorId:"当前用户id",currentTransactorMainDepartmentId:"当前用户部门id",currentTransactorMainDepartment:"当前用户部门名称",currentTransactorRoleId:"当前用户角色id",currentTransactorRole:"当前用户角色名称",currentTransactorWorkGroupId:"当前用户工作组id",currentTransactorWorkGroup:"当前用户工作组名称",whenTheVariableIsEmpty:"变量为空时",ignore11:"忽略(1=1)",nonConformity:"不符合(1<>1)",currentHandler:"当前办理人",currentTaskClient:"当前任务委托人",currentAssignor:"当前指派人",rowsCanBeAdded:"可添加行",deleteLine:"可删除行",modifiableHistoricalData:"可修改历史数据",controlByField:"按字段控制",allReadOnly:"全部只读",allRequired:"全部必填",mainTableField:"主表字段",linkName:"环节名称",linkCode:"环节编码",taskFields:"任务字段",systemParameter:"系统参数",personnelScope:"人员范围",mainTableConditions:"主表条件",subtableCondition:"子表条件",accessControl:"进行权限控制",formBindingModel:"表单绑定model",allFields:"全部字段"}}};t.default=r},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{attr:{id:"t3",name:o.default.t("workflowEditor.task.judge")},g:{}}};var o=r(n(29))},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{attr:{id:"",name:o.default.t("workflowEditor.task.start")},g:{}}};var o=r(n(29))},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{attr:{id:"",name:o.default.t("workflowEditor.task.end")},g:{}}};var o=r(n(29))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{attr:{id:"",from:"",to:""},g:{},basicProperties:{remark:"",isOriginalUser:!1,condition:""},inform:{informType:"mail",userCondition:"",subject:"",content:""},autoFilledFields:{field:[]},onTransit:!1}}},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{attr:{id:"",name:o.default.t("workflowEditor.task.subprocess")},g:{},processCode:"",processVersion:"",events:{beforeStart:"",end:!1},transactorSettings:{userCondition:"",additionalCondition:{onlyInCreatorDepartment:!1,withCreatorDepartment:!1,selectOneFromMultiple:!1}},parameters:{field:[]},result:{field:[]}}};var o=r(n(29))},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{attr:{id:"",name:o.default.t("workflowEditor.task.branch")},g:{}}};var o=r(n(29))},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{attr:{id:"",name:o.default.t("workflowEditor.task.converge")},g:{}}};var o=r(n(29))},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{attr:{name:o.default.t("workflowEditor.task.manualJudgment")},g:{}}};var o=r(n(29))},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{attr:{id:"",name:o.default.t("workflowEditor.task.newCc")},g:{},basicProperties:{taskTitle:"",remark:"",taskUrl:""},transactorSettings:{userCondition:"",moreTransactor:!1,additionalCondition:{onlyInCreatorDepartment:!1,withCreatorDepartment:!1,selectOneFromMultiple:!1}},permissionSettings:{editForm:{permission:!1,field:[]},viewOpinion:{permission:!1,condition:""},editOpinion:{permission:!1,condition:""},requireOpinion:{permission:!1,condition:""},viewMeetingResult:{permission:!1,condition:""},viewVoteResult:{permission:!1,condition:""},viewFlowHistory:{permission:!1,condition:""},printForm:{permission:!1,condition:""},officialText:{permission:!1},attachment:{permission:!1},deleteInstance:{userCondition:""}}}};var o=r(n(29))},function(e,t,n){"use strict";n.r(t);var r=n(295),o=n(95);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(639);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"9c5970fe",null);t.default=a.exports},function(e,t,n){"use strict";n(408)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"\n.svg-icon {\r\n width: 1em;\r\n height: 1em;\r\n vertical-align: -0.15em;\r\n fill: currentColor;\r\n overflow: hidden;\n}\r\n","",{version:3,sources:["packages/workflow-editor/src/main/icon-svg.vue"],names:[],mappings:";AAwBA;EACA,UAAA;EACA,WAAA;EACA,uBAAA;EACA,kBAAA;EACA,gBAAA;AACA",file:"icon-svg.vue?vue&type=style&index=0&id=45abefee&prod&lang=css&",sourcesContent:['<template>\r\n <svg class="svg-icon" aria-hidden="true">\r\n <use :xlink:href="iconName" />\r\n </svg>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: \'IconSvg\',\r\n props: {\r\n icon: {\r\n type: String,\r\n required: true\r\n }\r\n },\r\n computed: {\r\n iconName() {\r\n return `#icon-${this.icon}`\r\n }\r\n }\r\n}\r\n<\/script>\r\n\r\n<style>\r\n.svg-icon {\r\n width: 1em;\r\n height: 1em;\r\n vertical-align: -0.15em;\r\n fill: currentColor;\r\n overflow: hidden;\r\n}\r\n</style>\r\n']}])},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}},function(e,t,n){"use strict";n(409)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"h3[data-v-9c5970fe]{color:#999999;margin:0;padding:0;font-weight:bold;font-size:18px}.el-button[data-v-9c5970fe]{margin:6px 0;min-width:110px;padding:9px 15px}.el-button i[data-v-9c5970fe]{padding-right:4px}\n","",{version:3,sources:["D:/pack/workflow-editor-dev-dw/packages/workflow-editor/src/main/toolbox.vue"],names:[],mappings:"AACA,oBACE,aAAc,CACd,QAAQ,CACR,SAAS,CACT,gBAAgB,CAChB,cACF,CAAC,4BAEC,YAAa,CACb,eAAgB,CAChB,gBAAgB,CAHlB,8BAKI,iBAAkB",file:"toolbox.vue?vue&type=style&index=0&id=9c5970fe&prod&lang=scss&scoped=true&",sourcesContent:["\nh3{\n color: #999999;\n margin:0;\n padding:0;\n font-weight:bold;\n font-size:18px\n}\n.el-button{\n margin: 6px 0;\n min-width: 110px;\n padding:9px 15px;\n i{\n padding-right: 4px;\n }\n}\n"]}])},function(e,t,n){"use strict";n.r(t);var r=n(297),o=n(99);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(759);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";n(414)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"\n.joint-container{\n stroke-width: 0;\n fill: #fff;\n fill-opacity: 0\n}\n.joint{\n fill:#00f;\n stroke-width: 1px\n}\n.joint-activated{\n fill: #f00;\n stroke-width:1px;\n fill-opacity: 1;\n}\n","",{version:3,sources:["packages/workflow-editor/src/taches/joint.vue"],names:[],mappings:";AAkLA;EACA,eAAA;EACA,UAAA;EACA;AACA;AACA;EACA,SAAA;EACA;AACA;AACA;EACA,UAAA;EACA,gBAAA;EACA,eAAA;AACA",file:"joint.vue?vue&type=style&index=0&id=b703b6d0&prod&lang=css&",sourcesContent:["<template>\r\n <g @mousedown.stop=\"\">\r\n <rect\r\n :x=\"jointContainer.x\"\r\n :y=\"jointContainer.y\"\r\n :class=\"{'joint-container':true,'joint-activated':isActivated}\"\r\n width=\"20\"\r\n height=\"20\"\r\n rx=\"3\"\r\n ry=\"3\"\r\n @mousemove.stop=\"enterJoint\"\r\n @mouseout.stop=\"leaveJoint\"\r\n @mousedown.stop=\"setContextMenuVisible(false);setStartJoint({parent:parent,position:position})\"\r\n @mouseup=\"mouseup\"\r\n />\r\n <circle v-show=\"!isActivated\" :cx=\"joint.x\" :cy=\"joint.y\" r=\"3\" class=\"joint\" />\r\n </g>\r\n</template>\r\n<script>\r\nimport { mapGetters, mapMutations } from 'vuex'\r\nimport { getJoint, processTemplate, findOutgoingTransitionsByTacheId } from '../util'\r\nexport default {\r\n name: 'Joint',\r\n props: {\r\n parent: {\r\n type: Object,\r\n default: null\r\n },\r\n position: {\r\n type: String,\r\n default: null\r\n }\r\n },\r\n data() {\r\n return {\r\n isActivated: false\r\n }\r\n },\r\n computed: {\r\n ...mapGetters('wfEditor', [\r\n 'transitions',\r\n 'startJoint',\r\n 'endJoint',\r\n 'draggerToMove'\r\n ]),\r\n joint() {\r\n return getJoint(this.parent, this.position)\r\n },\r\n jointContainer() {\r\n return {\r\n x: this.joint.x - 10,\r\n y: this.joint.y - 10\r\n }\r\n }\r\n },\r\n methods: {\r\n ...mapMutations('wfEditor', [\r\n 'setStartJoint',\r\n 'setEndJoint',\r\n 'stopDrawingLine',\r\n 'setDraggerToMove',\r\n 'setContextMenuVisible'\r\n ]),\r\n // 流向是否有效的判断规则\r\n isValidTransition(startJoint, endJoint) {\r\n // 防御性编程,没有起点就直接是无效流向了,确保后续代码一定能取到startJoint\r\n if (!startJoint) return false\r\n // 目前不支持transition的起点和终点都在同一个环节上,如果需要自循环的节点,可以改这里\r\n if (startJoint.parent === endJoint.parent) {\r\n this.$alert(this.$t('workflowEditorMessage.theStartAndEndOfTheFlowDirectionCannotBeTheSame'))\r\n return false\r\n }\r\n if (startJoint.parent.type !== 'Decision' && startJoint.parent.type !== 'Fork' && startJoint.parent.type !== 'HumanDecision') {\r\n // 除了分支和条件判断节点外,其他节点只能有一条外出流向,那么新建流向时,这些节点上的流向数量应该为零\r\n let maxCount = 0\r\n // 移动流向的端点后,流向的起始环节上最多只能有一条外出流向\r\n if (this.draggerToMove) {\r\n maxCount = 1\r\n }\r\n const transitions = findOutgoingTransitionsByTacheId(startJoint.parent.id)\r\n if (transitions.length > maxCount) {\r\n this.$alert(this.$t('workflowEditorMessage.onlyConditionJudgmentBranchAndManualJudgmentCanHaveMultipleOutboundFlows'))\r\n return false\r\n }\r\n }\r\n\r\n if (startJoint.parent.type === 'Start' && endJoint.parent.type === 'End') {\r\n this.$alert(this.$t('workflowEditorMessage.startAndEndNodesCannotBeConnectedDirectly'))\r\n return false\r\n }\r\n if (startJoint.parent.type === 'End') {\r\n this.$alert(this.$t('workflowEditorMessage.endNodeCannotHaveOutFlowDirection'))\r\n return false\r\n }\r\n return true\r\n },\r\n mouseup() {\r\n console.log('joint mouseup')\r\n // 如果正在移动transition\r\n if (this.draggerToMove) {\r\n const position = this.draggerToMove.position\r\n const joint = { parent: this.parent, position: this.position }\r\n if (position === 'start') {\r\n this.draggerToMove.owner.startJoint = joint\r\n } else {\r\n this.draggerToMove.owner.endJoint = joint\r\n }\r\n if (this.isValidTransition(this.draggerToMove.owner.startJoint, this.draggerToMove.owner.endJoint)) {\r\n // 改变流向的id和xml的对应信息\r\n const transition = this.draggerToMove.owner\r\n transition.id = 'flow_' + transition.startJoint.parent.id + '_to_' + transition.endJoint.parent.id\r\n transition.ref.attr = {\r\n id: transition.id,\r\n from: transition.startJoint.parent.id,\r\n to: transition.endJoint.parent.id\r\n }\r\n } else {\r\n // 改变端点无效时还原流向\r\n this.draggerToMove.owner.startJoint = this.draggerToMove.originStartJoint\r\n this.draggerToMove.owner.endJoint = this.draggerToMove.originEndJoint\r\n }\r\n\r\n this.setDraggerToMove(null)\r\n } else {\r\n // 说明正在画流向\r\n this.addTransition()\r\n }\r\n },\r\n addTransition() {\r\n const endJoint = { parent: this.parent, position: this.position }\r\n if (this.isValidTransition(this.startJoint, endJoint)) {\r\n this.setEndJoint(endJoint)\r\n const transition = {\r\n id: 'flow_' + this.startJoint.parent.id + '_to_' + this.endJoint.parent.id,\r\n startJoint: this.startJoint,\r\n endJoint: this.endJoint,\r\n isSelected: false,\r\n // controlPoint这个属性也得定义,动态增加的属性vue默认是不监听的(除非用vue.$set方法),就不会有任何动态效果\r\n lineInfo: { type: 'StraightLine', controlPoint: null }\r\n }\r\n transition.ref = processTemplate.newTransition()\r\n transition.ref.attr = {\r\n id: transition.id,\r\n from: this.startJoint.parent.id,\r\n to: this.endJoint.parent.id\r\n }\r\n this.transitions.push(transition)\r\n }\r\n this.stopDrawingLine()\r\n },\r\n enterJoint() {\r\n this.isActivated = true\r\n this.$emit('enter-joint')\r\n },\r\n leaveJoint() {\r\n this.isActivated = false\r\n this.$emit('leave-joint')\r\n }\r\n }\r\n}\r\n<\/script>\r\n<style>\r\n .joint-container{\r\n stroke-width: 0;\r\n fill: #fff;\r\n fill-opacity: 0\r\n }\r\n .joint{\r\n fill:#00f;\r\n stroke-width: 1px\r\n }\r\n .joint-activated{\r\n fill: #f00;\r\n stroke-width:1px;\r\n fill-opacity: 1;\r\n }\r\n</style>\r\n"]}])},function(e,t,n){"use strict";n(415)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"\n.start{\n stroke-width: 0;\n fill:#fff;\n}\n","",{version:3,sources:["packages/workflow-editor/src/taches/start.vue"],names:[],mappings:";AA6EA;EACA,eAAA;EACA,SAAA;AACA",file:"start.vue?vue&type=style&index=0&id=03874b43&prod&lang=css&",sourcesContent:['<template>\r\n <g\r\n @mousedown.stop="startDrag"\r\n @mouseup="endDrag"\r\n @mouseenter="showJoints"\r\n @mouseleave="hideJoints"\r\n @dblclick.stop="setPropertiesEditorFor(\'\')"\r\n >\r\n <rect\r\n :width="model.width"\r\n :height="model.height"\r\n :class="{\'draggable\':true,\'start\':!model.isSelected, \'selected\':model.isSelected}"\r\n :x="model.x"\r\n :y="model.y"\r\n rx="6"\r\n ry="6"\r\n />\r\n <use\r\n xlink:href="#icon-start"\r\n :x="model.x"\r\n :y="model.y"\r\n :width="model.width"\r\n :height="model.height"\r\n fill="#67C23A"\r\n class="draggable"\r\n />\r\n <joint\r\n v-for="position in jointPoints"\r\n :key="position"\r\n :parent="model"\r\n :position="position"\r\n />\r\n </g>\r\n</template>\r\n<script>\r\nimport { mapGetters, mapMutations } from \'vuex\'\r\nimport Joint from \'./joint\'\r\nimport tacheMethods from \'./common-methods\'\r\nexport default {\r\n name: \'Start\',\r\n components: {\r\n Joint\r\n },\r\n props: {\r\n model: {\r\n type: Object,\r\n default: null\r\n }\r\n },\r\n data() {\r\n return {\r\n // 一个tache有上右下左四个连接点,这四个连接点的坐标根据tache的位置和大小计算出来\r\n jointPoints: []\r\n }\r\n },\r\n computed: {\r\n ...mapGetters(\'wfEditor\', [\r\n \'selectedTaches\'\r\n ])\r\n },\r\n methods: {\r\n ...mapMutations(\'wfEditor\', [\r\n \'setPropertiesEditorFor\',\r\n \'setContextMenuVisible\'\r\n ]),\r\n ...tacheMethods\r\n }\r\n}\r\n<\/script>\r\n<style>\r\n .start{\r\n stroke-width: 0;\r\n fill:#fff;\r\n }\r\n</style>\r\n\r\n']}])},function(e,t,n){"use strict";n(418)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"\n.end{\n stroke-width: 0;\n fill:#fff;\n}\n","",{version:3,sources:["packages/workflow-editor/src/taches/end.vue"],names:[],mappings:";AA6EA;EACA,eAAA;EACA,SAAA;AACA",file:"end.vue?vue&type=style&index=0&id=1c373df5&prod&lang=css&",sourcesContent:['<template>\r\n <g\r\n @mousedown.stop="startDrag"\r\n @mouseup="endDrag"\r\n @mouseenter="showJoints"\r\n @mouseleave="hideJoints"\r\n @dblclick.stop="setPropertiesEditorFor(\'\')"\r\n >\r\n <rect\r\n :width="model.width"\r\n :height="model.height"\r\n :class="{\'draggable\':true,\'end\':!model.isSelected, \'selected\':model.isSelected}"\r\n :x="model.x"\r\n :y="model.y"\r\n rx="6"\r\n ry="6"\r\n />\r\n <use\r\n xlink:href="#icon-end"\r\n :x="model.x"\r\n :y="model.y"\r\n :width="model.width"\r\n :height="model.height"\r\n fill="#F56C6C"\r\n class="draggable"\r\n />\r\n <joint\r\n v-for="position in jointPoints"\r\n :key="position"\r\n :parent="model"\r\n :position="position"\r\n />\r\n </g>\r\n</template>\r\n<script>\r\nimport { mapGetters, mapMutations } from \'vuex\'\r\nimport Joint from \'./joint\'\r\nimport tacheMethods from \'./common-methods\'\r\nexport default {\r\n name: \'End\',\r\n components: {\r\n Joint\r\n },\r\n props: {\r\n model: {\r\n type: Object,\r\n default: null\r\n }\r\n },\r\n data() {\r\n return {\r\n // 一个tache有上右下左四个连接点,这四个连接点的坐标根据tache的位置和大小计算出来\r\n jointPoints: []\r\n }\r\n },\r\n computed: {\r\n ...mapGetters(\'wfEditor\', [\r\n \'selectedTaches\'\r\n ])\r\n },\r\n methods: {\r\n ...mapMutations(\'wfEditor\', [\r\n \'setPropertiesEditorFor\',\r\n \'setContextMenuVisible\'\r\n ]),\r\n ...tacheMethods\r\n }\r\n}\r\n<\/script>\r\n<style>\r\n .end{\r\n stroke-width: 0;\r\n fill:#fff;\r\n }\r\n</style>\r\n\r\n']}])},function(e,t,n){"use strict";n(422)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"\n.resizer{\n stroke: blue;\n stroke-width: 1;\n fill: white;\n}\n","",{version:3,sources:["packages/workflow-editor/src/taches/tache-resizer.vue"],names:[],mappings:";AAiFA;EACA,YAAA;EACA,eAAA;EACA,WAAA;AACA",file:"tache-resizer.vue?vue&type=style&index=0&id=284f9b09&prod&lang=css&",sourcesContent:["<template>\r\n <rect\r\n v-if=\"owner.isSelected&&selectedTaches.length==1\"\r\n :x=\"area.x\"\r\n :y=\"area.y\"\r\n :width=\"area.width\"\r\n :height=\"area.height\"\r\n :style=\"{cursor:area.cursor}\"\r\n class=\"resizer\"\r\n @mousedown.stop=\"setContextMenuVisible(false);setResizerToMove({owner,position})\"\r\n @mouseup.stop=\"setResizerToMove(null)\"\r\n />\r\n</template>\r\n<script>\r\nimport { mapGetters, mapMutations } from 'vuex'\r\nexport default {\r\n name: 'TacheResizer',\r\n props: {\r\n owner: {\r\n type: Object,\r\n default: null\r\n },\r\n position: {\r\n type: String,\r\n default: ''\r\n }\r\n },\r\n computed: {\r\n ...mapGetters('wfEditor', [\r\n 'selectedTaches'\r\n ]),\r\n area() {\r\n const width = 8\r\n const height = 8\r\n let x, y\r\n switch (this.position) {\r\n case 'NW':\r\n x = this.owner.x\r\n y = this.owner.y\r\n break\r\n case 'NE':\r\n x = this.owner.x + this.owner.width\r\n y = this.owner.y\r\n break\r\n case 'SW':\r\n x = this.owner.x\r\n y = this.owner.y + this.owner.height\r\n break\r\n case 'SE':\r\n x = this.owner.x + this.owner.width\r\n y = this.owner.y + this.owner.height\r\n break\r\n }\r\n // 环节的四个顶点是resizer的中心点\r\n x = x - width / 2\r\n y = y - height / 2\r\n const cursor = this.position.toLowerCase() + '-resize'\r\n return {\r\n x, y, width, height, cursor\r\n }\r\n }\r\n },\r\n methods: {\r\n ...mapMutations('wfEditor', [\r\n 'setMovingResizer',\r\n 'setResizerToMove',\r\n 'setContextMenuVisible'\r\n ])\r\n\r\n }\r\n}\r\n<\/script>\r\n<style>\r\n .resizer{\r\n stroke: blue;\r\n stroke-width: 1;\r\n fill: white;\r\n }\r\n</style>\r\n\r\n"]}])},function(e,t,n){"use strict";n(425)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"\n.decision{\n stroke-width: 0;\n fill:#fff;\n}\n","",{version:3,sources:["packages/workflow-editor/src/taches/decision.vue"],names:[],mappings:";AAuGA;EACA,eAAA;EACA,SAAA;AACA",file:"decision.vue?vue&type=style&index=0&id=85ac2034&prod&lang=css&",sourcesContent:['<template>\r\n <g\r\n @mousedown.stop="startDrag"\r\n @mouseup="endDrag"\r\n @mouseenter="showJoints"\r\n @mouseleave="hideJoints"\r\n @dblclick.stop="setPropertiesEditorFor(\'Decision\')"\r\n >\r\n <rect\r\n :width="model.width"\r\n :height="model.height"\r\n :class="{\'draggable\':true,\'decision\':!model.isSelected, \'selected\':model.isSelected}"\r\n :x="model.x"\r\n :y="model.y"\r\n rx="6"\r\n ry="6"\r\n />\r\n <use\r\n xlink:href="#icon-decision"\r\n :x="model.x"\r\n :y="model.y"\r\n :width="model.width"\r\n :height="model.height"\r\n fill="#999"\r\n class="draggable"\r\n />\r\n <text\r\n :x="text.x"\r\n :y="text.y"\r\n text-anchor="middle"\r\n class="draggable"\r\n >\r\n {{ name }}\r\n </text>\r\n <joint\r\n v-for="position in jointPoints"\r\n :key="position"\r\n :parent="model"\r\n :position="position"\r\n />\r\n </g>\r\n</template>\r\n<script>\r\nimport { mapGetters, mapMutations } from \'vuex\'\r\nimport Joint from \'./joint\'\r\nimport tacheMethods from \'./common-methods\'\r\nimport { watchShowName } from \'../util\'\r\nexport default {\r\n name: \'Decision\',\r\n components: {\r\n Joint\r\n },\r\n props: {\r\n model: {\r\n type: Object,\r\n default: null\r\n }\r\n },\r\n data() {\r\n return {\r\n // 一个tache有上右下左四个连接点,这四个连接点的坐标根据tache的位置和大小计算出来\r\n jointPoints: [],\r\n name: this.model.name\r\n }\r\n },\r\n computed: {\r\n ...mapGetters(\'wfEditor\', [\r\n \'selectedTaches\',\r\n \'processI18n\'\r\n ]),\r\n text() {\r\n return {\r\n x: this.model.x + this.model.width / 2,\r\n // TODO: 12应该是字体大小加上一点空隙,换成变量值表示\r\n y: this.model.y + this.model.height + 12\r\n }\r\n }\r\n },\r\n created() {\r\n this.name = watchShowName(this, this.name)\r\n },\r\n mounted() {\r\n this.$watch(\'model.name\', function(newVal) {\r\n this.name = watchShowName(this, newVal)\r\n })\r\n },\r\n methods: {\r\n ...mapMutations(\'wfEditor\', [\r\n \'setPropertiesEditorFor\',\r\n \'setContextMenuVisible\'\r\n ]),\r\n ...tacheMethods\r\n }\r\n}\r\n<\/script>\r\n<style>\r\n .decision{\r\n stroke-width: 0;\r\n fill:#fff;\r\n }\r\n</style>\r\n\r\n']}])},function(e,t,n){"use strict";n(432)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"\n.decision{\n stroke-width: 0;\n fill:#fff;\n}\n","",{version:3,sources:["packages/workflow-editor/src/taches/fork.vue"],names:[],mappings:";AAuGA;EACA,eAAA;EACA,SAAA;AACA",file:"fork.vue?vue&type=style&index=0&id=de73c364&prod&lang=css&",sourcesContent:['<template>\r\n <g\r\n @mousedown.stop="startDrag"\r\n @mouseup="endDrag"\r\n @mouseenter="showJoints"\r\n @mouseleave="hideJoints"\r\n @dblclick.stop="setPropertiesEditorFor(\'Fork\')"\r\n >\r\n <rect\r\n :width="model.width"\r\n :height="model.height"\r\n :class="{\'draggable\':true,\'decision\':!model.isSelected, \'selected\':model.isSelected}"\r\n :x="model.x"\r\n :y="model.y"\r\n rx="6"\r\n ry="6"\r\n />\r\n <use\r\n xlink:href="#icon-fork"\r\n :x="model.x"\r\n :y="model.y"\r\n :width="model.width"\r\n :height="model.height"\r\n fill="#999"\r\n class="draggable"\r\n />\r\n <text\r\n :x="text.x"\r\n :y="text.y"\r\n text-anchor="middle"\r\n class="draggable"\r\n >\r\n {{ name }}\r\n </text>\r\n <joint\r\n v-for="position in jointPoints"\r\n :key="position"\r\n :parent="model"\r\n :position="position"\r\n />\r\n </g>\r\n</template>\r\n<script>\r\nimport { mapGetters, mapMutations } from \'vuex\'\r\nimport Joint from \'./joint\'\r\nimport tacheMethods from \'./common-methods\'\r\nimport { watchShowName } from \'../util\'\r\nexport default {\r\n name: \'Fork\',\r\n components: {\r\n Joint\r\n },\r\n props: {\r\n model: {\r\n type: Object,\r\n default: null\r\n }\r\n },\r\n data() {\r\n return {\r\n // 一个tache有上右下左四个连接点,这四个连接点的坐标根据tache的位置和大小计算出来\r\n jointPoints: [],\r\n name: this.model.name\r\n }\r\n },\r\n computed: {\r\n ...mapGetters(\'wfEditor\', [\r\n \'selectedTaches\',\r\n \'processI18n\'\r\n ]),\r\n text() {\r\n return {\r\n x: this.model.x + this.model.width / 2,\r\n // TODO: 12应该是字体大小加上一点空隙,换成变量值表示\r\n y: this.model.y + this.model.height + 12\r\n }\r\n }\r\n },\r\n created() {\r\n this.name = watchShowName(this, this.name)\r\n },\r\n mounted() {\r\n this.$watch(\'model.name\', function(newVal) {\r\n this.name = watchShowName(this, newVal)\r\n })\r\n },\r\n methods: {\r\n ...mapMutations(\'wfEditor\', [\r\n \'setPropertiesEditorFor\',\r\n \'setContextMenuVisible\'\r\n ]),\r\n ...tacheMethods\r\n }\r\n}\r\n<\/script>\r\n<style>\r\n .decision{\r\n stroke-width: 0;\r\n fill:#fff;\r\n }\r\n</style>\r\n\r\n']}])},function(e,t,n){"use strict";n(435)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"\n.decision{\n stroke-width: 0;\n fill:#fff;\n}\n","",{version:3,sources:["packages/workflow-editor/src/taches/join.vue"],names:[],mappings:";AA4FA;EACA,eAAA;EACA,SAAA;AACA",file:"join.vue?vue&type=style&index=0&id=4f32e2be&prod&lang=css&",sourcesContent:['<template>\r\n <g\r\n @mousedown.stop="startDrag"\r\n @mouseup="endDrag"\r\n @mouseenter="showJoints"\r\n @mouseleave="hideJoints"\r\n @dblclick.stop="setPropertiesEditorFor(\'Join\')"\r\n >\r\n <rect\r\n :width="model.width"\r\n :height="model.height"\r\n :class="{\'draggable\':true,\'decision\':!model.isSelected, \'selected\':model.isSelected}"\r\n :x="model.x"\r\n :y="model.y"\r\n rx="6"\r\n ry="6"\r\n />\r\n <use\r\n xlink:href="#icon-join"\r\n :x="model.x"\r\n :y="model.y"\r\n :width="model.width"\r\n :height="model.height"\r\n fill="#999"\r\n class="draggable"\r\n />\r\n <text\r\n :x="text.x"\r\n :y="text.y"\r\n text-anchor="middle"\r\n class="draggable"\r\n >\r\n {{ model.name }}\r\n </text>\r\n <joint\r\n v-for="position in jointPoints"\r\n :key="position"\r\n :parent="model"\r\n :position="position"\r\n />\r\n </g>\r\n</template>\r\n<script>\r\nimport { mapGetters, mapMutations } from \'vuex\'\r\nimport Joint from \'./joint\'\r\nimport tacheMethods from \'./common-methods\'\r\nexport default {\r\n name: \'Join\',\r\n components: {\r\n Joint\r\n },\r\n props: {\r\n model: {\r\n type: Object,\r\n default: null\r\n }\r\n },\r\n data() {\r\n return {\r\n // 一个tache有上右下左四个连接点,这四个连接点的坐标根据tache的位置和大小计算出来\r\n jointPoints: []\r\n }\r\n },\r\n computed: {\r\n ...mapGetters(\'wfEditor\', [\r\n \'selectedTaches\'\r\n ]),\r\n text() {\r\n return {\r\n x: this.model.x + this.model.width / 2,\r\n // TODO: 12应该是字体大小加上一点空隙,换成变量值表示\r\n y: this.model.y + this.model.height + 12\r\n }\r\n }\r\n },\r\n methods: {\r\n ...mapMutations(\'wfEditor\', [\r\n \'setPropertiesEditorFor\',\r\n \'setContextMenuVisible\'\r\n ]),\r\n ...tacheMethods\r\n }\r\n}\r\n<\/script>\r\n<style>\r\n .decision{\r\n stroke-width: 0;\r\n fill:#fff;\r\n }\r\n</style>\r\n\r\n']}])},function(e,t,n){"use strict";n(438)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"\n.human-decision{\n stroke-width: 0;\n fill:#fff;\n}\n","",{version:3,sources:["packages/workflow-editor/src/taches/human-decision.vue"],names:[],mappings:";AAuGA;EACA,eAAA;EACA,SAAA;AACA",file:"human-decision.vue?vue&type=style&index=0&id=c16ca78c&prod&lang=css&",sourcesContent:['<template>\r\n <g\r\n @mousedown.stop="startDrag"\r\n @mouseup="endDrag"\r\n @mouseenter="showJoints"\r\n @mouseleave="hideJoints"\r\n @dblclick.stop="setPropertiesEditorFor(\'HumanDecision\')"\r\n >\r\n <rect\r\n :width="model.width"\r\n :height="model.height"\r\n :class="{\'draggable\':true,\'human-decision\':!model.isSelected, \'selected\':model.isSelected}"\r\n :x="model.x"\r\n :y="model.y"\r\n rx="6"\r\n ry="6"\r\n />\r\n <use\r\n xlink:href="#icon-human-decision"\r\n :x="model.x"\r\n :y="model.y"\r\n :width="model.width"\r\n :height="model.height"\r\n fill="#999"\r\n class="draggable"\r\n />\r\n <text\r\n :x="text.x"\r\n :y="text.y"\r\n text-anchor="middle"\r\n class="draggable"\r\n >\r\n {{ name }}\r\n </text>\r\n <joint\r\n v-for="position in jointPoints"\r\n :key="position"\r\n :parent="model"\r\n :position="position"\r\n />\r\n </g>\r\n</template>\r\n<script>\r\nimport { mapGetters, mapMutations } from \'vuex\'\r\nimport Joint from \'./joint\'\r\nimport tacheMethods from \'./common-methods\'\r\nimport { watchShowName } from \'../util\'\r\nexport default {\r\n name: \'HumanDecision\',\r\n components: {\r\n Joint\r\n },\r\n props: {\r\n model: {\r\n type: Object,\r\n default: null\r\n }\r\n },\r\n data() {\r\n return {\r\n // 一个tache有上右下左四个连接点,这四个连接点的坐标根据tache的位置和大小计算出来\r\n jointPoints: [],\r\n name: this.model.name\r\n }\r\n },\r\n computed: {\r\n ...mapGetters(\'wfEditor\', [\r\n \'selectedTaches\',\r\n \'processI18n\'\r\n ]),\r\n text() {\r\n return {\r\n x: this.model.x + this.model.width / 2,\r\n // TODO: 12应该是字体大小加上一点空隙,换成变量值表示\r\n y: this.model.y + this.model.height + 12\r\n }\r\n }\r\n },\r\n created() {\r\n this.name = watchShowName(this, this.name)\r\n },\r\n mounted() {\r\n this.$watch(\'model.name\', function(newVal) {\r\n this.name = watchShowName(this, newVal)\r\n })\r\n },\r\n methods: {\r\n ...mapMutations(\'wfEditor\', [\r\n \'setPropertiesEditorFor\',\r\n \'setContextMenuVisible\'\r\n ]),\r\n ...tacheMethods\r\n }\r\n}\r\n<\/script>\r\n<style>\r\n .human-decision{\r\n stroke-width: 0;\r\n fill:#fff;\r\n }\r\n</style>\r\n\r\n']}])},function(e,t,n){"use strict";n.r(t);var r=n(311),o=n(127);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(312),o=n(129);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(660);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"41f44015",null);t.default=a.exports},function(e,t,n){"use strict";n(445)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"\n.control-point[data-v-41f44015]{\n fill: #fff;\n cursor: move;\n}\n.control-line[data-v-41f44015] {\n stroke-dasharray: 2 2\n}\n","",{version:3,sources:["packages/workflow-editor/src/transitions/curve-line.vue"],names:[],mappings:";AA4FA;EACA,UAAA;EACA,YAAA;AACA;AACA;EACA;AACA",file:"curve-line.vue?vue&type=style&index=0&id=41f44015&prod&scoped=true&lang=css&",sourcesContent:["<template>\r\n <g>\r\n <path\r\n :d=\"path\"\r\n marker-end=\"url(#arrow)\"\r\n />\r\n <template v-if=\"owner.isSelected\">\r\n <path :d=\"pathToStartPoint\" class=\"control-line\" />\r\n <path :d=\"pathToEndPoint\" class=\"control-line\" />\r\n <circle\r\n :cx=\"controlPoint.x\"\r\n :cy=\"controlPoint.y\"\r\n r=\"3\"\r\n class=\"control-point\"\r\n @mousedown.stop=\"startDrag\"\r\n @mouseup.stop=\"endDrag\"\r\n />\r\n </template>\r\n </g>\r\n</template>\r\n<script>\r\nimport { getJoint } from '../util'\r\nimport { mapMutations } from 'vuex'\r\nexport default {\r\n name: 'CurveLine',\r\n props: {\r\n owner: {\r\n type: Object,\r\n default: null\r\n }\r\n },\r\n computed: {\r\n // 二次贝塞尔曲线由两个端点和一个控制点组成,Q命令就是用来画二次曲线的\r\n startPoint() {\r\n return getJoint(this.owner.startJoint.parent, this.owner.startJoint.position)\r\n },\r\n endPoint() {\r\n return getJoint(this.owner.endJoint.parent, this.owner.endJoint.position)\r\n },\r\n controlPoint() {\r\n return this.owner.lineInfo.controlPoint\r\n },\r\n path() {\r\n return 'M ' + this.startPoint.x + ' ' + this.startPoint.y + ' ' +\r\n 'Q ' + this.controlPoint.x + ' ' + this.controlPoint.y + ' ' +\r\n this.endPoint.x + ' ' + this.endPoint.y\r\n },\r\n pathToStartPoint() {\r\n return 'M ' + this.controlPoint.x + ' ' + this.controlPoint.y +\r\n 'L ' + this.startPoint.x + ' ' + this.startPoint.y\r\n },\r\n pathToEndPoint() {\r\n return 'M ' + this.controlPoint.x + ' ' + this.controlPoint.y +\r\n 'L ' + this.endPoint.x + ' ' + this.endPoint.y\r\n }\r\n },\r\n created: function() {\r\n // controlPoint没有值是需要给一个初始值:默认的控制点是起点的x坐标和终点的y坐标结合\r\n if (!this.owner.lineInfo.controlPoint) {\r\n let x = this.startPoint.x + (this.endPoint.x - this.startPoint.x) / 2\r\n if (x + 10 < this.startPoint.x || x < this.startPoint.x + 10) {\r\n x = this.startPoint.x + 30\r\n }\r\n this.owner.lineInfo.controlPoint = { x, y: this.endPoint.y }\r\n }\r\n },\r\n methods: {\r\n ...mapMutations('wfEditor', [\r\n 'setControlPointToMove'\r\n ]),\r\n startDrag(event) {\r\n this.setControlPointToMove({\r\n owner: this.owner\r\n })\r\n },\r\n endDrag() {\r\n this.setControlPointToMove(null)\r\n }\r\n }\r\n}\r\n<\/script>\r\n<style scoped>\r\n .control-point{\r\n fill: #fff;\r\n cursor: move;\r\n }\r\n .control-line {\r\n stroke-dasharray: 2 2\r\n }\r\n</style>\r\n\r\n"]}])},function(e,t,n){"use strict";n.r(t);var r=n(313),o=n(131);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(663);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"58d8ad5f",null);t.default=a.exports},function(e,t,n){"use strict";n(447)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"\n.control-point[data-v-58d8ad5f]{\n fill: #fff;\n cursor: move;\n}\n.control-line[data-v-58d8ad5f] {\n stroke-dasharray: 2 2\n}\n","",{version:3,sources:["packages/workflow-editor/src/transitions/broken-line.vue"],names:[],mappings:";AA4FA;EACA,UAAA;EACA,YAAA;AACA;AACA;EACA;AACA",file:"broken-line.vue?vue&type=style&index=0&id=58d8ad5f&prod&scoped=true&lang=css&",sourcesContent:["<template>\r\n <g>\r\n <path\r\n :d=\"path\"\r\n marker-end=\"url(#arrow)\"\r\n />\r\n <template v-if=\"owner.isSelected\">\r\n <template v-if=\"controlPoint\">\r\n <circle\r\n v-for=\"(point,index) in controlPoint\"\r\n :key=\"point.x+point.y\"\r\n :cx=\"point.x\"\r\n :cy=\"point.y\"\r\n r=\"3\"\r\n class=\"control-point\"\r\n @mousedown.stop=\"startDrag(index, $event)\"\r\n @mouseup.stop=\"endDrag\"\r\n />\r\n </template>\r\n </template>\r\n </g>\r\n</template>\r\n<script>\r\nimport { getJoint } from '../util'\r\nimport { mapMutations } from 'vuex'\r\nexport default {\r\n name: 'BrokenLine',\r\n props: {\r\n owner: {\r\n type: Object,\r\n default: null\r\n }\r\n },\r\n computed: {\r\n // 二次贝塞尔曲线由两个端点和一个控制点组成,Q命令就是用来画二次曲线的\r\n startPoint() {\r\n return getJoint(this.owner.startJoint.parent, this.owner.startJoint.position)\r\n },\r\n endPoint() {\r\n return getJoint(this.owner.endJoint.parent, this.owner.endJoint.position)\r\n },\r\n controlPoint() {\r\n return this.owner.lineInfo.controlPoint\r\n },\r\n path() {\r\n let myPath = 'M ' + this.startPoint.x + ' ' + this.startPoint.y + ' '\r\n if (this.controlPoint) {\r\n this.controlPoint.forEach(point => {\r\n myPath += 'L ' + point.x + ' ' + point.y\r\n })\r\n }\r\n myPath += 'L ' + this.endPoint.x + ' ' + this.endPoint.y\r\n return myPath\r\n }\r\n },\r\n created: function() {\r\n console.log('this.owner.lineInfo=', this.owner.lineInfo)\r\n // controlPoint没有值是需要给一个初始值:默认的控制点是起点的x坐标和终点的y坐标结合\r\n if (!this.owner.lineInfo.controlPoint) {\r\n const x = this.startPoint.x + (this.endPoint.x - this.startPoint.x) / 2\r\n const y = this.startPoint.y + (this.endPoint.y - this.startPoint.y) / 2\r\n this.owner.lineInfo.controlPoint = [{ x, y }]\r\n }\r\n },\r\n methods: {\r\n ...mapMutations('wfEditor', [\r\n 'setControlPointToMove'\r\n ]),\r\n startDrag(pointIndex, $event) {\r\n console.log('brokenLine--startDrag-----')\r\n this.setControlPointToMove({\r\n owner: this.owner,\r\n pointIndex: pointIndex\r\n })\r\n },\r\n endDrag() {\r\n this.setControlPointToMove(null)\r\n }\r\n }\r\n}\r\n<\/script>\r\n<style scoped>\r\n .control-point{\r\n fill: #fff;\r\n cursor: move;\r\n }\r\n .control-line {\r\n stroke-dasharray: 2 2\r\n }\r\n</style>\r\n\r\n"]}])},function(e,t,n){"use strict";n(448)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"\n.transition[data-v-e5a42fd4]{\n stroke-width: 2;\n stroke:#666;\n fill: none;\n cursor: pointer;\n}\n.selected[data-v-e5a42fd4]{\n stroke:red;\n}\n.transition-dragger[data-v-e5a42fd4]{\n stroke: red;\n stroke-width: 1;\n fill: white;\n cursor:move;\n}\n.no-events[data-v-e5a42fd4]{\n pointer-events: none;\n}\n","",{version:3,sources:["packages/workflow-editor/src/transitions/transition.vue"],names:[],mappings:";AAqNA;EACA,eAAA;EACA,WAAA;EACA,UAAA;EACA,eAAA;AACA;AACA;EACA,UAAA;AACA;AACA;EACA,WAAA;EACA,eAAA;EACA,WAAA;EACA,WAAA;AACA;AACA;EACA,oBAAA;AACA",file:"transition.vue?vue&type=style&index=0&id=e5a42fd4&prod&scoped=true&lang=css&",sourcesContent:["<template>\r\n <g\r\n :class=\"{'no-events': draggerToMove!=null}\"\r\n @mousedown.stop=\"select\"\r\n @dblclick.stop=\"showPropertiesEditor\"\r\n >\r\n <text\r\n :x=\"text.x\"\r\n :y=\"text.y\"\r\n text-anchor=\"middle\"\r\n class=\"draggable\"\r\n >\r\n {{ name }}\r\n </text>\r\n <component :is=\"model.lineInfo.type\" :owner=\"model\" :class=\"{'transition':true,'selected':model.isSelected||(model.startJoint.parent.isSelected&&model.endJoint.parent.isSelected)}\" />\r\n \x3c!-- <straight-line :owner=\"model\" :class=\"{'transition':true,'selected':model.isSelected||(model.startJoint.parent.isSelected&&model.endJoint.parent.isSelected)}\"/> --\x3e\r\n <g v-if=\"model.isSelected\">\r\n <circle\r\n v-for=\"dragger in draggers\"\r\n :key=\"dragger.position\"\r\n :cx=\"dragger.x\"\r\n :cy=\"dragger.y\"\r\n class=\"transition-dragger\"\r\n r=\"4\"\r\n @mousedown.stop=\"startDrag($event,dragger.position)\"\r\n @mouseup=\"endDrag\"\r\n />\r\n </g>\r\n </g>\r\n</template>\r\n<script>\r\nimport { getJoint, getMousePosition, clearAllSelectedComponents, watchShowName } from '../util'\r\nimport { mapGetters, mapMutations } from 'vuex'\r\nimport StraightLine from './straight-line'\r\nimport CurveLine from './curve-line'\r\nimport BrokenLine from './broken-line'\r\nexport default {\r\n name: 'Transition',\r\n components: {\r\n StraightLine,\r\n CurveLine,\r\n BrokenLine\r\n },\r\n props: {\r\n model: {\r\n type: Object,\r\n default: null\r\n }\r\n },\r\n data() {\r\n const point = this.getTextPoint()\r\n return {\r\n text: {\r\n x: point.x,\r\n y: point.y\r\n },\r\n name: this.model.remark\r\n }\r\n },\r\n computed: {\r\n ...mapGetters('wfEditor', [\r\n 'draggerToMove',\r\n 'processI18n'\r\n ]),\r\n draggers() {\r\n const startPoint = getJoint(this.model.startJoint.parent, this.model.startJoint.position)\r\n startPoint.position = 'start'\r\n const endPoint = getJoint(this.model.endJoint.parent, this.model.endJoint.position)\r\n endPoint.position = 'end'\r\n return [startPoint, endPoint]\r\n },\r\n path() {\r\n return 'M' + this.draggers[0].x + ' ' + this.draggers[0].y + ' L' + this.draggers[1].x + ' ' + this.draggers[1].y\r\n }\r\n },\r\n created() {\r\n this.name = watchShowName(this, this.name)\r\n },\r\n mounted() {\r\n // 线条名称内容修改时\r\n this.$watch('model.remark', function(newVal) {\r\n this.name = watchShowName(this, newVal)\r\n if (this.name && this.name !== '') {\r\n // 计算文本框的x、y坐标\r\n const point = this.getTextPoint()\r\n this.text.x = point.x\r\n this.text.y = point.y\r\n }\r\n })\r\n // 右键菜单更改线条方式时\r\n this.$watch('model.lineInfo.type', function(newVal) {\r\n // 计算文本框的x、y坐标\r\n const point = this.getTextPoint()\r\n this.text.x = point.x\r\n this.text.y = point.y\r\n })\r\n // 拖动控制点的位置时\r\n this.$watch('model.lineInfo.controlPoint', function(newVal) {\r\n // 计算文本框的x、y坐标\r\n const point = this.getTextPoint()\r\n this.text.x = point.x\r\n this.text.y = point.y\r\n })\r\n // 水平拖动起点节点\r\n this.$watch('model.startJoint.parent.x', function(newVal) {\r\n // 计算文本框的x、y坐标\r\n const point = this.getTextPoint()\r\n this.text.x = point.x\r\n this.text.y = point.y\r\n })\r\n // 垂直拖动起点节点\r\n this.$watch('model.startJoint.parent.y', function(newVal) {\r\n // 计算文本框的x、y坐标\r\n const point = this.getTextPoint()\r\n this.text.x = point.x\r\n this.text.y = point.y\r\n })\r\n // 水平拖动终点节点\r\n this.$watch('model.endJoint.parent.x', function(newVal) {\r\n // 计算文本框的x、y坐标\r\n const point = this.getTextPoint()\r\n this.text.x = point.x\r\n this.text.y = point.y\r\n })\r\n // 垂直拖动终点节点\r\n this.$watch('model.endJoint.parent.y', function(newVal) {\r\n // 计算文本框的x、y坐标\r\n const point = this.getTextPoint()\r\n this.text.x = point.x\r\n this.text.y = point.y\r\n })\r\n },\r\n methods: {\r\n ...mapMutations('wfEditor', [\r\n 'setMouseDownPosition',\r\n 'setDraggerToMove',\r\n 'setSelectedTransition',\r\n 'setPropertiesEditorFor'\r\n ]),\r\n getTextPoint() {\r\n const startPoint = getJoint(this.model.startJoint.parent, this.model.startJoint.position)\r\n const endPoint = getJoint(this.model.endJoint.parent, this.model.endJoint.position)\r\n let minX = startPoint.x < endPoint.x ? startPoint.x : endPoint.x\r\n let minY = startPoint.y < endPoint.y ? startPoint.y : endPoint.y\r\n let textX = minX + Math.abs(startPoint.x - endPoint.x) / 2\r\n let textY = minY + Math.abs(startPoint.y - endPoint.y) / 2\r\n if (this.model.lineInfo.type === 'CurveLine') {\r\n // 曲线\r\n const point = this.model.lineInfo.controlPoint\r\n if (point) {\r\n minX = startPoint.x < point.x ? startPoint.x : parseFloat(point.x)\r\n minY = startPoint.y < point.y ? startPoint.y : parseFloat(point.y)\r\n textX = minX + Math.abs(startPoint.x - point.x) / 2 + 10\r\n textY = minY + Math.abs(startPoint.y - point.y) / 2 - 10\r\n }\r\n } else if (this.model.lineInfo.type === 'BrokenLine') {\r\n const point = this.model.lineInfo.controlPoint[0]\r\n if (point) {\r\n minX = startPoint.x < point.x ? startPoint.x : parseFloat(point.x)\r\n minY = startPoint.y < point.y ? startPoint.y : parseFloat(point.y)\r\n textX = minX + Math.abs(startPoint.x - point.x) / 2\r\n textY = minY + Math.abs(startPoint.y - point.y) / 2 - 10\r\n }\r\n }\r\n return { x: textX, y: textY }\r\n },\r\n select(event) {\r\n clearAllSelectedComponents()\r\n this.model.isSelected = true\r\n this.setSelectedTransition(this.model)\r\n },\r\n startDrag(event, position) {\r\n console.log('start dragging line')\r\n this.setMouseDownPosition(getMousePosition(event))\r\n this.setDraggerToMove({\r\n owner: this.model,\r\n position,\r\n originStartJoint: this.model.startJoint,\r\n originEndJoint: this.model.endJoint\r\n })\r\n },\r\n endDrag() {\r\n // this.setSe\r\n },\r\n showPropertiesEditor() {\r\n if (this.model.endJoint.parent.type !== 'Decision') {\r\n this.setPropertiesEditorFor('Transition')\r\n }\r\n }\r\n }\r\n}\r\n<\/script>\r\n<style scoped>\r\n .transition{\r\n stroke-width: 2;\r\n stroke:#666;\r\n fill: none;\r\n cursor: pointer;\r\n }\r\n .selected{\r\n stroke:red;\r\n }\r\n .transition-dragger{\r\n stroke: red;\r\n stroke-width: 1;\r\n fill: white;\r\n cursor:move;\r\n }\r\n .no-events{\r\n pointer-events: none;\r\n }\r\n</style>\r\n"]}])},function(e,t,n){"use strict";n.r(t);var r=n(314),o=n(133);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(668);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";n(450)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"\n.virtual-transition{\n stroke-width: 2;\n stroke:#000;\n stroke-dasharray: 2 2;\n fill: none;\n}\n","",{version:3,sources:["packages/workflow-editor/src/transitions/virtual-transition.vue"],names:[],mappings:";AA4CA;EACA,eAAA;EACA,WAAA;EACA,qBAAA;EACA,UAAA;AACA",file:"virtual-transition.vue?vue&type=style&index=0&id=0787f34a&prod&lang=css&",sourcesContent:["<template>\r\n <g>\r\n <path v-show=\"path\" :d=\"path\" class=\"virtual-transition\" marker-end=\"url(#arrow)\" />\r\n </g>\r\n</template>\r\n<script>\r\nimport { getJoint } from '../util'\r\nimport { mapGetters } from 'vuex'\r\nexport default {\r\n name: 'VirtualTransition',\r\n props: {\r\n toPosition: {\r\n type: Object,\r\n default: null\r\n }\r\n },\r\n computed: {\r\n ...mapGetters('wfEditor', [\r\n 'startJoint'\r\n ]),\r\n path() {\r\n if (!this.startJoint) {\r\n return null\r\n }\r\n const startJoint = getJoint(this.startJoint.parent, this.startJoint.position)\r\n // 虚线的endJoint存的就是鼠标的当前位置,此时还没有连接到任何环节上\r\n const endJoint = this.toPosition\r\n return 'M' + startJoint.x + ' ' + startJoint.y + ' L' + endJoint.x + ' ' + endJoint.y\r\n }\r\n },\r\n methods: {\r\n\r\n }\r\n}\r\n<\/script>\r\n<style>\r\n .virtual-transition{\r\n stroke-width: 2;\r\n stroke:#000;\r\n stroke-dasharray: 2 2;\r\n fill: none;\r\n }\r\n</style>\r\n"]}])},function(e,t,n){"use strict";n.r(t);var r=n(315),o=n(135);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(671);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";n(452)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"\n.selection-region{\n stroke: blue;\n stroke-width: 1;\n fill: white;\n fill-opacity: 0;\n opacity: 1;\n cursor: move;\n}\n.dashed{\n stroke-dasharray: 10 2;\n /* 控制region在画的过程中不响应任何事件,只有画完后才能响应 */\n pointer-events:none;\n}\n","",{version:3,sources:["packages/workflow-editor/src/main/selection-region.vue"],names:[],mappings:";AAmEA;EACA,YAAA;EACA,eAAA;EACA,WAAA;EACA,eAAA;EACA,UAAA;EACA,YAAA;AACA;AACA;EACA,sBAAA;EACA,oCAAA;EACA,mBAAA;AACA",file:"selection-region.vue?vue&type=style&index=0&id=36f44cc0&prod&lang=css&",sourcesContent:["<template>\r\n <g>\r\n <rect\r\n v-if=\"region\"\r\n :x=\"region.x\"\r\n :y=\"region.y\"\r\n :width=\"region.width\"\r\n :height=\"region.height\"\r\n :class=\"{'draggable':true,'selection-region':true,'dashed':selectedTaches.length<1}\"\r\n @mousedown.stop=\"startDrag\"\r\n @mouseup.stop=\"endDrag\"\r\n />\r\n </g>\r\n</template>\r\n<script>\r\nimport { mapGetters, mapMutations } from 'vuex'\r\nimport { getMousePosition } from '../util'\r\nexport default {\r\n name: 'SelectionRegion',\r\n props: {\r\n region: {\r\n type: Object,\r\n default: null\r\n }\r\n },\r\n computed: {\r\n ...mapGetters('wfEditor', [\r\n 'selectedTaches'\r\n ])\r\n },\r\n methods: {\r\n ...mapMutations('wfEditor', [\r\n 'setDrawingRegion',\r\n 'setMovingRegion',\r\n 'setMouseDownPosition'\r\n ]),\r\n startDrag(event) {\r\n console.log('region mousedown')\r\n const mouseDownPosition = getMousePosition(event)\r\n this.setMouseDownPosition(mouseDownPosition)\r\n this.setMovingRegion(true)\r\n },\r\n endDrag(event) {\r\n console.log('region mouseup')\r\n\r\n this.setMovingRegion(false)\r\n this.setMouseDownPosition(null)\r\n }\r\n }\r\n}\r\n<\/script>\r\n<style>\r\n .selection-region{\r\n stroke: blue;\r\n stroke-width: 1;\r\n fill: white;\r\n fill-opacity: 0;\r\n opacity: 1;\r\n cursor: move;\r\n }\r\n .dashed{\r\n stroke-dasharray: 10 2;\r\n /* 控制region在画的过程中不响应任何事件,只有画完后才能响应 */\r\n pointer-events:none;\r\n }\r\n</style>\r\n"]}])},function(e,t,n){"use strict";n.r(t);var r=n(316),o=n(137);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(706);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"31f14dc3",null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(317),o=n(139);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(685);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"4d6a43bf",null);t.default=a.exports},function(e,t,n){"use strict";n(459)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,".group[data-v-70c39db1]{font-size:14px;width:100%}.item[data-v-70c39db1]{float:left;list-style-type:none;width:33.33%;margin-bottom:18px}.item-content[data-v-70c39db1]{height:calc(100vh - 300px);padding-left:20px;overflow:auto}\n","",{version:3,sources:["D:/pack/workflow-editor-dev-dw/packages/workflow-editor/src/properties-editors/common/form-fields.vue"],names:[],mappings:"AACA,wBACE,cAAe,CACf,UAAU,CACX,uBAGC,UAAW,CACX,oBAAoB,CACpB,YAAa,CACb,kBACF,CAAC,+BAGC,0BAA2B,CAC3B,iBAAkB,CAClB,aACF",file:"form-fields.vue?vue&type=style&index=0&id=70c39db1&prod&lang=scss&scoped=true&",sourcesContent:["\n.group {\n font-size: 14px;\n width:100%;\n}\n\n.item {\n float: left;\n list-style-type:none;\n width: 33.33%;\n margin-bottom: 18px\n}\n\n.item-content {\n height: calc(100vh - 300px);;\n padding-left: 20px;\n overflow: auto\n}\n\n"]}])},function(e,t,n){"use strict";n(460)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"\n.el-tag + .el-tag[data-v-f88237fa] {\n margin-left: 10px;\n}\n.button-new-tag[data-v-f88237fa] {\n margin-left: 10px;\n height: 32px;\n line-height: 30px;\n padding-top: 0;\n padding-bottom: 0;\n}\n.input-new-tag[data-v-f88237fa] {\n width: 150px;\n margin-left: 10px;\n vertical-align: bottom;\n}\nselect[data-v-f88237fa]{\n width: 150px;\n margin-left: 10px;\n height: 32px;\n line-height: 32px;\n}\n","",{version:3,sources:["packages/workflow-editor/src/properties-editors/common/task-title.vue"],names:[],mappings:";AAqJA;EACA,iBAAA;AACA;AACA;EACA,iBAAA;EACA,YAAA;EACA,iBAAA;EACA,cAAA;EACA,iBAAA;AACA;AACA;EACA,YAAA;EACA,iBAAA;EACA,sBAAA;AACA;AACA;EACA,YAAA;EACA,iBAAA;EACA,YAAA;EACA,iBAAA;AACA",file:"task-title.vue?vue&type=style&index=0&id=f88237fa&prod&scoped=true&lang=css&",sourcesContent:["<template>\r\n <div>\r\n <el-tag\r\n v-for=\"(tag,index) in dynamicTags\"\r\n :key=\"index+tag\"\r\n :type=\"getType(tag)\"\r\n closable\r\n :disable-transitions=\"false\"\r\n @close=\"handleClose(tag)\"\r\n >\r\n {{ tag|showText }}\r\n </el-tag>\r\n <el-input\r\n v-if=\"inputVisible||showFormFields\"\r\n ref=\"saveTagInput\"\r\n v-model=\"inputValue\"\r\n class=\"input-new-tag\"\r\n size=\"small\"\r\n @keyup.enter.native=\"handleInputConfirm\"\r\n @blur=\"handleInputConfirm\"\r\n />\r\n <el-button-group v-if=\"!inputVisible\">\r\n <el-button class=\"button-new-tag\" size=\"small\" icon=\"el-icon-edit\" @click=\"showInput\">\r\n {{ $t('workflowEditorMessage.enterText') }}\r\n </el-button>\r\n <el-button class=\"button-new-tag\" size=\"small\" icon=\"el-icon-search\" @click=\"showFormFields=true\">\r\n {{ $t('workflowEditorMessage.selectField') }}\r\n </el-button>\r\n </el-button-group>\r\n <form-fields v-if=\"showFormFields\" @close=\"setField\" />\r\n </div>\r\n</template>\r\n<script>\r\nimport FormFields from './form-fields'\r\nimport { getFormFieldLabel } from './form-fields-utils.js'\r\nexport default {\r\n name: 'TaskTitle',\r\n components: {\r\n FormFields\r\n },\r\n filters: {\r\n showText(value) {\r\n let result = value\r\n if (value.indexOf('${field[') >= 0) {\r\n const name = result.substring(result.indexOf('[') + 1, result.lastIndexOf(']'))\r\n result = getFormFieldLabel(name)\r\n result = '[' + result + ']'\r\n } else if (value.indexOf('${writeTitle[') >= 0) {\r\n const index = value.indexOf('${writeTitle[')\r\n result = result.substring(index + 13)\r\n result = result.substring(0, result.indexOf(']'))\r\n }\r\n return result\r\n }\r\n },\r\n props: {\r\n value: {\r\n type: String,\r\n default: null\r\n }\r\n },\r\n data() {\r\n const dynamicTags = []\r\n if (this.value) {\r\n const regex = /\\$\\{(.+?)\\}/g\r\n const matched = this.value.match(regex)\r\n for (const item of matched) {\r\n dynamicTags.push(item)\r\n }\r\n }\r\n return {\r\n dynamicTags,\r\n inputVisible: false,\r\n showFormFields: false,\r\n inputValue: ''\r\n }\r\n },\r\n watch: {\r\n dynamicTags(val) {\r\n this.$emit('input', this.dynamicTags.join(''))\r\n }\r\n },\r\n mounted() {\r\n\r\n },\r\n methods: {\r\n handleClose(tag) {\r\n this.dynamicTags.splice(this.dynamicTags.indexOf(tag), 1)\r\n },\r\n\r\n showInput() {\r\n this.inputVisible = true\r\n this.$nextTick(_ => {\r\n this.$refs.saveTagInput.focus()\r\n })\r\n },\r\n\r\n handleInputConfirm() {\r\n let inputValue = this.inputValue\r\n if (inputValue) {\r\n if (this.inputVisible) {\r\n inputValue = '${writeTitle[' + inputValue + ']}'\r\n }\r\n this.dynamicTags.push(inputValue)\r\n }\r\n this.inputVisible = false\r\n this.inputValue = ''\r\n },\r\n getType(tag) {\r\n if (tag.indexOf('${field') >= 0) {\r\n return 'success'\r\n } else {\r\n return null\r\n }\r\n },\r\n setField(name) {\r\n if (name !== undefined) {\r\n // showFormFields的时候,input也显示了出来(实际上是不应该显示的)。如果input不显示出来,会发生非常怪异的事情,这个push操作不会更新视图,界面上不显示新的tag(尽管数组里有)\r\n this.dynamicTags.push('${field[' + name + ']}')\r\n }\r\n this.showFormFields = false\r\n }\r\n }\r\n}\r\n<\/script>\r\n<style scoped>\r\n .el-tag + .el-tag {\r\n margin-left: 10px;\r\n }\r\n .button-new-tag {\r\n margin-left: 10px;\r\n height: 32px;\r\n line-height: 30px;\r\n padding-top: 0;\r\n padding-bottom: 0;\r\n }\r\n .input-new-tag {\r\n width: 150px;\r\n margin-left: 10px;\r\n vertical-align: bottom;\r\n }\r\n select{\r\n width: 150px;\r\n margin-left: 10px;\r\n height: 32px;\r\n line-height: 32px;\r\n }\r\n</style>\r\n"]}])},function(e,t,n){"use strict";n.r(t);var r=n(320),o=n(145);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";n(469)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"\n.searchResult {\r\n color:red\n}\n.inline-input-custom {\r\n width : 90%\n}\r\n","",{version:3,sources:["packages/workflow-editor/src/properties-editors/common/system-role-tree-inline.vue"],names:[],mappings:";AAsBA;EACA;AACA;AACA;EACA;AACA",file:"system-role-tree-inline.vue?vue&type=style&index=0&id=4b5bfe6d&prod&lang=css&",sourcesContent:["<template>\r\n <div>\r\n <el-input v-model=\"filterText\" :placeholder=\"$t('workflowEditorMessage.pleaseEnterTheRoleName')\" @keyup.enter=\"clickSearch\">\r\n <el-button slot=\"append\" icon=\"el-icon-search\" @click=\"clickSearch\" />\r\n </el-input>\r\n <el-tree\r\n ref=\"roleTree\"\r\n :props=\"defaultProps\"\r\n :load=\"loadNode\"\r\n lazy\r\n :highlight-current=\"true\"\r\n node-key=\"nodeId\"\r\n :show-checkbox=\"multiple\"\r\n check-strictly\r\n :render-content=\"renderContent\"\r\n :filter-node-method=\"filterNode\"\r\n @check=\"handleCheckNode\"\r\n @node-click=\"handleNodeClick\"\r\n />\r\n </div>\r\n</template>\r\n<style>\r\n.searchResult {\r\n color:red\r\n}\r\n.inline-input-custom {\r\n width : 90%\r\n}\r\n</style>\r\n<script>\r\nexport default {\r\n name: 'InlineSystemRoleTree',\r\n props: {\r\n multiple: {\r\n type: Boolean,\r\n default: false\r\n }\r\n },\r\n data() {\r\n return {\r\n systemRoleTrees: null,\r\n filterText: '',\r\n defaultProps: {\r\n id: 'id',\r\n label: 'label',\r\n children: 'children',\r\n isLeaf: 'leaf'\r\n },\r\n containBranch: false, // 当前租户内是否包含分支机构。获得当前选中角色名称时,如果有分支,则需要将分支名称返回给用户,例如:普通用户/分支1\r\n tenantInfo: null, // 公司信息\r\n tenantNodeId: -1, // 公司节点的id\r\n allSearchNodeIds: [], // 用于保存所有查询出的节点id\r\n allExpandNodeIds: [], // 用于保存allSearchNodeIds中所有已加载子节点的id集合\r\n isClickNode: false,\r\n searchValue: null,\r\n selectNodeInfo: null // 单选时选中的结果\r\n\r\n }\r\n },\r\n computed: {\r\n },\r\n watch: {\r\n filterText(val) {\r\n if (!val) {\r\n this.searchValue = val\r\n // 清空查询内容时,重新加载整个树\r\n this.loadRole(this.tenantNodeId, this.tenantNodeId + '')\r\n }\r\n }\r\n },\r\n created() {\r\n },\r\n methods: {\r\n // 初始化树 或 点击三角展开节点时动态加载子节点\r\n loadNode(node, resolve) {\r\n var parentId = 0\r\n var parentNodeId\r\n if (node.level === 0) {\r\n // 表示初始化树\r\n parentId = 0\r\n parentNodeId = parentId + ''\r\n } else {\r\n parentId = node.data.id\r\n parentNodeId = node.data.nodeId\r\n }\r\n var checkedKeys = []\r\n if (this.$refs.roleTree) {\r\n checkedKeys = this.$refs.roleTree.getCheckedKeys()\r\n }\r\n // 初始化角色树\r\n this.initLoadRole(parentId, parentNodeId, node, resolve, checkedKeys)\r\n },\r\n // 初始化部门树\r\n initLoadRole(parentId, parentNodeId, node, resolve, checkedKeys) {\r\n this.$http.get(this.baseAPI + '/acs/roles/system-role-trees/' + parentId).then(data => {\r\n resolve(data)\r\n // 更新当前点击的节点的子节点\r\n this.$refs.roleTree.updateKeyChildren(parentNodeId, data)\r\n if (parentId === 0) {\r\n // 初始化树时,展开公司节点\r\n const tenantData = data[0].data\r\n this.tenantInfo = JSON.parse(tenantData)\r\n this.containBranch = data[0].containBranch\r\n // 加载整个组织结构树时,展开公司节点\r\n this.loadRole(this.tenantNodeId, this.tenantNodeId + '')\r\n }\r\n\r\n if (this.isClickNode) {\r\n // 点击当前节点时,加载树节点时\r\n // 注意不是点击复选框时\r\n this.isClickNode = false\r\n this.checkedNodeAndChildren(node.data)\r\n } else {\r\n // 表示是点击三角展开节点时\r\n if (checkedKeys && checkedKeys.indexOf(parentNodeId) > -1) {\r\n // 点击部门名称前的三角标识展开节点时,保持当前节点的选中状态\r\n // 表示当前展开的节点是选中状态,则应保持其选中状态,并选中其子节点\r\n this.checkedNodeAndChildren(node.data)\r\n }\r\n }\r\n })\r\n },\r\n // 加载当前节点的子节点\r\n loadRole(parentId, nodeId, isSearch, searchValue) {\r\n this.$http.get(this.baseAPI + '/acs/roles/system-role-trees/' + parentId).then(children => {\r\n this.$refs.roleTree.updateKeyChildren(nodeId, children)\r\n if (this.$refs.roleTree.store.nodesMap[nodeId]) {\r\n this.$refs.roleTree.store.nodesMap[nodeId].expanded = true\r\n }\r\n if (isSearch) {\r\n // 查询时处理\r\n if (this.allExpandNodeIds.indexOf(nodeId) === -1) {\r\n // allExpandNodeIds集合中是否包含当前parentId节点id\r\n this.allExpandNodeIds.push(nodeId)\r\n }\r\n if (this.allExpandNodeIds.length === this.allSearchNodeIds.length) {\r\n // 表示所有节点已展开,执行树的过滤方法\r\n this.$refs.roleTree.filter(searchValue)\r\n this.allExpandNodeIds = []\r\n this.allSearchNodeIds = []\r\n }\r\n }\r\n })\r\n },\r\n clickSearch() {\r\n this.searchValue = this.filterText\r\n this.filterAppendNodes(this.filterText)\r\n },\r\n // 后台查询部门,并拼接树节点\r\n filterAppendNodes(value) {\r\n this.$http.get(this.baseAPI + '/acs/roles/search-system-role-trees?searchValue=' + value).then(systemIds => {\r\n if (systemIds) {\r\n if (systemIds.length === 0) {\r\n this.$message({\r\n showClose: true,\r\n type: 'error',\r\n message: this.$t('workflowEditorMessage.queryResultIsEmpty')\r\n })\r\n return\r\n }\r\n systemIds.forEach(systemId => {\r\n const nodeId = 'SYSTEM_' + systemId\r\n if (this.allSearchNodeIds.indexOf(nodeId) === -1) {\r\n // 表示没有加载过该节点,需要放到allSearchNodeIds集合中,并加载该节点内容\r\n this.allSearchNodeIds.push(nodeId)\r\n this.loadRole(systemId, nodeId, true, value)\r\n }\r\n })\r\n } else {\r\n this.$message({\r\n showClose: true,\r\n type: 'error',\r\n message: this.$t('workflowEditorMessage.queryResultIsEmpty')\r\n })\r\n }\r\n })\r\n },\r\n // 点击复选框时处理\r\n handleCheckNode(data, checkObj) {\r\n if (checkObj.checkedKeys.indexOf(data.nodeId) > -1) {\r\n // 表示正选中data节点\r\n if (data.children) {\r\n // 如果已展开,不需要再走后台获得其子节点。只需要选中已有子节点\r\n // 展开当前选中的节点\r\n this.$refs.roleTree.store.nodesMap[data.nodeId].expanded = true\r\n // 选中当前节点及其子节点\r\n this.checkedNodeAndChildren(data)\r\n } else {\r\n // 当前节点未展开。需要走后台获得当前节点的子节点,然后展开当前节点,然后选中这些子节点\r\n if (!data.leaf) {\r\n // 不是叶子节点,并且没有加载过该父节点的子节点时,需要走后台展开子节点\r\n this.$http.get(this.baseAPI + '/acs/roles/system-role-trees/' + data.id).then(result => {\r\n // 更新当前点击的节点的子节点\r\n this.$refs.roleTree.updateKeyChildren(data.nodeId, result)\r\n // 展开当前选中的节点\r\n this.$refs.roleTree.store.nodesMap[data.nodeId].expanded = true\r\n // 获得所有应该选中的节点\r\n this.checkedNodeAndChildren(data)\r\n })\r\n }\r\n }\r\n } else {\r\n // 表示正取消选中data节点,同时要取消其子节点的选中状态\r\n this.cancelChildCheckedNodes(data)\r\n }\r\n },\r\n // 选中当前节点及其子节点\r\n checkedNodeAndChildren(data) {\r\n // 取消选中状态时,保持节点是展开的状态,不要折叠\r\n this.$refs.roleTree.store.nodesMap[data.nodeId].expanded = true\r\n // 获得所有应该选中的节点\r\n this.$refs.roleTree.setChecked(data.nodeId, true)\r\n const children = data.children\r\n if (children) {\r\n // 递归设置子子节点的选中状态\r\n children.forEach(nodeData => {\r\n this.checkedNodeAndChildren(nodeData)\r\n })\r\n }\r\n },\r\n // 取消当前节点的子节点的选中状态\r\n cancelChildCheckedNodes(data) {\r\n if (data.id !== this.tenantNodeId) {\r\n // 如果当前节点不是公司节点,需要将公司节点的选中状态去掉\r\n this.$refs.roleTree.setChecked(this.tenantNodeId + '', false)\r\n }\r\n const children = data.children\r\n if (children) {\r\n children.forEach(nodeData => {\r\n // 取消节点的选中状态\r\n this.$refs.roleTree.setChecked(nodeData.nodeId, false)\r\n // 递归取消子子节点的选中状态\r\n this.cancelChildCheckedNodes(nodeData)\r\n })\r\n }\r\n },\r\n selectRole() {\r\n if (this.multiple) {\r\n const selectNodeInfo = {\r\n containBranch: this.containBranch,\r\n roles: []\r\n }\r\n const selectedRoles = []\r\n const checkedNodes = this.$refs.roleTree.getCheckedNodes()\r\n checkedNodes.forEach(nodeData => {\r\n if (nodeData.nodeType === 'ROLE') {\r\n const role = JSON.parse(nodeData.data)\r\n role.tenantCode = this.tenantInfo.code\r\n role.tenantName = this.tenantInfo.tenantName\r\n selectedRoles.push(role)\r\n }\r\n })\r\n selectNodeInfo.roles = selectedRoles\r\n if (selectNodeInfo.length > 0) {\r\n this.$emit('result', selectNodeInfo)\r\n } else {\r\n this.$message({\r\n showClose: true,\r\n type: 'warning',\r\n message: this.$t('workflowEditor.pleaseSelectRole')\r\n })\r\n }\r\n } else {\r\n if (this.selectNodeInfo) {\r\n this.$emit('result', this.selectNodeInfo)\r\n } else {\r\n this.$message({\r\n showClose: true,\r\n type: 'warning',\r\n message: this.$t('workflowEditor.pleaseSelectRole')\r\n })\r\n }\r\n }\r\n },\r\n filterNode(value, data, node) {\r\n if (!value) {\r\n return true\r\n } else {\r\n var roleName = data.label\r\n if (data.nodeType !== 'ROLE') {\r\n // 表示不是角色节点\r\n return false\r\n }\r\n return roleName.indexOf(value) !== -1\r\n }\r\n },\r\n handleNodeClick(data, node, nodeTree) {\r\n if (this.multiple) {\r\n // 多选角色树时,处理点击节点事件\r\n this.clickNodeWhenMultiple(data)\r\n }\r\n console.log(data)\r\n if (data.nodeType === 'ROLE' && !this.multiple) {\r\n // 点击的是角色节点,并且是单选树时,点击部门节点直接关闭弹框\r\n const role = JSON.parse(data.data)\r\n role.tenantName = this.tenantInfo.tenantName\r\n role.tenantCode = this.tenantInfo.code\r\n var selectNodeInfo = {\r\n id: data.id,\r\n name: data.name,\r\n containBranch: this.containBranch,\r\n role: role\r\n }\r\n this.selectNodeInfo = selectNodeInfo\r\n }\r\n },\r\n // 多选树时,点击节点处理复选框的选中状态\r\n clickNodeWhenMultiple(data) {\r\n var checkedKeys = []\r\n if (this.$refs.roleTree) {\r\n checkedKeys = this.$refs.roleTree.getCheckedKeys()\r\n }\r\n if (checkedKeys.indexOf(data.nodeId) > -1) {\r\n // 表示当前节点是选中状态,则需要取消其选中状态\r\n // 取消当前节点的勾选状态\r\n this.$refs.roleTree.setChecked(data.nodeId, false)\r\n // 取消当前节点的子节点的勾选状态\r\n this.cancelChildCheckedNodes(data)\r\n // 取消选中状态时,保持节点是展开的状态,不要折叠\r\n this.$refs.roleTree.store.nodesMap[data.nodeId].expanded = true\r\n } else {\r\n // 表示当前节点不是选中的状态,需要勾选该节点\r\n this.$refs.roleTree.setChecked(data.nodeId, true)\r\n // 点击树节点时添加并展开节点会走loadNode方法,因为设置了树组件的expand-on-click-node属性为true\r\n const children = data.childDepartments\r\n if (children && children.length > 0) {\r\n // 表示加载过该节点,直接选中即可\r\n this.checkedNodeAndChildren(data)\r\n } else {\r\n // 表示没有加载过该节点,是首次加载,需要走后台\r\n // 会走loadNode方法,因为设置了树组件的expand-on-click-node属性为true\r\n this.isClickNode = true\r\n }\r\n }\r\n },\r\n // 给节点添加查询结果样式\r\n renderContent(h, { node, data, store }) {\r\n if (data.nodeType && data.nodeType === 'ROLE' &&\r\n this.searchValue && data.label.indexOf(this.searchValue) > -1) {\r\n // 如果是查询条件\r\n return (\r\n <span>\r\n <span class='searchResult'>{node.label}</span>\r\n </span>\r\n )\r\n }\r\n return (\r\n <span>\r\n <span>{node.label}</span>\r\n </span>\r\n )\r\n }\r\n }\r\n}\r\n<\/script>\r\n"]}])},function(e,t,n){"use strict";n(470)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"\n#custTabOne[data-v-903790ea] .el-tabs__content{\r\n height:500px\n}\r\n","",{version:3,sources:["packages/workflow-editor/src/properties-editors/common/value-selection-dialog.vue"],names:[],mappings:";AA6MA;EACA;AACA",file:"value-selection-dialog.vue?vue&type=style&index=0&id=903790ea&prod&scoped=true&lang=css&",sourcesContent:["<template>\r\n <el-dialog\r\n :title=\"titleName\"\r\n :visible=\"true\"\r\n top=\"10vh\"\r\n append-to-body\r\n custom-class=\"properties-editor-valueSelect\"\r\n center\r\n @close=\"$emit('close')\"\r\n >\r\n <el-tabs id=\"custTabOne\" v-model=\"activeTab\" type=\"border-card\">\r\n <el-tab-pane v-if=\"options.length>0\" :label=\"$t('workflowEditor.process.standardFields')\" name=\"standardFields\">\r\n <el-row v-for=\"option in options\" :key=\"option.name\">\r\n <el-radio v-model=\"selectedValue\" :label=\"option.name\" border>\r\n {{ option.label }}\r\n </el-radio>\r\n </el-row>\r\n </el-tab-pane>\r\n <el-tab-pane v-if=\"showOrganization\" :label=\"$t('workflowEditor.common.organizationStructure')\" name=\"organization\">\r\n <inline-department-user-tree v-if=\"orgType === 'user'\" ref=\"organizationTree\" :multiple=\"false\" @result=\"orgSelect\" />\r\n <inline-department-tree v-if=\"orgType === 'department'\" ref=\"organizationTree\" :multiple=\"false\" @result=\"orgSelect\" />\r\n <inline-workgroup-tree v-if=\"orgType === 'workgroup'\" ref=\"organizationTree\" :multiple=\"false\" @result=\"orgSelect\" />\r\n <inline-system-role-tree v-if=\"orgType === 'role'\" ref=\"organizationTree\" :multiple=\"false\" @result=\"orgSelect\" />\r\n </el-tab-pane>\r\n <el-tab-pane :label=\"$t('workflowEditor.common.formField')\" name=\"formFields\">\r\n <el-radio-group v-model=\"selectedValue\" class=\"group\">\r\n <div v-for=\"field in formFields\" :key=\"field.name\" class=\"item\">\r\n <el-radio :label=\"'${field['+field.name+']}'\">\r\n {{ field.label }}\r\n </el-radio>\r\n </div>\r\n </el-radio-group>\r\n </el-tab-pane>\r\n </el-tabs>\r\n <span slot=\"footer\" class=\"dialog-footer\">\r\n <el-button type=\"primary\" size=\"small\" @click=\"setValue\">\r\n {{ $t('workflowEditorPublicModel.determine') }}\r\n </el-button>\r\n <el-button size=\"small\" @click=\"$emit('close')\">\r\n {{ $t('workflowEditorPublicModel.cancel') }}\r\n </el-button>\r\n </span>\r\n </el-dialog>\r\n</template>\r\n<script>\r\nimport InlineSystemRoleTree from './system-role-tree-inline'\r\nimport { mapGetters } from 'vuex'\r\nimport { getI18n } from '../../../../workflow-editor/src/util'\r\nexport default {\r\n name: 'ValueSelectionDialog',\r\n components: {\r\n InlineSystemRoleTree\r\n },\r\n props: {\r\n standardFields: {\r\n type: [Object, Array],\r\n default: null\r\n },\r\n title: {\r\n type: String,\r\n default: ''\r\n },\r\n showOrganization: {\r\n type: Boolean,\r\n default: true\r\n },\r\n showFormFields: {\r\n type: Boolean,\r\n default: true\r\n },\r\n orgType: {\r\n type: String,\r\n default: ''\r\n }\r\n\r\n },\r\n data() {\r\n let titleName = this.title\r\n let activeTab = 'organization'\r\n if (!this.showOrganization) {\r\n activeTab = 'standardFields'\r\n }\r\n if (!this.title || this.title === '') {\r\n titleName = getI18n().t('workflowEditorMessage.pleaseSelectAValue')\r\n }\r\n return {\r\n selectedValue: '',\r\n activeTab,\r\n titleName: titleName\r\n }\r\n },\r\n computed: {\r\n ...mapGetters('wfEditor', [\r\n 'formFields'\r\n ]),\r\n options() {\r\n if (Array.isArray(this.standardFields)) {\r\n return this.standardFields\r\n } else {\r\n const result = []\r\n for (const key of Object.keys(this.standardFields)) {\r\n result.push({\r\n name: key,\r\n label: this.standardFields[key]\r\n })\r\n }\r\n return result\r\n }\r\n }\r\n },\r\n watch: {\r\n activeTab(value) {\r\n // 切换页签时清空选中的值\r\n this.selectedValue = ''\r\n }\r\n },\r\n methods: {\r\n setValue() {\r\n // 获得组织结构树的结果\r\n this.organizationResultValue()\r\n if (this.selectedValue === '') {\r\n this.$alert(this.$t('workflowEditorMessage.pleaseSelectAValueInTheCurrentTab'))\r\n return\r\n }\r\n this.$emit('close', this.selectedValue)\r\n },\r\n // 监听组织结构树结果\r\n orgSelect(selectedInfo) {\r\n if (selectedInfo) {\r\n if (this.orgType === 'user') {\r\n this.getSelectedUser(selectedInfo.user, selectedInfo.containBranch)\r\n } else if (this.orgType === 'department') {\r\n this.getSelectedDepartmentOrWorkgroup(selectedInfo.department, selectedInfo.containBranch)\r\n } else if (this.orgType === 'workgroup') {\r\n this.getSelectedDepartmentOrWorkgroup(selectedInfo.workgroup, selectedInfo.containBranch)\r\n } else if (this.orgType === 'role') {\r\n this.getSelectedRole(selectedInfo.role)\r\n }\r\n }\r\n },\r\n // 获得组织结构的结果\r\n organizationResultValue() {\r\n if (this.orgType && this.activeTab === 'organization') {\r\n if (this.orgType === 'user') {\r\n this.$refs.organizationTree.confirmSelectUser()\r\n } else if (this.orgType === 'department') {\r\n this.$refs.organizationTree.selectDepartment()\r\n } else if (this.orgType === 'workgroup') {\r\n this.$refs.organizationTree.selectWorkgroup()\r\n } else if (this.orgType === 'role') {\r\n this.$refs.organizationTree.selectRole()\r\n }\r\n }\r\n },\r\n getSelectedUser(user, containBranch) {\r\n // 用户登录名和分支编码的分隔符\r\n const loginNameAndBranchSeparator = '~~'\r\n // 用户姓名和分支名称的分隔符\r\n const userNameAndBranchSeparator = '/'\r\n let loginName = user.loginName\r\n let userName = user.name\r\n if (containBranch) {\r\n if (user.subCompanyId && user.subCompanyId !== null) {\r\n // 用户属于分支机构,拼接分支机构编码\r\n const branchCode = user.subCompanyCode\r\n const branchName = user.subCompanyName\r\n loginName = loginName + loginNameAndBranchSeparator + branchCode\r\n userName = userName + userNameAndBranchSeparator + branchName\r\n } else {\r\n // 用户属于集团公司,拼接公司编码\r\n loginName = loginName + loginNameAndBranchSeparator + user.tenantCode\r\n userName = userName + userNameAndBranchSeparator + user.tenantName\r\n }\r\n this.selectedValue = userName + '[' + loginName + ']'\r\n } else {\r\n this.selectedValue = user.name + '[' + user.loginName + ']'\r\n }\r\n },\r\n getSelectedDepartmentOrWorkgroup(department, containBranch) {\r\n this.selectedValue = department.name\r\n // 用户姓名和分支名称的分隔符\r\n const userNameAndBranchSeparator = '/'\r\n let departmentName = department.name\r\n if (containBranch) {\r\n if (department.subCompanyId && department.subCompanyId !== null) {\r\n // 用户属于分支机构,拼接分支机构编码\r\n const branchName = department.subCompanyName\r\n departmentName = departmentName + userNameAndBranchSeparator + branchName\r\n } else {\r\n // 用户属于集团公司,拼接公司编码\r\n departmentName = departmentName + userNameAndBranchSeparator + department.tenantName\r\n }\r\n this.selectedValue = departmentName + '[' + department.code + ']'\r\n } else {\r\n this.selectedValue = department.name + '[' + department.code + ']'\r\n }\r\n },\r\n getSelectedRole(role) {\r\n this.selectedValue = role.name + '[' + role.code + ']'\r\n }\r\n\r\n }\r\n}\r\n<\/script>\r\n<style scoped>\r\n#custTabOne /deep/ .el-tabs__content{\r\n height:500px\r\n}\r\n</style>\r\n"]}])},function(e,t,n){"use strict";n.r(t);var r=n(326),o=n(157);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";n(474)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"\n.percent[data-v-4d6a43bf]{\r\n margin-left: 10px;\r\n color:red;\r\n font-size:1.2em;\n}\r\n","",{version:3,sources:["packages/workflow-editor/src/properties-editors/human-task/basic-properties.vue"],names:[],mappings:";AAsJA;EACA,iBAAA;EACA,SAAA;EACA,eAAA;AACA",file:"basic-properties.vue?vue&type=style&index=0&id=4d6a43bf&prod&scoped=true&lang=css&",sourcesContent:['<template>\r\n <el-form :model="formModel" label-width="110px">\r\n <el-row>\r\n <el-col :span="12">\r\n <el-form-item :label="$t(\'workflowEditor.task.name\')">\r\n \x3c!-- <el-input v-model="formModel.name" /> --\x3e\r\n <i18n-input v-model="formModel.name" :i18n-key="tache.i18nKey?tache.i18nKey:\'name.\'+formModel.id" @setI18n="setI18nValue" />\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span="12">\r\n <el-form-item :label="$t(\'workflowEditor.task.code\')">\r\n <el-input v-model="formModel.id" @blur="validateId" />\r\n </el-form-item>\r\n </el-col>\r\n </el-row>\r\n <el-form-item :label="$t(\'workflowEditor.task.taskTitle\')">\r\n <task-title v-model="tache.taskTitle" />\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.task.canItBeRejected\')">\r\n <el-switch v-model="tache.rebuttable" />\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.task.emailNotification\')">\r\n <el-switch v-model="tache.mailNotice" />\r\n </el-form-item>\r\n <el-form-item v-if="tache.mailNotice" :label="$t(\'workflowEditor.task.selectMailTemplate\')">\r\n <select-mail-templates v-model="tache.mailTemplateCode" @set-value="setMailTemplateCode" />\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.task.HandlingMethod\')">\r\n <el-radio-group v-model="tache.processingMode.type">\r\n <el-radio label="EDIT">\r\n {{ $t(\'workflowEditor.task.editorial\') }}\r\n </el-radio>\r\n <el-radio label="APPROVE">\r\n {{ $t(\'workflowEditor.task.approvalType\') }}\r\n </el-radio>\r\n <el-radio label="COUNTERSIGN">\r\n {{ $t(\'workflowEditor.task.countersign\') }}\r\n </el-radio>\r\n <el-radio label="VOTE">\r\n {{ $t(\'workflowEditor.task.voting\') }}\r\n </el-radio>\r\n </el-radio-group>\r\n </el-form-item>\r\n <el-form-item v-if="tache.processingMode.type===\'EDIT\'||tache.processingMode.type===\'APPROVE\'" :label="$t(\'workflowEditorMessage.whenThereAreMultipleManagers\')">\r\n <el-radio-group v-model="tache.processingMode.moreTransactor">\r\n <el-radio :label="false">\r\n {{ $t(\'workflowEditor.task.anyOneCanHandleIt\') }}\r\n </el-radio>\r\n <el-radio :label="true">\r\n {{ $t(\'workflowEditor.task.forAll\') }}\r\n </el-radio>\r\n </el-radio-group>\r\n </el-form-item>\r\n <el-form-item v-if="tache.processingMode.type===\'COUNTERSIGN\'||tache.processingMode.type===\'VOTE\'" :label="$t(\'workflowEditor.task.passRate\')">\r\n <el-input-number v-model="tache.processingMode.passRate" :step="10" size="small" :min="0" :max="100" />\r\n <span class="percent">\r\n %\r\n </span>\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.task.modifyOperationName\')">\r\n <el-switch v-model="showActions" />\r\n <custom-actions v-if="showActions" v-model="tache.processingMode.actions" />\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.task.handlingPage\')">\r\n <el-input v-model="tache.taskUrl" />\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.task.remarks\')">\r\n <el-input v-model="tache.remark" type="textarea" autosize />\r\n </el-form-item>\r\n </el-form>\r\n</template>\r\n<script>\r\nimport TaskTitle from \'../common/task-title\'\r\nimport CustomActions from \'./custom-actions\'\r\nimport { validateTacheCode } from \'../../util\'\r\nimport i18nInput from \'../common/i18n-input\'\r\nimport SelectMailTemplates from \'../common/select-mail-template.vue\'\r\nexport default {\r\n name: \'BasicProperties\',\r\n components: {\r\n TaskTitle,\r\n CustomActions,\r\n i18nInput,\r\n SelectMailTemplates\r\n },\r\n props: {\r\n model: {\r\n type: Object,\r\n default: null\r\n },\r\n id: {\r\n type: String,\r\n default: null\r\n },\r\n name: {\r\n type: String,\r\n default: null\r\n }\r\n },\r\n data() {\r\n let showActions = false\r\n const actions = this.model.processingMode.actions.action\r\n if (actions) {\r\n if (Array.isArray(actions) && actions.length === 0) {\r\n showActions = false\r\n } else {\r\n showActions = true\r\n }\r\n }\r\n return {\r\n showActions,\r\n formModel: {\r\n name: this.name,\r\n id: this.id,\r\n tache: this.model\r\n }\r\n }\r\n },\r\n computed: {\r\n tache() {\r\n return this.model\r\n }\r\n },\r\n created() {\r\n if (!this.tache.processingMode.actions) {\r\n this.$set(this.tache.processingMode, \'actions\', {})\r\n }\r\n },\r\n mounted() {\r\n // 支持.snyc修饰符的写法\r\n this.$watch(\'formModel.name\', function(newVal, oldVal) {\r\n this.$emit(\'update:name\', newVal)\r\n })\r\n },\r\n methods: {\r\n // 原来使用$watch来监听id的更改是不行的:input框每输入一个字符都会导致$watch的触发,输入过程中不应该触发(这时候没有输入完成,做的id重复判断是无效的),而是等blur后触发才能保证正确性\r\n validateId() {\r\n validateTacheCode(this)\r\n },\r\n // 关闭选择邮件模板弹框\r\n setMailTemplateCode(mailTemplateCode) {\r\n this.tache.mailTemplateCode = mailTemplateCode\r\n },\r\n setI18nValue(i18nKey) {\r\n this.tache.i18nKey = i18nKey\r\n }\r\n }\r\n}\r\n<\/script>\r\n<style scoped>\r\n.percent{\r\n margin-left: 10px;\r\n color:red;\r\n font-size:1.2em;\r\n}\r\n</style>\r\n']}])},function(e,t,n){"use strict";n.r(t);var r=n(328),o=n(161);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(699);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"b65ebf7a",null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(329),o=n(163);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"96793d3c",null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(330),o=n(165);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(690);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"016e1d5a",null);t.default=a.exports},function(e,t,n){"use strict";n(478)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"#appContainer[data-v-016e1d5a] .el-checkbox{display:block}#appContainer[data-v-016e1d5a] .el-transfer-panel{width:400px}#appContainer[data-v-016e1d5a] .ellipsis{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:keep-all;width:55%}\n","",{version:3,sources:["D:/pack/workflow-editor-dev-dw/packages/workflow-editor/src/properties-editors/human-task/editable-field-selection.vue"],names:[],mappings:"AACC,4CACG,aACJ,CAAC,kDAEE,WACF,CAAC,yCAEE,oBAAoB,CACpB,eAAe,CACf,sBAAuB,CACvB,kBAAmB,CACnB,mBAAoB,CACpB,SACF",file:"editable-field-selection.vue?vue&type=style&index=0&id=016e1d5a&prod&lang=scss&scoped=true&",sourcesContent:["\n #appContainer /deep/ .el-checkbox {\n display: block\n}\n #appContainer /deep/ .el-transfer-panel{\n width:400px\n }\n #appContainer /deep/ .ellipsis {\n display:inline-block;\n overflow:hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n word-break: keep-all;\n width: 55%\n }\n"]}])},function(e,t,n){"use strict";n.r(t);var r=n(331),o=n(167);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"1c6eb52a",null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(332),o=n(169);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"2e72598c",null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(333),o=n(171);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4),n(41),n(23),n(1),n(18),n(19),n(25),n(5);var r=n(2);n(42),n(6),n(19),n(18),n(1),n(43),n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.departmentStandardFieldsForTransactor=t.departmentStandardFieldsForReminder=t.conditionTypes=t.allStandardFieldsForTransactor=void 0,t.displayUserCondition=function(e){var t,n="",r=s(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;""!==o.value&&(n=n+o.leftBracket+p[o.key]+" "+m[o.operator]+" "+k(o.value)+o.rightBracket+" "+h[o.logicOperator]+" ")}}catch(e){r.e(e)}finally{r.f()}var a=" "+(0,i.getI18n)().t("workflowEditor.process.perhaps")+" ",l=" "+(0,i.getI18n)().t("workflowEditor.process.also")+" ";n.lastIndexOf(a)+a.length===n.length?n=n.substring(0,n.lastIndexOf(a)):n.lastIndexOf(l)+l.length===n.length&&(n=n.substring(0,n.lastIndexOf(l)));return n},t.formatStandardValue=k,t.generateUserCondition=function(e){var t,n="",r=s(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;""!==o.value&&(n=n+o.leftBracket+o.key+" "+o.operator+" "+o.value+o.rightBracket+" "+o.logicOperator+" ")}}catch(e){r.e(e)}finally{r.f()}var i=" condition.operator.or ",a=" condition.operator.and ";n.lastIndexOf(i)+i.length===n.length?n=n.substring(0,n.lastIndexOf(i)):n.lastIndexOf(a)+a.length===n.length&&(n=n.substring(0,n.lastIndexOf(a)));return n},t.operators=t.logicOperators=void 0,t.parseCondition=function(e,t){var n,r=t.replace(/ condition.operator.or /g," condition.operator.or^_^"),o=(r=r.replace(/ condition.operator.and /g," condition.operator.and^_^")).split("^_^"),i=0,a=s(o);try{for(a.s();!(n=a.n()).done;){var l=n.value;if(""!==l){var c,u="",d="",f="",p="",h="condition.operator.or",m=l.split(" "),v=m[0].indexOf("${");v>0?(u=m[0].substring(0,v),d=m[0].substring(v)):d=m[0],c=m[1],(v=m[2].indexOf(")"))>0?(f=m[2].substring(0,v),p=m[2].substring(v)):f=m[2],4===m.length&&(h=m[3]),e.push({id:i,leftBracket:u,key:d,operator:c,value:f,rightBracket:p,logicOperator:h}),i++}}}catch(e){a.e(e)}finally{a.f()}return i},t.workgroupStandardFieldsForTransactor=t.workgroupStandardFieldsForReminder=t.userStandardFieldsForTransactor=t.userStandardFieldsForReminder=void 0,n(46),n(20),n(20),n(46);var o=r(n(9)),i=n(12);function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={"${instanceCreatorName}":(0,i.getI18n)().t("workflowEditor.process.processInitiator"),"${instanceCreatorDirectSuperiorName}":(0,i.getI18n)().t("workflowEditor.process.sponsorsImmediateSuperior"),"${currentTransactorName}":(0,i.getI18n)().t("workflowEditor.process.nameOfCurrentHandler"),"${currentTransactorDirectSuperiorName}":(0,i.getI18n)().t("workflowEditor.process.nameOfTheImmediateSuperiorOfTheCurrentHandler")};t.userStandardFieldsForReminder=u;var d={"${instanceCreatorDepartment}":(0,i.getI18n)().t("workflowEditor.process.processInitiatorDepartment"),"${instanceCreatorSuperiorDepartment}":(0,i.getI18n)().t("workflowEditor.process.sponsorsSuperiorDepartment"),"${instanceCreatorUpstageDepartment}":(0,i.getI18n)().t("workflowEditor.process.sponsorTopDepartment"),"${instanceCreatorDirectSuperiorDepartment}":(0,i.getI18n)().t("workflowEditor.process.superiorDepartmentDirectlyUnderTheInitiator"),"${currentTransactorDepartment}":(0,i.getI18n)().t("workflowEditor.process.currentHandlerDepartment"),"${currentTransactorSuperiorDepartment}":(0,i.getI18n)().t("workflowEditor.process.currentHandlerSuperiorDepartment"),"${currentTransactorUpstageDepartment}":(0,i.getI18n)().t("workflowEditor.process.topDepartmentOfCurrentHandler"),"${currentTransactorDirectSuperiorDepartment}":(0,i.getI18n)().t("workflowEditor.process.currentHandlerDirectSuperiorDepartment")};t.departmentStandardFieldsForReminder=d;var f={"${instanceCreatorrWorkGroup}":(0,i.getI18n)().t("workflowEditor.process.processInitiatorWorkingGroup"),"${instanceCreatorDirectSuperiorWorkGroup}":(0,i.getI18n)().t("workflowEditor.process.sponsorsImmediateSuperiorWorkingGroup"),"${currentTransactorWorkGroup}":(0,i.getI18n)().t("workflowEditor.process.currentHandlerWorkingGroup"),"${currentTransactorDirectSuperiorWorkGroup}":(0,i.getI18n)().t("workflowEditor.process.workingGroupDirectlyUnderTheCurrentHandler")};t.workgroupStandardFieldsForReminder=f;var p={"${user}":(0,i.getI18n)().t("workflowEditor.common.user"),"${department}":(0,i.getI18n)().t("workflowEditor.common.department"),"${role}":(0,i.getI18n)().t("workflowEditor.common.role"),"${workgroup}":(0,i.getI18n)().t("workflowEditor.common.workgroup")};t.conditionTypes=p;var h={"condition.operator.or":(0,i.getI18n)().t("workflowEditor.process.perhaps"),"condition.operator.and":(0,i.getI18n)().t("workflowEditor.process.also")};t.logicOperators=h;var m={"operator.text.eq":(0,i.getI18n)().t("workflowEditor.process.beEqualTo"),"operator.text.neq":(0,i.getI18n)().t("workflowEditor.process.notEqualTo")};t.operators=m;var v=c(c(c({},u),d),f),g={"${instanceCreatorName}":(0,i.getI18n)().t("workflowEditor.process.processInitiator"),"${instanceCreatorDirectSuperiorName}":(0,i.getI18n)().t("workflowEditor.process.sponsorsImmediateSuperior")};t.userStandardFieldsForTransactor=g;var b={"${upstageDepartment}":(0,i.getI18n)().t("workflowEditor.process.topDepartments"),"${instanceCreatorDepartment}":(0,i.getI18n)().t("workflowEditor.process.processInitiatorDepartment"),"${instanceCreatorSuperiorDepartment}":(0,i.getI18n)().t("workflowEditor.process.sponsorsSuperiorDepartment"),"${instanceCreatorUpstageDepartment}":(0,i.getI18n)().t("workflowEditor.process.sponsorTopDepartment"),"${instanceCreatorDirectSuperiorDepartment}":(0,i.getI18n)().t("workflowEditor.process.superiorDepartmentDirectlyUnderTheInitiator"),"${previousTransactorDepartment}":(0,i.getI18n)().t("workflowEditor.process.lastLinkHandlerDepartment"),"${previousTransactorSuperiorDepartment}":(0,i.getI18n)().t("workflowEditor.process.previousLinkHandlerSuperiorDepartment"),"${previousTransactorUpstageDepartment}":(0,i.getI18n)().t("workflowEditor.process.topDepartmentOfHandlerInThePreviousLink"),"${previousTransactorDirectSuperiorDepartment}":(0,i.getI18n)().t("workflowEditor.process.previousLinkHandlersDirectSuperiorDepartment")};t.departmentStandardFieldsForTransactor=b;var w={"${instanceCreatorrWorkGroup}":(0,i.getI18n)().t("workflowEditor.process.processInitiatorWorkingGroup"),"${instanceCreatorDirectSuperiorWorkGroup}":(0,i.getI18n)().t("workflowEditor.process.sponsorsImmediateSuperiorWorkingGroup"),"${previousTransactorWorkGroup}":(0,i.getI18n)().t("workflowEditor.process.previousLinkHandlerWorkingGroup"),"${previousTransactorDirectSuperiorWorkGroup}":(0,i.getI18n)().t("workflowEditor.process.workingGroupDirectlyUnderTheManagerInThePreviousLink")};t.workgroupStandardFieldsForTransactor=w;var y=c(c(c({},g),b),w);function k(e){return void 0!==v[e]?v[e]:""}t.allStandardFieldsForTransactor=y},function(e,t,n){"use strict";n.r(t);var r=n(336),o=n(177);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(697);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";n(486)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"\n.searchResult {\r\n color:red\n}\n.inline-input-custom {\r\n width : 90%\n}\r\n","",{version:3,sources:["packages/workflow-editor/src/properties-editors/common/system-role-tree.vue"],names:[],mappings:";AAuBA;EACA;AACA;AACA;EACA;AACA",file:"system-role-tree.vue?vue&type=style&index=0&id=6d8028b4&prod&lang=css&",sourcesContent:['<template>\r\n <el-dialog\r\n visible\r\n :title="$t(\'workflowEditorMessage.selectRole\')"\r\n width="30%"\r\n top="10vh"\r\n append-to-body\r\n custom-class="properties-editor-noTab"\r\n :close-on-click-modal="false"\r\n @close="$emit(\'close\')"\r\n >\r\n <inline-system-role-tree ref="systemRoleTree" :multiple="multiple" @result="roleResult" />\r\n <span v-if="multiple" slot="footer" class="dialog-footer">\r\n <el-button type="primary" size="small" @click="selectRoles">\r\n {{ $t(\'workflowEditorPublicModel.determine\') }}\r\n </el-button>\r\n <el-button size="small" @click="$emit(\'close\')">\r\n {{ $t(\'workflowEditorPublicModel.cancel\') }}\r\n </el-button>\r\n </span>\r\n </el-dialog>\r\n</template>\r\n<style>\r\n.searchResult {\r\n color:red\r\n}\r\n.inline-input-custom {\r\n width : 90%\r\n}\r\n</style>\r\n<script>\r\nimport InlineSystemRoleTree from \'./system-role-tree-inline\'\r\nexport default {\r\n name: \'SystemRoleTree\',\r\n components: {\r\n InlineSystemRoleTree\r\n },\r\n props: {\r\n multiple: {\r\n type: Boolean,\r\n default: false\r\n }\r\n },\r\n computed: {\r\n },\r\n watch: {\r\n },\r\n created() {\r\n },\r\n methods: {\r\n roleResult(selectNodeInfo) {\r\n if (selectNodeInfo) {\r\n this.$emit(\'close\', selectNodeInfo)\r\n } else {\r\n this.$emit(\'close\')\r\n }\r\n },\r\n selectRoles() {\r\n this.$refs.systemRoleTree.selectRole()\r\n }\r\n }\r\n}\r\n<\/script>\r\n']}])},function(e,t,n){"use strict";n(487)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"\n.el-checkbox[data-v-b65ebf7a]{\n margin-left: 20px;\n}\n","",{version:3,sources:["packages/workflow-editor/src/properties-editors/human-task/permission-settings.vue"],names:[],mappings:";AAgNA;EACA,iBAAA;AACA",file:"permission-settings.vue?vue&type=style&index=0&id=b65ebf7a&prod&scoped=true&lang=css&",sourcesContent:['<template>\r\n <el-form :model="formModel">\r\n <el-form-item :label="$t(\'workflowEditor.task.allowEditingForms\')">\r\n <el-switch v-model="formModel.editForm.permission" />\r\n <editable-fields v-if="formModel.editForm.permission" v-model="formModel.editForm.field" />\r\n <editable-child-fields v-if="formModel.editForm.permission" v-model="formModel.editForm.subTablePermission" />\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.task.allowViews\')">\r\n <el-switch v-model="formModel.viewOpinion.permission" />\r\n <el-checkbox v-if="formModel.viewOpinion.permission" v-model="formModel.viewOpinionCheckbox">\r\n {{ $t(\'workflowEditor.task.additionalConditions\') }}\r\n </el-checkbox>\r\n <additional-condition v-if="formModel.viewOpinion.permission&&formModel.viewOpinionCheckbox" v-model="formModel.viewOpinion.condition" />\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.task.commentsAllowed\')">\r\n <el-switch v-model="formModel.editOpinion.permission" />\r\n <el-checkbox v-if="formModel.editOpinion.permission" v-model="formModel.editOpinionCheckbox">\r\n {{ $t(\'workflowEditor.task.additionalConditions\') }}\r\n </el-checkbox>\r\n <additional-condition v-if="formModel.editOpinion.permission&&formModel.editOpinionCheckbox" v-model="formModel.editOpinion.condition" />\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.task.commentsAreRequired\')">\r\n <el-switch v-model="formModel.requireOpinion.permission" />\r\n <el-checkbox v-if="formModel.requireOpinion.permission" v-model="formModel.requireOpinionCheckbox">\r\n {{ $t(\'workflowEditor.task.additionalConditions\') }}\r\n </el-checkbox>\r\n <additional-condition v-if="formModel.requireOpinion.permission&&formModel.requireOpinionCheckbox" v-model="formModel.requireOpinion.condition" />\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.task.allowToViewCountersignatureResults\')">\r\n <el-switch v-model="formModel.viewMeetingResult.permission" />\r\n <el-checkbox v-if="formModel.viewMeetingResult.permission" v-model="formModel.viewMeetingResultCheckbox">\r\n {{ $t(\'workflowEditor.task.additionalConditions\') }}\r\n </el-checkbox>\r\n <additional-condition v-if="formModel.viewMeetingResult.permission&&formModel.viewMeetingResultCheckbox" v-model="formModel.viewMeetingResult.condition" />\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.task.allowToViewVotingResults\')">\r\n <el-switch v-model="formModel.viewVoteResult.permission" />\r\n <el-checkbox v-if="formModel.viewVoteResult.permission" v-model="formModel.viewVoteResultCheckbox">\r\n {{ $t(\'workflowEditor.task.additionalConditions\') }}\r\n </el-checkbox>\r\n <additional-condition v-if="formModel.viewVoteResult.permission&&formModel.viewVoteResultCheckbox" v-model="formModel.viewVoteResult.condition" />\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.task.allowToViewFlowHistory\')">\r\n <el-switch v-model="formModel.viewFlowHistory.permission" />\r\n <el-checkbox v-if="formModel.viewFlowHistory.permission" v-model="formModel.viewFlowHistoryCheckbox">\r\n {{ $t(\'workflowEditor.task.additionalConditions\') }}\r\n </el-checkbox>\r\n <additional-condition v-if="formModel.viewFlowHistory.permission&&formModel.viewFlowHistoryCheckbox" v-model="formModel.viewFlowHistory.condition" />\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.task.allowFormsToPrint\')">\r\n <el-switch v-model="formModel.printForm.permission" />\r\n <el-checkbox v-if="formModel.printForm.permission" v-model="formModel.printFormCheckbox">\r\n {{ $t(\'workflowEditor.task.additionalConditions\') }}\r\n </el-checkbox>\r\n <additional-condition v-if="formModel.printForm.permission&&formModel.printFormCheckbox" v-model="formModel.printForm.condition" />\r\n </el-form-item>\r\n <user-selection v-model="formModel.deleteInstance.userCondition" :label="$t(\'workflowEditor.task.deletePermission\')" label-width="100px" :current-transactor="true" />\r\n <el-form-item :label="$t(\'workflowEditor.task.attachmentAuthority\')">\r\n <el-switch v-model="formModel.attachment.permission" />\r\n </el-form-item>\r\n <el-card v-if="formModel.attachment.permission" class="box-card">\r\n <el-form-item :label="$t(\'workflowEditor.task.addAttachment\')">\r\n <el-switch v-model="formModel.attachment.add.permission" />\r\n <el-checkbox v-if="formModel.attachment.add.permission" v-model="formModel.attachment.addCheckbox">\r\n {{ $t(\'workflowEditor.task.additionalConditions\') }}\r\n </el-checkbox>\r\n <additional-condition v-if="formModel.attachment.add.permission&&formModel.attachment.addCheckbox" v-model="formModel.attachment.add.condition" />\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.task.deleteAttachment\')">\r\n <el-switch v-model="formModel.attachment.delete.permission" />\r\n <el-checkbox v-if="formModel.attachment.delete.permission" v-model="formModel.attachment.deleteCheckbox">\r\n {{ $t(\'workflowEditor.task.additionalConditions\') }}\r\n </el-checkbox>\r\n <additional-condition v-if="formModel.attachment.delete.permission&&formModel.attachment.deleteCheckbox" v-model="formModel.attachment.delete.condition" />\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.task.downloadAttachment\')">\r\n <el-switch v-model="formModel.attachment.download.permission" />\r\n <el-checkbox v-if="formModel.attachment.download.permission" v-model="formModel.attachment.downloadCheckbox">\r\n {{ $t(\'workflowEditor.task.additionalConditions\') }}\r\n </el-checkbox>\r\n <additional-condition v-if="formModel.attachment.download.permission&&formModel.attachment.downloadCheckbox" v-model="formModel.attachment.download.condition" />\r\n </el-form-item>\r\n </el-card>\r\n <el-form-item :label="$t(\'workflowEditor.task.bodyPermission\')">\r\n <el-switch v-model="formModel.officialText.permission" />\r\n </el-form-item>\r\n </el-form>\r\n</template>\r\n<script>\r\nimport EditableFields from \'./editable-fields\'\r\nimport editableChildFields from \'./editable-child-fields\'\r\nimport AdditionalCondition from \'../common/additional-condition\'\r\nimport UserSelection from \'../common/user-selection\'\r\nimport { deepCopy } from \'../../util\'\r\nexport default {\r\n name: \'PermissionSettings\',\r\n components: {\r\n EditableFields,\r\n UserSelection,\r\n AdditionalCondition,\r\n editableChildFields\r\n },\r\n props: {\r\n value: {\r\n type: Object,\r\n default: null\r\n }\r\n },\r\n data() {\r\n const formModel = deepCopy(this.value)\r\n // 控制附加条件的属性名\r\n const attrNames = [\r\n \'viewOpinion\', \'editOpinion\', \'requireOpinion\', \'viewMeetingResult\', \'viewVoteResult\',\r\n \'viewFlowHistory\', \'printForm\'\r\n ]\r\n attrNames.forEach(name => {\r\n // 如果是\'\'或者undefined,那么两次!后就是false\r\n formModel[name + \'Checkbox\'] = !!this.value[name].condition\r\n })\r\n // 控制附件各个权限的附加条件的属性名\r\n const attachmentAttrNames = [\r\n \'add\', \'delete\', \'download\'\r\n ]\r\n attachmentAttrNames.forEach(name => {\r\n // 如果是\'\'或者undefined,那么两次!后就是false\r\n formModel.attachment[name + \'Checkbox\'] = !!this.value.attachment[name] && !!this.value.attachment[name].condition\r\n if (!formModel.attachment.permission) {\r\n formModel.attachment[name] = {\r\n permission: false,\r\n condition: \'\'\r\n }\r\n }\r\n })\r\n\r\n return {\r\n formModel,\r\n attrNames,\r\n attachmentAttrNames\r\n }\r\n },\r\n mounted() {\r\n this.$watch(\'formModel\', function(formModel) {\r\n const result = {\r\n editForm: { },\r\n viewOpinion: { },\r\n editOpinion: { },\r\n requireOpinion: { },\r\n viewMeetingResult: { },\r\n viewVoteResult: { },\r\n viewFlowHistory: { },\r\n printForm: { },\r\n officialText: { },\r\n attachment: { },\r\n deleteInstance: {\r\n userCondition: \'\'\r\n }\r\n }\r\n console.log(\'触发了watch\')\r\n result.editForm.permission = formModel.editForm.permission\r\n if (formModel.editForm.permission) {\r\n result.editForm.field = formModel.editForm.field\r\n result.editForm.subTablePermission = formModel.editForm.subTablePermission\r\n }\r\n\r\n this.attrNames.map(name => {\r\n // permission为true且附件条件的checkbox也选中了,condition才有效\r\n result[name].permission = formModel[name].permission\r\n if (formModel[name].permission && formModel[name + \'Checkbox\']) {\r\n result[name].condition = formModel[name].condition\r\n } else {\r\n result[name].condition = \'\'\r\n }\r\n })\r\n\r\n result.attachment.permission = formModel.attachment.permission\r\n // 允许设置附件权限时,add,delete等的权限设置才有效,否则根本不生成add,delete等对应的json\r\n if (formModel.attachment.permission) {\r\n this.attachmentAttrNames.map(name => {\r\n // 需要避免result的add,delete等属性为undefined\r\n if (!result.attachment[name])result.attachment[name] = {}\r\n // attachment不是undefined并且对应的add,delete等属性的permission为true\r\n result.attachment[name].permission = formModel.attachment[name].permission\r\n // permission为true且附件条件的checkbox也选中了,condition才有效\r\n if (formModel.attachment[name].permission && formModel.attachment[name + \'Checkbox\']) {\r\n result.attachment[name].condition = formModel.attachment[name].condition\r\n } else {\r\n result.attachment[name].condition = \'\'\r\n }\r\n })\r\n }\r\n\r\n // 正文权限暂不处理\r\n this.$emit(\'input\', result)\r\n }, {\r\n deep: true\r\n })\r\n },\r\n methods: {\r\n\r\n }\r\n}\r\n<\/script>\r\n<style scoped>\r\n .el-checkbox{\r\n margin-left: 20px;\r\n }\r\n</style>\r\n']}])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.standardValues=void 0;var r=n(12),o={"${currentTime}":(0,r.getI18n)().t("workflowEditor.process.handlingTimeOfThisLink"),"${currentTransactorId}":(0,r.getI18n)().t("workflowEditor.process.handlerIDOfThisLink"),"${currentTransactorMainDepartmentId}":(0,r.getI18n)().t("workflowEditor.process.currentHandlerPrincipalDepartmentID"),"${currentTransactorDirectSuperiorId}":(0,r.getI18n)().t("workflowEditor.process.iDOfTheImmediateSuperiorOfTheCurrentHandler"),"${currentTransactorDirectSuperiorMainDepartmentId}":(0,r.getI18n)().t("workflowEditor.process.iDOfTheSuperiorDepartmentDirectlyUnderTheCurrentHandler"),"${currentTransactor}":(0,r.getI18n)().t("workflowEditor.process.loginNameOfTheHandlerInThisLink"),"${currentTransactorName }":(0,r.getI18n)().t("workflowEditor.process.NameOfCurrentHandler"),"${currentTransactorDepartment }":(0,r.getI18n)().t("workflowEditor.process.CurrentHandlerDepartment"),"${currentTransactorDepartmentId}":(0,r.getI18n)().t("workflowEditor.process.CurrentHandlerDepartmentID"),"${currentTransactorMainDepartment}":(0,r.getI18n)().t("workflowEditor.process.CurrentManagersPrincipalDepartment"),"${currentTransactorSuperiorDepartmentId}":(0,r.getI18n)().t("workflowEditor.process.iDOfSsuperiorDepartmentOfCurrentHandler"),"${currentTransactorSuperiorDepartment}":(0,r.getI18n)().t("workflowEditor.process.CurrentHandlersSuperiorDepartment"),"${currentTransactorUpstageDepartment}":(0,r.getI18n)().t("workflowEditor.process.TopDepartmentOfCurrentHandler"),"${currentTransactorUpstageDepartmentId}":(0,r.getI18n)().t("workflowEditor.process.TopDepartmentIDOfCurrentHandler"),"${currentTransactorRole}":(0,r.getI18n)().t("workflowEditor.process.CurrentHandlerRole"),"${currentTransactorRoleId}":(0,r.getI18n)().t("workflowEditor.process.CurrentHandlerRoleID"),"${currentTransactorWorkGroup}":(0,r.getI18n)().t("workflowEditor.process.currentHandlerWorkingGroup"),"${currentTransactorWorkGroupId}":(0,r.getI18n)().t("workflowEditor.process.CurrentHandlerWorkingGroupID"),"${currentTransactorDirectSuperior}":(0,r.getI18n)().t("workflowEditor.process.LoginNameOfTheImmediateSuperiorOfTheCurrentHandler"),"${currentTransactorDirectSuperiorName}":(0,r.getI18n)().t("workflowEditor.process.nameOfTheImmediateSuperiorOfTheCurrentHandler"),"${currentTransactorDirectSuperiorDepartment}":(0,r.getI18n)().t("workflowEditor.process.currentHandlersDirectSuperiorDepartment"),"${currentTransactorDirectSuperiorDepartmentId}":(0,r.getI18n)().t("workflowEditor.process.currentManagersIdDirectlyUnderTheSuperior"),"${currentTransactorDirectSuperiorMainDepartment}":(0,r.getI18n)().t("workflowEditor.process.currentManagersDirectSuperiorDepartment"),"${currentTransactorDirectSuperiorRole}":(0,r.getI18n)().t("workflowEditor.process.currentManagersDirectSuperiorRole"),"${currentTransactorDirectSuperiorRoleId}":(0,r.getI18n)().t("workflowEditor.process.currentHandlersDirectSuperiorRoleID"),"${currentTransactorDirectSuperiorWorkGroup}":(0,r.getI18n)().t("workflowEditor.process.currentManagersDirectSuperiorWork"),"${currentTransactorDirectSuperiorWorkGroupId}":(0,r.getI18n)().t("workflowEditor.process.iDOfTheWorkingGroupDirectlyUnderTheCurrentHandler"),"${currentOperation}":(0,r.getI18n)().t("workflowEditor.process.operationsPerformedInThisPhase"),"${previousTransactorId}":(0,r.getI18n)().t("workflowEditor.process.handlerIDOfThePreviousLink"),"${previousTransactor}":(0,r.getI18n)().t("workflowEditor.process.lastLinkHandlerLogin"),"${previousTransactorName}":(0,r.getI18n)().t("workflowEditor.process.nameOfHandlerInThePreviousLink")};t.standardValues=o},function(e,t,n){"use strict";var r=n(65),o=n(54);e.exports=function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t,n){"use strict";n(495)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"\nspan[data-v-7e8353be]{\r\n margin:0 10px;\n}\r\n","",{version:3,sources:["packages/workflow-editor/src/properties-editors/common/reminder.vue"],names:[],mappings:";AA+KA;EACA,aAAA;AACA",file:"reminder.vue?vue&type=style&index=0&id=7e8353be&prod&scoped=true&lang=css&",sourcesContent:['<template>\r\n <el-form :model="model" label-width="80px">\r\n <el-form-item :label="$t(\'workflowEditor.task.needToBeUrged\')">\r\n <el-switch\r\n v-model="showReminder"\r\n />\r\n </el-form-item>\r\n <div v-if="showReminder">\r\n <common-notice-tool v-model="model.remindType" :label="$t(\'workflowEditor.task.urgingMethod\')" />\r\n <el-form-item v-if="model.remindType && model.remindType.length > 0 && model.remindType.indexOf(\'mail\') !== -1" :label="$t(\'workflowEditor.task.selectMailTemplate\')">\r\n <select-mail-templates v-model="model.noticeMailTemplateCode" @set-value="setMailTemplateCode" />\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.task.timeLimitForHandling\')" size="mini">\r\n <el-input-number v-model="model.dueDate" controls-position="right" :min="1" :max="30" style="width:90px" />\r\n <el-select v-model="model.dueTimeUnit" style="width:70px">\r\n <el-option :label="$t(\'workflowEditor.task.day\')" value="day" />\r\n <el-option :label="$t(\'workflowEditor.task.hour\')" value="hour" />\r\n </el-select>\r\n <span>{{ $t(\'workflowEditor.task.urgingInterval\') }}</span><el-input-number v-model="model.repeat" controls-position="right" :min="1" :max="30" style="width:90px" />\r\n <el-select v-model="model.timeUnit" style="width:70px">\r\n <el-option :label="$t(\'workflowEditor.task.day\')" value="day" />\r\n <el-option :label="$t(\'workflowEditor.task.hour\')" value="hour" />\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item>\r\n <el-radio v-model="showNotice" :label="false">\r\n {{ $t(\'workflowEditor.task.alwaysUrging\') }}\r\n </el-radio>\r\n <el-radio v-model="showNotice" :label="true">\r\n {{ $t(\'workflowEditor.task.limitedUrging\') }}\r\n </el-radio>\r\n </el-form-item>\r\n <div v-if="showNotice">\r\n <el-form-item :label="$t(\'workflowEditor.task.timesOfUrging\')" size="mini">\r\n <el-input-number v-model="model.remindTimes" controls-position="right" :min="1" :max="99" style="width:90px" />\r\n </el-form-item>\r\n <common-notice-tool v-model="model.noticeType" :label="$t(\'workflowEditor.common.notificationMethod\')" />\r\n <el-form-item :label="$t(\'workflowEditor.common.notifyPersonnel\')" style="margin-bottom:5px">\r\n <el-checkbox v-model="model.containTransferUser">\r\n {{ $t(\'workflowEditor.task.includingHandoverPersonnel\') }}\r\n </el-checkbox>\r\n </el-form-item>\r\n <el-form-item label-width="0">\r\n <common-user-condition v-model="model.noticeUserCondition" />\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.task.handoverPersonnel\')" style="margin-bottom:5px">\r\n <el-checkbox v-model="model.containNoticeUser">\r\n {{ $t(\'workflowEditor.task.includeNotifyPeople\') }}\r\n </el-checkbox>\r\n </el-form-item>\r\n <el-form-item label-width="0">\r\n <common-user-condition v-model="model.transferUserCondition" />\r\n </el-form-item>\r\n </div>\r\n </div>\r\n </el-form>\r\n</template>\r\n<script>\r\nimport CommonNoticeTool from \'./common-notice-tool\'\r\nimport CommonUserCondition from \'./common-user-condition\'\r\nimport SelectMailTemplates from \'../common/select-mail-template.vue\'\r\nimport Vue from \'vue\'\r\nexport default {\r\n name: \'Reminder\',\r\n components: {\r\n CommonNoticeTool,\r\n CommonUserCondition,\r\n SelectMailTemplates\r\n },\r\n props: {\r\n value: {\r\n type: [Object, String],\r\n default: null\r\n }\r\n },\r\n data() {\r\n let showReminder = false\r\n let showNotice = false\r\n let model = {\r\n dueDate: 1,\r\n dueTimeUnit: \'day\',\r\n repeat: 1,\r\n containTransferUser: false,\r\n containNoticeUser: false,\r\n remindType: \'mail\',\r\n timeUnit: \'day\',\r\n remindTimes: 0,\r\n noticeType: \'\',\r\n noticeUserCondition: \'\',\r\n transferUserCondition: \'\'\r\n }\r\n if (this.value !== null && this.value !== undefined && this.value !== \'\') {\r\n model = this.value\r\n showReminder = true\r\n if (this.value.remindTimes > 0) {\r\n showNotice = true\r\n }\r\n if (!model.dueTimeUnit) {\r\n model.dueTimeUnit = \'day\'\r\n }\r\n }\r\n return {\r\n showReminder,\r\n showNotice,\r\n model,\r\n showMailTemplateFlag: false,\r\n baseURL: \'\',\r\n optionUrl: \'\',\r\n multiSelectData: [],\r\n options: {\r\n showColumns: \'code,name\'\r\n }\r\n }\r\n },\r\n watch: {\r\n showReminder(val) {\r\n if (val) {\r\n this.$emit(\'input\', this.model)\r\n } else {\r\n this.$emit(\'input\', null)\r\n }\r\n },\r\n showNotice(val) {\r\n if (val) {\r\n this.$emit(\'input\', this.model)\r\n } else {\r\n // 复制model的值发送出去,不修改model的值,这样用户来回切换选项或者页签的时候,值还在,但是一旦关闭就没有了\r\n this.$emit(\'input\', {\r\n remindType: this.model.remindType,\r\n dueDate: this.model.dueDate,\r\n dueTimeUnit: this.model.dueTimeUnit,\r\n repeat: this.model.repeat,\r\n timeUnit: this.model.timeUnit,\r\n\r\n remindTimes: 0,\r\n noticeType: \'\',\r\n noticeUserCondition: \'\',\r\n containTransferUser: false,\r\n transferUserCondition: \'\',\r\n containNoticeUser: false\r\n })\r\n }\r\n }\r\n },\r\n created() {\r\n this.baseURL = Vue.prototype.baseURL\r\n this.optionUrl = \'/bs/email-templates/list/0\'\r\n // inform在xml中可能是没有的,所以不能直接使用inform作为model\r\n // 通过deep监听model把设置的值返回给流程的inform属性\r\n this.$watch(\'model\', function(newVal, oldVal) {\r\n let reminder = null\r\n if (this.showReminder) {\r\n reminder = this.model\r\n if (!reminder.dueTimeUnit) {\r\n reminder.dueTimeUnit = \'day\'\r\n }\r\n }\r\n console.log(reminder)\r\n this.$emit(\'input\', reminder)\r\n }, {\r\n deep: true\r\n })\r\n },\r\n methods: {\r\n // 关闭选择邮件模板弹框\r\n setMailTemplateCode(mailTemplateCode) {\r\n this.model.noticeMailTemplateCode = mailTemplateCode\r\n },\r\n selectData(selection, row) {\r\n this.multiSelectData = selection\r\n }\r\n }\r\n}\r\n<\/script>\r\n<style scoped>\r\nspan{\r\n margin:0 10px;\r\n}\r\n</style>\r\n']}])},function(e,t,n){"use strict";n.r(t);var r=n(342),o=n(189);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";n(499)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,'\r\n/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/\n.properties-editor[data-v-31f14dc3] .el-dialog__body{\r\n padding-top: 0\n}\r\n',"",{version:3,sources:["packages/workflow-editor/src/properties-editors/human-task.vue"],names:[],mappings:";AAiGA,qEAAA;AACA;EACA;AACA",file:"human-task.vue?vue&type=style&index=0&id=31f14dc3&prod&scoped=true&lang=css&",sourcesContent:['<template>\r\n <el-dialog\r\n visible\r\n top="10vh"\r\n :title="$t(\'workflowEditor.task.linkAttribute\')"\r\n :center="true"\r\n append-to-body\r\n custom-class="properties-editor"\r\n @open="$emit(\'open\')"\r\n @opend="$emit(\'opend\')"\r\n @close="$emit(\'close\')"\r\n @closed="$emit(\'closed\')"\r\n >\r\n <el-tabs v-model="activeTab" type="border-card" @tab-click="handleClick">\r\n <el-tab-pane :label="$t(\'workflowEditor.task.basicProperties\')" name="basicProperties">\r\n <basic-properties\r\n :id.sync="model.ref.attr.id"\r\n :name.sync="model.ref.attr.name"\r\n :model="model.ref.basicProperties"\r\n />\r\n </el-tab-pane>\r\n <el-tab-pane :label="$t(\'workflowEditor.task.settingOfHandler\')" name="transactors">\r\n <transactor-settings :model="model.ref.transactorSettings" />\r\n </el-tab-pane>\r\n <el-tab-pane :label="$t(\'workflowEditor.task.permissionSettings\')" name="permissions">\r\n <permission-settings v-model="model.ref.permissionSettings" />\r\n </el-tab-pane>\r\n <el-tab-pane :label="$t(\'workflowEditor.task.autoFillInFieldSettings\')" name="autoFilledFields">\r\n <auto-filled-fields v-model="model.ref.autoFilledFields" />\r\n </el-tab-pane>\r\n <el-tab-pane :label="$t(\'workflowEditor.task.reminderSettings\')" name="reminders">\r\n <reminder v-model="model.ref.reminder" />\r\n </el-tab-pane>\r\n <el-tab-pane :label="$t(\'workflowEditor.task.eventProcessing\')" name="events">\r\n <events v-model="model.ref.events" />\r\n </el-tab-pane>\r\n <el-tab-pane :label="$t(\'workflowEditor.task.linkVariable\')" name="variables">\r\n <variables v-model="model.ref.variables" />\r\n </el-tab-pane>\r\n </el-tabs>\r\n </el-dialog>\r\n</template>\r\n\r\n<script>\r\nimport BasicProperties from \'./human-task/basic-properties\'\r\nimport PermissionSettings from \'./human-task/permission-settings\'\r\nimport TransactorSettings from \'./common/transactor-settings\'\r\nimport AutoFilledFields from \'./common/auto-filled-fields\'\r\nimport Reminder from \'./common/reminder\'\r\nimport Variables from \'./common/variables\'\r\nimport Events from \'./human-task/events\'\r\nexport default {\r\n name: \'HumanTaskPropertiesEditor\',\r\n components: {\r\n BasicProperties,\r\n TransactorSettings,\r\n PermissionSettings,\r\n AutoFilledFields,\r\n Reminder,\r\n Events,\r\n Variables\r\n\r\n },\r\n props: {\r\n model: {\r\n type: Object,\r\n default: null\r\n }\r\n },\r\n data() {\r\n console.log(this.model)\r\n return {\r\n activeTab: \'basicProperties\'\r\n }\r\n },\r\n computed: {\r\n formModel() {\r\n return this.model.ref\r\n }\r\n },\r\n mounted() {\r\n this.$watch(\'model.ref.attr.id\', function(newVal, oldVal) {\r\n this.model.id = newVal\r\n })\r\n this.$watch(\'model.ref.attr.name\', function(newVal, oldVal) {\r\n this.model.name = newVal\r\n })\r\n },\r\n methods: {\r\n handleClick(tab, event) {\r\n // console.log(tab, event)\r\n }\r\n }\r\n}\r\n<\/script>\r\n\r\n<style scoped>\r\n/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/\r\n.properties-editor >>> .el-dialog__body{\r\n padding-top: 0\r\n}\r\n</style>\r\n\r\n']}])},function(e,t,n){"use strict";n.r(t);var r=n(343),o=n(191);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){(function(e){!function(t){t.parser=function(e,t){return new i(e,t)},t.SAXParser=i,t.SAXStream=a,t.createStream=function(e,t){return new a(e,t)},t.MAX_BUFFER_LENGTH=65536;var r,o=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function i(e,n){if(!(this instanceof i))return new i(e,n);!function(e){for(var t=0,n=o.length;t<n;t++)e[o[t]]=""}(this),this.q=this.c="",this.bufferCheckPosition=t.MAX_BUFFER_LENGTH,this.opt=n||{},this.opt.lowercase=this.opt.lowercase||this.opt.lowercasetags,this.looseCase=this.opt.lowercase?"toLowerCase":"toUpperCase",this.tags=[],this.closed=this.closedRoot=this.sawRoot=!1,this.tag=this.error=null,this.strict=!!e,this.noscript=!(!e&&!this.opt.noscript),this.state=_.BEGIN,this.strictEntities=this.opt.strictEntities,this.ENTITIES=this.strictEntities?Object.create(t.XML_ENTITIES):Object.create(t.ENTITIES),this.attribList=[],this.opt.xmlns&&(this.ns=Object.create(c)),this.trackPosition=!1!==this.opt.position,this.trackPosition&&(this.position=this.line=this.column=0),A(this,"onready")}t.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(e){function t(){}return t.prototype=e,new t}),Object.keys||(Object.keys=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}),i.prototype={end:function(){P(this)},write:function(e){if(this.error)throw this.error;if(this.closed)return O(this,"Cannot write after close. Assign an onready handler.");if(null===e)return P(this);"object"==typeof e&&(e=e.toString());var n=0,r="";for(;r=N(e,n++),this.c=r,r;)switch(this.trackPosition&&(this.position++,"\n"===r?(this.line++,this.column=0):this.column++),this.state){case _.BEGIN:if(this.state=_.BEGIN_WHITESPACE,"\ufeff"===r)continue;j(this,r);continue;case _.BEGIN_WHITESPACE:j(this,r);continue;case _.TEXT:if(this.sawRoot&&!this.closedRoot){for(var i=n-1;r&&"<"!==r&&"&"!==r;)(r=N(e,n++))&&this.trackPosition&&(this.position++,"\n"===r?(this.line++,this.column=0):this.column++);this.textNode+=e.substring(i,n-1)}"<"!==r||this.sawRoot&&this.closedRoot&&!this.strict?(h(r)||this.sawRoot&&!this.closedRoot||S(this,"Text data outside of root node."),"&"===r?this.state=_.TEXT_ENTITY:this.textNode+=r):(this.state=_.OPEN_WAKA,this.startTagPosition=this.position);continue;case _.SCRIPT:"<"===r?this.state=_.SCRIPT_ENDING:this.script+=r;continue;case _.SCRIPT_ENDING:"/"===r?this.state=_.CLOSE_TAG:(this.script+="<"+r,this.state=_.SCRIPT);continue;case _.OPEN_WAKA:if("!"===r)this.state=_.SGML_DECL,this.sgmlDecl="";else if(h(r));else if(g(u,r))this.state=_.OPEN_TAG,this.tagName=r;else if("/"===r)this.state=_.CLOSE_TAG,this.tagName="";else if("?"===r)this.state=_.PROC_INST,this.procInstName=this.procInstBody="";else{if(S(this,"Unencoded <"),this.startTagPosition+1<this.position){var s=this.position-this.startTagPosition;r=new Array(s).join(" ")+r}this.textNode+="<"+r,this.state=_.TEXT}continue;case _.SGML_DECL:"[CDATA["===(this.sgmlDecl+r).toUpperCase()?(C(this,"onopencdata"),this.state=_.CDATA,this.sgmlDecl="",this.cdata=""):this.sgmlDecl+r==="--"?(this.state=_.COMMENT,this.comment="",this.sgmlDecl=""):"DOCTYPE"===(this.sgmlDecl+r).toUpperCase()?(this.state=_.DOCTYPE,(this.doctype||this.sawRoot)&&S(this,"Inappropriately located doctype declaration"),this.doctype="",this.sgmlDecl=""):">"===r?(C(this,"onsgmldeclaration",this.sgmlDecl),this.sgmlDecl="",this.state=_.TEXT):m(r)?(this.state=_.SGML_DECL_QUOTED,this.sgmlDecl+=r):this.sgmlDecl+=r;continue;case _.SGML_DECL_QUOTED:r===this.q&&(this.state=_.SGML_DECL,this.q=""),this.sgmlDecl+=r;continue;case _.DOCTYPE:">"===r?(this.state=_.TEXT,C(this,"ondoctype",this.doctype),this.doctype=!0):(this.doctype+=r,"["===r?this.state=_.DOCTYPE_DTD:m(r)&&(this.state=_.DOCTYPE_QUOTED,this.q=r));continue;case _.DOCTYPE_QUOTED:this.doctype+=r,r===this.q&&(this.q="",this.state=_.DOCTYPE);continue;case _.DOCTYPE_DTD:this.doctype+=r,"]"===r?this.state=_.DOCTYPE:m(r)&&(this.state=_.DOCTYPE_DTD_QUOTED,this.q=r);continue;case _.DOCTYPE_DTD_QUOTED:this.doctype+=r,r===this.q&&(this.state=_.DOCTYPE_DTD,this.q="");continue;case _.COMMENT:"-"===r?this.state=_.COMMENT_ENDING:this.comment+=r;continue;case _.COMMENT_ENDING:"-"===r?(this.state=_.COMMENT_ENDED,this.comment=E(this.opt,this.comment),this.comment&&C(this,"oncomment",this.comment),this.comment=""):(this.comment+="-"+r,this.state=_.COMMENT);continue;case _.COMMENT_ENDED:">"!==r?(S(this,"Malformed comment"),this.comment+="--"+r,this.state=_.COMMENT):this.state=_.TEXT;continue;case _.CDATA:"]"===r?this.state=_.CDATA_ENDING:this.cdata+=r;continue;case _.CDATA_ENDING:"]"===r?this.state=_.CDATA_ENDING_2:(this.cdata+="]"+r,this.state=_.CDATA);continue;case _.CDATA_ENDING_2:">"===r?(this.cdata&&C(this,"oncdata",this.cdata),C(this,"onclosecdata"),this.cdata="",this.state=_.TEXT):"]"===r?this.cdata+="]":(this.cdata+="]]"+r,this.state=_.CDATA);continue;case _.PROC_INST:"?"===r?this.state=_.PROC_INST_ENDING:h(r)?this.state=_.PROC_INST_BODY:this.procInstName+=r;continue;case _.PROC_INST_BODY:if(!this.procInstBody&&h(r))continue;"?"===r?this.state=_.PROC_INST_ENDING:this.procInstBody+=r;continue;case _.PROC_INST_ENDING:">"===r?(C(this,"onprocessinginstruction",{name:this.procInstName,body:this.procInstBody}),this.procInstName=this.procInstBody="",this.state=_.TEXT):(this.procInstBody+="?"+r,this.state=_.PROC_INST_BODY);continue;case _.OPEN_TAG:g(d,r)?this.tagName+=r:(M(this),">"===r?I(this):"/"===r?this.state=_.OPEN_TAG_SLASH:(h(r)||S(this,"Invalid character in tag name"),this.state=_.ATTRIB));continue;case _.OPEN_TAG_SLASH:">"===r?(I(this,!0),$(this)):(S(this,"Forward-slash in opening tag not followed by >"),this.state=_.ATTRIB);continue;case _.ATTRIB:if(h(r))continue;">"===r?I(this):"/"===r?this.state=_.OPEN_TAG_SLASH:g(u,r)?(this.attribName=r,this.attribValue="",this.state=_.ATTRIB_NAME):S(this,"Invalid attribute name");continue;case _.ATTRIB_NAME:"="===r?this.state=_.ATTRIB_VALUE:">"===r?(S(this,"Attribute without value"),this.attribValue=this.attribName,R(this),I(this)):h(r)?this.state=_.ATTRIB_NAME_SAW_WHITE:g(d,r)?this.attribName+=r:S(this,"Invalid attribute name");continue;case _.ATTRIB_NAME_SAW_WHITE:if("="===r)this.state=_.ATTRIB_VALUE;else{if(h(r))continue;S(this,"Attribute without value"),this.tag.attributes[this.attribName]="",this.attribValue="",C(this,"onattribute",{name:this.attribName,value:""}),this.attribName="",">"===r?I(this):g(u,r)?(this.attribName=r,this.state=_.ATTRIB_NAME):(S(this,"Invalid attribute name"),this.state=_.ATTRIB)}continue;case _.ATTRIB_VALUE:if(h(r))continue;m(r)?(this.q=r,this.state=_.ATTRIB_VALUE_QUOTED):(S(this,"Unquoted attribute value"),this.state=_.ATTRIB_VALUE_UNQUOTED,this.attribValue=r);continue;case _.ATTRIB_VALUE_QUOTED:if(r!==this.q){"&"===r?this.state=_.ATTRIB_VALUE_ENTITY_Q:this.attribValue+=r;continue}R(this),this.q="",this.state=_.ATTRIB_VALUE_CLOSED;continue;case _.ATTRIB_VALUE_CLOSED:h(r)?this.state=_.ATTRIB:">"===r?I(this):"/"===r?this.state=_.OPEN_TAG_SLASH:g(u,r)?(S(this,"No whitespace between attributes"),this.attribName=r,this.attribValue="",this.state=_.ATTRIB_NAME):S(this,"Invalid attribute name");continue;case _.ATTRIB_VALUE_UNQUOTED:if(!v(r)){"&"===r?this.state=_.ATTRIB_VALUE_ENTITY_U:this.attribValue+=r;continue}R(this),">"===r?I(this):this.state=_.ATTRIB;continue;case _.CLOSE_TAG:if(this.tagName)">"===r?$(this):g(d,r)?this.tagName+=r:this.script?(this.script+="</"+this.tagName,this.tagName="",this.state=_.SCRIPT):(h(r)||S(this,"Invalid tagname in closing tag"),this.state=_.CLOSE_TAG_SAW_WHITE);else{if(h(r))continue;b(u,r)?this.script?(this.script+="</"+r,this.state=_.SCRIPT):S(this,"Invalid tagname in closing tag."):this.tagName=r}continue;case _.CLOSE_TAG_SAW_WHITE:if(h(r))continue;">"===r?$(this):S(this,"Invalid characters in closing tag");continue;case _.TEXT_ENTITY:case _.ATTRIB_VALUE_ENTITY_Q:case _.ATTRIB_VALUE_ENTITY_U:var a,l;switch(this.state){case _.TEXT_ENTITY:a=_.TEXT,l="textNode";break;case _.ATTRIB_VALUE_ENTITY_Q:a=_.ATTRIB_VALUE_QUOTED,l="attribValue";break;case _.ATTRIB_VALUE_ENTITY_U:a=_.ATTRIB_VALUE_UNQUOTED,l="attribValue"}";"===r?(this[l]+=D(this),this.entity="",this.state=a):g(this.entity.length?p:f,r)?this.entity+=r:(S(this,"Invalid character in entity name"),this[l]+="&"+this.entity+r,this.entity="",this.state=a);continue;default:throw new Error(this,"Unknown state: "+this.state)}this.position>=this.bufferCheckPosition&&function(e){for(var n=Math.max(t.MAX_BUFFER_LENGTH,10),r=0,i=0,s=o.length;i<s;i++){var a=e[o[i]].length;if(a>n)switch(o[i]){case"textNode":T(e);break;case"cdata":C(e,"oncdata",e.cdata),e.cdata="";break;case"script":C(e,"onscript",e.script),e.script="";break;default:O(e,"Max buffer length exceeded: "+o[i])}r=Math.max(r,a)}var l=t.MAX_BUFFER_LENGTH-r;e.bufferCheckPosition=l+e.position}(this);return this}
28
- /*! http://mths.be/fromcodepoint v0.1.0 by @mathias */,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var e;T(e=this),""!==e.cdata&&(C(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(C(e,"onscript",e.script),e.script="")}};try{r=n(712).Stream}catch(e){r=function(){}}var s=t.EVENTS.filter((function(e){return"error"!==e&&"end"!==e}));function a(e,t){if(!(this instanceof a))return new a(e,t);r.apply(this),this._parser=new i(e,t),this.writable=!0,this.readable=!0;var n=this;this._parser.onend=function(){n.emit("end")},this._parser.onerror=function(e){n.emit("error",e),n._parser.error=null},this._decoder=null,s.forEach((function(e){Object.defineProperty(n,"on"+e,{get:function(){return n._parser["on"+e]},set:function(t){if(!t)return n.removeAllListeners(e),n._parser["on"+e]=t,t;n.on(e,t)},enumerable:!0,configurable:!1})}))}a.prototype=Object.create(r.prototype,{constructor:{value:a}}),a.prototype.write=function(t){if("function"==typeof e&&"function"==typeof e.isBuffer&&e.isBuffer(t)){if(!this._decoder){var r=n(288).StringDecoder;this._decoder=new r("utf8")}t=this._decoder.write(t)}return this._parser.write(t.toString()),this.emit("data",t),!0},a.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},a.prototype.on=function(e,t){var n=this;return n._parser["on"+e]||-1===s.indexOf(e)||(n._parser["on"+e]=function(){var t=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),n.emit.apply(n,t)}),r.prototype.on.call(n,e,t)};var l="http://www.w3.org/XML/1998/namespace",c={xml:l,xmlns:"http://www.w3.org/2000/xmlns/"},u=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,d=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,f=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,p=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function h(e){return" "===e||"\n"===e||"\r"===e||"\t"===e}function m(e){return'"'===e||"'"===e}function v(e){return">"===e||h(e)}function g(e,t){return e.test(t)}function b(e,t){return!g(e,t)}var w,y,k,_=0;for(var x in t.STATE={BEGIN:_++,BEGIN_WHITESPACE:_++,TEXT:_++,TEXT_ENTITY:_++,OPEN_WAKA:_++,SGML_DECL:_++,SGML_DECL_QUOTED:_++,DOCTYPE:_++,DOCTYPE_QUOTED:_++,DOCTYPE_DTD:_++,DOCTYPE_DTD_QUOTED:_++,COMMENT_STARTING:_++,COMMENT:_++,COMMENT_ENDING:_++,COMMENT_ENDED:_++,CDATA:_++,CDATA_ENDING:_++,CDATA_ENDING_2:_++,PROC_INST:_++,PROC_INST_BODY:_++,PROC_INST_ENDING:_++,OPEN_TAG:_++,OPEN_TAG_SLASH:_++,ATTRIB:_++,ATTRIB_NAME:_++,ATTRIB_NAME_SAW_WHITE:_++,ATTRIB_VALUE:_++,ATTRIB_VALUE_QUOTED:_++,ATTRIB_VALUE_CLOSED:_++,ATTRIB_VALUE_UNQUOTED:_++,ATTRIB_VALUE_ENTITY_Q:_++,ATTRIB_VALUE_ENTITY_U:_++,CLOSE_TAG:_++,CLOSE_TAG_SAW_WHITE:_++,SCRIPT:_++,SCRIPT_ENDING:_++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(t.ENTITIES).forEach((function(e){var n=t.ENTITIES[e],r="number"==typeof n?String.fromCharCode(n):n;t.ENTITIES[e]=r})),t.STATE)t.STATE[t.STATE[x]]=x;function A(e,t,n){e[t]&&e[t](n)}function C(e,t,n){e.textNode&&T(e),A(e,t,n)}function T(e){e.textNode=E(e.opt,e.textNode),e.textNode&&A(e,"ontext",e.textNode),e.textNode=""}function E(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function O(e,t){return T(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),t=new Error(t),e.error=t,A(e,"onerror",t),e}function P(e){return e.sawRoot&&!e.closedRoot&&S(e,"Unclosed root tag"),e.state!==_.BEGIN&&e.state!==_.BEGIN_WHITESPACE&&e.state!==_.TEXT&&O(e,"Unexpected end"),T(e),e.c="",e.closed=!0,A(e,"onend"),i.call(e,e.strict,e.opt),e}function S(e,t){if("object"!=typeof e||!(e instanceof i))throw new Error("bad call to strictFail");e.strict&&O(e,t)}function M(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,n=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(n.ns=t.ns),e.attribList.length=0,C(e,"onopentagstart",n)}function F(e,t){var n=e.indexOf(":")<0?["",e]:e.split(":"),r=n[0],o=n[1];return t&&"xmlns"===e&&(r="xmlns",o=""),{prefix:r,local:o}}function R(e){if(e.strict||(e.attribName=e.attribName[e.looseCase]()),-1!==e.attribList.indexOf(e.attribName)||e.tag.attributes.hasOwnProperty(e.attribName))e.attribName=e.attribValue="";else{if(e.opt.xmlns){var t=F(e.attribName,!0),n=t.prefix,r=t.local;if("xmlns"===n)if("xml"===r&&e.attribValue!==l)S(e,"xml: prefix must be bound to "+l+"\nActual: "+e.attribValue);else if("xmlns"===r&&"http://www.w3.org/2000/xmlns/"!==e.attribValue)S(e,"xmlns: prefix must be bound to http://www.w3.org/2000/xmlns/\nActual: "+e.attribValue);else{var o=e.tag,i=e.tags[e.tags.length-1]||e;o.ns===i.ns&&(o.ns=Object.create(i.ns)),o.ns[r]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,C(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}}function I(e,t){if(e.opt.xmlns){var n=e.tag,r=F(e.tagName);n.prefix=r.prefix,n.local=r.local,n.uri=n.ns[r.prefix]||"",n.prefix&&!n.uri&&(S(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),n.uri=r.prefix);var o=e.tags[e.tags.length-1]||e;n.ns&&o.ns!==n.ns&&Object.keys(n.ns).forEach((function(t){C(e,"onopennamespace",{prefix:t,uri:n.ns[t]})}));for(var i=0,s=e.attribList.length;i<s;i++){var a=e.attribList[i],l=a[0],c=a[1],u=F(l,!0),d=u.prefix,f=u.local,p=""===d?"":n.ns[d]||"",h={name:l,value:c,prefix:d,local:f,uri:p};d&&"xmlns"!==d&&!p&&(S(e,"Unbound namespace prefix: "+JSON.stringify(d)),h.uri=d),e.tag.attributes[l]=h,C(e,"onattribute",h)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),C(e,"onopentag",e.tag),t||(e.noscript||"script"!==e.tagName.toLowerCase()?e.state=_.TEXT:e.state=_.SCRIPT,e.tag=null,e.tagName=""),e.attribName=e.attribValue="",e.attribList.length=0}function $(e){if(!e.tagName)return S(e,"Weird empty close tag."),e.textNode+="</>",void(e.state=_.TEXT);if(e.script){if("script"!==e.tagName)return e.script+="</"+e.tagName+">",e.tagName="",void(e.state=_.SCRIPT);C(e,"onscript",e.script),e.script=""}var t=e.tags.length,n=e.tagName;e.strict||(n=n[e.looseCase]());for(var r=n;t--;){if(e.tags[t].name===r)break;S(e,"Unexpected close tag")}if(t<0)return S(e,"Unmatched closing tag: "+e.tagName),e.textNode+="</"+e.tagName+">",void(e.state=_.TEXT);e.tagName=n;for(var o=e.tags.length;o-- >t;){var i=e.tag=e.tags.pop();e.tagName=e.tag.name,C(e,"onclosetag",e.tagName);var s={};for(var a in i.ns)s[a]=i.ns[a];var l=e.tags[e.tags.length-1]||e;e.opt.xmlns&&i.ns!==l.ns&&Object.keys(i.ns).forEach((function(t){var n=i.ns[t];C(e,"onclosenamespace",{prefix:t,uri:n})}))}0===t&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName="",e.attribList.length=0,e.state=_.TEXT}function D(e){var t,n=e.entity,r=n.toLowerCase(),o="";return e.ENTITIES[n]?e.ENTITIES[n]:e.ENTITIES[r]?e.ENTITIES[r]:("#"===(n=r).charAt(0)&&("x"===n.charAt(1)?(n=n.slice(2),o=(t=parseInt(n,16)).toString(16)):(n=n.slice(1),o=(t=parseInt(n,10)).toString(10))),n=n.replace(/^0+/,""),isNaN(t)||o.toLowerCase()!==n?(S(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(t))}function j(e,t){"<"===t?(e.state=_.OPEN_WAKA,e.startTagPosition=e.position):h(t)||(S(e,"Non-whitespace before first tag."),e.textNode=t,e.state=_.TEXT)}function N(e,t){var n="";return t<e.length&&(n=e.charAt(t)),n}_=t.STATE,String.fromCodePoint||(w=String.fromCharCode,y=Math.floor,k=function(){var e,t,n=16384,r=[],o=-1,i=arguments.length;if(!i)return"";for(var s="";++o<i;){var a=Number(arguments[o]);if(!isFinite(a)||a<0||a>1114111||y(a)!==a)throw RangeError("Invalid code point: "+a);a<=65535?r.push(a):(e=55296+((a-=65536)>>10),t=a%1024+56320,r.push(e,t)),(o+1===i||r.length>n)&&(s+=w.apply(null,r),r.length=0)}return s},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:k,configurable:!0,writable:!0}):String.fromCodePoint=k)}(t)}).call(this,n(74).Buffer)},function(e,t,n){"use strict";t.byteLength=function(e){var t=c(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=c(e),s=r[0],a=r[1],l=new i(function(e,t,n){return 3*(t+n)/4-n}(0,s,a)),u=0,d=a>0?s-4:s;for(n=0;n<d;n+=4)t=o[e.charCodeAt(n)]<<18|o[e.charCodeAt(n+1)]<<12|o[e.charCodeAt(n+2)]<<6|o[e.charCodeAt(n+3)],l[u++]=t>>16&255,l[u++]=t>>8&255,l[u++]=255&t;2===a&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,l[u++]=255&t);1===a&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t);return l},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],s=0,a=n-o;s<a;s+=16383)i.push(u(e,s,s+16383>a?a:s+16383));1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return i.join("")};for(var r=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,l=s.length;a<l;++a)r[a]=s[a],o[s.charCodeAt(a)]=a;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var o,i,s=[],a=t;a<n;a+=3)o=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),s.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return s.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t){
14
+ var r=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"],o=["dateStyle","timeStyle","calendar","localeMatcher","hour12","hourCycle","timeZone","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function i(e,t){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+e),t&&console.warn(t.stack))}var a=Array.isArray;function s(e){return null!==e&&"object"==typeof e}function l(e){return"string"==typeof e}var c=Object.prototype.toString;function u(e){return"[object Object]"===c.call(e)}function d(e){return null==e}function f(e){return"function"==typeof e}function p(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=null,r=null;return 1===e.length?s(e[0])||a(e[0])?r=e[0]:"string"==typeof e[0]&&(n=e[0]):2===e.length&&("string"==typeof e[0]&&(n=e[0]),(s(e[1])||a(e[1]))&&(r=e[1])),{locale:n,params:r}}function h(e){return JSON.parse(JSON.stringify(e))}function m(e,t){return!!~e.indexOf(t)}var v=Object.prototype.hasOwnProperty;function g(e,t){return v.call(e,t)}function b(e){for(var t=arguments,n=Object(e),r=1;r<arguments.length;r++){var o=t[r];if(null!=o){var i=void 0;for(i in o)g(o,i)&&(s(o[i])?n[i]=b(n[i],o[i]):n[i]=o[i])}}return n}function w(e,t){if(e===t)return!0;var n=s(e),r=s(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var o=a(e),i=a(t);if(o&&i)return e.length===t.length&&e.every((function(e,n){return w(e,t[n])}));if(o||i)return!1;var l=Object.keys(e),c=Object.keys(t);return l.length===c.length&&l.every((function(n){return w(e[n],t[n])}))}catch(e){return!1}}function y(e){return null!=e&&Object.keys(e).forEach((function(t){"string"==typeof e[t]&&(e[t]=e[t].replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;"))})),e}var _={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,t){var n=t.data,r=t.parent,o=t.props,i=t.slots,a=r.$i18n;if(a){var s=o.path,l=o.locale,c=o.places,u=i(),d=a.i(s,l,function(e){var t;for(t in e)if("default"!==t)return!1;return Boolean(t)}(u)||c?function(e,t){var n=t?function(e){0;return Array.isArray(e)?e.reduce(O,{}):Object.assign({},e)}(t):{};if(!e)return n;var r=(e=e.filter((function(e){return e.tag||""!==e.text.trim()}))).every(T);0;return e.reduce(r?k:O,n)}(u.default,c):u),f=o.tag&&!0!==o.tag||!1===o.tag?o.tag:"span";return f?e(f,n,d):d}}};function k(e,t){return t.data&&t.data.attrs&&t.data.attrs.place&&(e[t.data.attrs.place]=t),e}function O(e,t,n){return e[n]=t,e}function T(e){return Boolean(e.data&&e.data.attrs&&e.data.attrs.place)}var x,E={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,t){var n=t.props,o=t.parent,i=t.data,a=o.$i18n;if(!a)return null;var c=null,u=null;l(n.format)?c=n.format:s(n.format)&&(n.format.key&&(c=n.format.key),u=Object.keys(n.format).reduce((function(e,t){var o;return m(r,t)?Object.assign({},e,((o={})[t]=n.format[t],o)):e}),null));var d=n.locale||a.locale,f=a._ntp(n.value,d,c,u),p=f.map((function(e,t){var n,r=i.scopedSlots&&i.scopedSlots[e.type];return r?r(((n={})[e.type]=e.value,n.index=t,n.parts=f,n)):e.value})),h=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return h?e(h,{attrs:i.attrs,class:i.class,staticClass:i.staticClass},p):p}};function S(e,t,n){C(e,n)&&M(e,t,n)}function F(e,t,n,r){if(C(e,n)){var o=n.context.$i18n;(function(e,t){var n=t.context;return e._locale===n.$i18n.locale})(e,n)&&w(t.value,t.oldValue)&&w(e._localeMessage,o.getLocaleMessage(o.locale))||M(e,t,n)}}function P(e,t,n,r){if(n.context){var o=n.context.$i18n||{};t.modifiers.preserve||o.preserveDirectiveContent||(e.textContent=""),e._vt=void 0,delete e._vt,e._locale=void 0,delete e._locale,e._localeMessage=void 0,delete e._localeMessage}else i("Vue instance does not exists in VNode context")}function C(e,t){var n=t.context;return n?!!n.$i18n||(i("VueI18n instance does not exists in Vue instance"),!1):(i("Vue instance does not exists in VNode context"),!1)}function M(e,t,n){var r,o,a=function(e){var t,n,r,o;l(e)?t=e:u(e)&&(t=e.path,n=e.locale,r=e.args,o=e.choice);return{path:t,locale:n,args:r,choice:o}}(t.value),s=a.path,c=a.locale,d=a.args,f=a.choice;if(s||c||d)if(s){var p=n.context;e._vt=e.textContent=null!=f?(r=p.$i18n).tc.apply(r,[s,f].concat(R(c,d))):(o=p.$i18n).t.apply(o,[s].concat(R(c,d))),e._locale=p.$i18n.locale,e._localeMessage=p.$i18n.getLocaleMessage(p.$i18n.locale)}else i("`path` is required in v-t directive");else i("value type not supported")}function R(e,t){var n=[];return e&&n.push(e),t&&(Array.isArray(t)||u(t))&&n.push(t),n}function I(e,t){void 0===t&&(t={bridge:!1}),I.installed=!0;(x=e).version&&Number(x.version.split(".")[0]);(function(e){e.prototype.hasOwnProperty("$i18n")||Object.defineProperty(e.prototype,"$i18n",{get:function(){return this._i18n}}),e.prototype.$t=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var r=this.$i18n;return r._t.apply(r,[e,r.locale,r._getMessages(),this].concat(t))},e.prototype.$tc=function(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];var o=this.$i18n;return o._tc.apply(o,[e,o.locale,o._getMessages(),this,t].concat(n))},e.prototype.$te=function(e,t){var n=this.$i18n;return n._te(e,n.locale,n._getMessages(),t)},e.prototype.$d=function(e){for(var t,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(t=this.$i18n).d.apply(t,[e].concat(n))},e.prototype.$n=function(e){for(var t,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(t=this.$i18n).n.apply(t,[e].concat(n))}})(x),x.mixin(function(e){function t(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===e&&(e=!1),e?{mounted:t}:{beforeCreate:function(){var e=this.$options;if(e.i18n=e.i18n||(e.__i18nBridge||e.__i18n?{}:null),e.i18n)if(e.i18n instanceof K){if(e.__i18nBridge||e.__i18n)try{var t=e.i18n&&e.i18n.messages?e.i18n.messages:{};(e.__i18nBridge||e.__i18n).forEach((function(e){t=b(t,JSON.parse(e))})),Object.keys(t).forEach((function(n){e.i18n.mergeLocaleMessage(n,t[n])}))}catch(e){0}this._i18n=e.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(u(e.i18n)){var n=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof K?this.$root.$i18n:null;if(n&&(e.i18n.root=this.$root,e.i18n.formatter=n.formatter,e.i18n.fallbackLocale=n.fallbackLocale,e.i18n.formatFallbackMessages=n.formatFallbackMessages,e.i18n.silentTranslationWarn=n.silentTranslationWarn,e.i18n.silentFallbackWarn=n.silentFallbackWarn,e.i18n.pluralizationRules=n.pluralizationRules,e.i18n.preserveDirectiveContent=n.preserveDirectiveContent),e.__i18nBridge||e.__i18n)try{var r=e.i18n&&e.i18n.messages?e.i18n.messages:{};(e.__i18nBridge||e.__i18n).forEach((function(e){r=b(r,JSON.parse(e))})),e.i18n.messages=r}catch(e){0}var o=e.i18n.sharedMessages;o&&u(o)&&(e.i18n.messages=b(e.i18n.messages,o)),this._i18n=new K(e.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===e.i18n.sync||e.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),n&&n.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof K?this._i18n=this.$root.$i18n:e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof K&&(this._i18n=e.parent.$i18n)},beforeMount:function(){var e=this.$options;e.i18n=e.i18n||(e.__i18nBridge||e.__i18n?{}:null),e.i18n?(e.i18n instanceof K||u(e.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof K||e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof K)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:t,beforeDestroy:function(){if(this._i18n){var e=this;this.$nextTick((function(){e._subscribing&&(e._i18n.unsubscribeDataChanging(e),delete e._subscribing),e._i18nWatcher&&(e._i18nWatcher(),e._i18n.destroyVM(),delete e._i18nWatcher),e._localeWatcher&&(e._localeWatcher(),delete e._localeWatcher)}))}}}}(t.bridge)),x.directive("t",{bind:S,update:F,unbind:P}),x.component(_.name,_),x.component(E.name,E),x.config.optionMergeStrategies.i18n=function(e,t){return void 0===t?e:t}}var D=function(){this._caches=Object.create(null)};D.prototype.interpolate=function(e,t){if(!t)return[e];var n=this._caches[e];return n||(n=function(e){var t=[],n=0,r="";for(;n<e.length;){var o=e[n++];if("{"===o){r&&t.push({type:"text",value:r}),r="";var i="";for(o=e[n++];void 0!==o&&"}"!==o;)i+=o,o=e[n++];var a="}"===o,s=$.test(i)?"list":a&&A.test(i)?"named":"unknown";t.push({value:i,type:s})}else"%"===o?"{"!==e[n]&&(r+=o):r+=o}return r&&t.push({type:"text",value:r}),t}(e),this._caches[e]=n),function(e,t){var n=[],r=0,o=Array.isArray(t)?"list":s(t)?"named":"unknown";if("unknown"===o)return n;for(;r<e.length;){var i=e[r];switch(i.type){case"text":n.push(i.value);break;case"list":n.push(t[parseInt(i.value,10)]);break;case"named":"named"===o&&n.push(t[i.value]);break;case"unknown":0}r++}return n}(n,t)};var $=/^(?:\d)+/,A=/^(?:\w)+/;var j=[];j[0]={ws:[0],ident:[3,0],"[":[4],eof:[7]},j[1]={ws:[1],".":[2],"[":[4],eof:[7]},j[2]={ws:[2],ident:[3,0],0:[3,0],number:[3,0]},j[3]={ident:[3,0],0:[3,0],number:[3,0],ws:[1,1],".":[2,1],"[":[4,1],eof:[7,1]},j[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],eof:8,else:[4,0]},j[5]={"'":[4,0],eof:8,else:[5,0]},j[6]={'"':[4,0],eof:8,else:[6,0]};var N=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function L(e){if(null==e)return"eof";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function V(e){var t,n,r,o=e.trim();return("0"!==e.charAt(0)||!isNaN(e))&&(r=o,N.test(r)?(n=(t=o).charCodeAt(0))!==t.charCodeAt(t.length-1)||34!==n&&39!==n?t:t.slice(1,-1):"*"+o)}var U=function(){this._cache=Object.create(null)};U.prototype.parsePath=function(e){var t=this._cache[e];return t||(t=function(e){var t,n,r,o,i,a,s,l=[],c=-1,u=0,d=0,f=[];function p(){var t=e[c+1];if(5===u&&"'"===t||6===u&&'"'===t)return c++,r="\\"+t,f[0](),!0}for(f[1]=function(){void 0!==n&&(l.push(n),n=void 0)},f[0]=function(){void 0===n?n=r:n+=r},f[2]=function(){f[0](),d++},f[3]=function(){if(d>0)d--,u=4,f[0]();else{if(d=0,void 0===n)return!1;if(!1===(n=V(n)))return!1;f[1]()}};null!==u;)if(c++,"\\"!==(t=e[c])||!p()){if(o=L(t),8===(i=(s=j[u])[o]||s.else||8))return;if(u=i[0],(a=f[i[1]])&&(r=void 0===(r=i[2])?t:r,!1===a()))return;if(7===u)return l}}(e))&&(this._cache[e]=t),t||[]},U.prototype.getPathValue=function(e,t){if(!s(e))return null;var n=this.parsePath(t);if(0===n.length)return null;for(var r=n.length,o=e,i=0;i<r;){var a=o[n[i]];if(null==a)return null;o=a,i++}return o};var B,H=/<\/?[\w\s="/.':;#-\/]+>/,W=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,z=/^@(?:\.([a-zA-Z]+))?:/,q=/[()]/g,J={upper:function(e){return e.toLocaleUpperCase()},lower:function(e){return e.toLocaleLowerCase()},capitalize:function(e){return""+e.charAt(0).toLocaleUpperCase()+e.substr(1)}},G=new D,K=function(e){var t=this;void 0===e&&(e={}),!x&&"undefined"!=typeof window&&window.Vue&&I(window.Vue);var n=e.locale||"en-US",r=!1!==e.fallbackLocale&&(e.fallbackLocale||"en-US"),o=e.messages||{},i=e.dateTimeFormats||e.datetimeFormats||{},a=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||G,this._modifiers=e.modifiers||{},this._missing=e.missing||null,this._root=e.root||null,this._sync=void 0===e.sync||!!e.sync,this._fallbackRoot=void 0===e.fallbackRoot||!!e.fallbackRoot,this._fallbackRootWithEmptyString=void 0===e.fallbackRootWithEmptyString||!!e.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==e.formatFallbackMessages&&!!e.formatFallbackMessages,this._silentTranslationWarn=void 0!==e.silentTranslationWarn&&e.silentTranslationWarn,this._silentFallbackWarn=void 0!==e.silentFallbackWarn&&!!e.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new U,this._dataListeners=new Set,this._componentInstanceCreatedListener=e.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==e.preserveDirectiveContent&&!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._postTranslation=e.postTranslation||null,this._escapeParameterHtml=e.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in e&&(this.__VUE_I18N_BRIDGE__=e.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(e,n){var r=Object.getPrototypeOf(t);if(r&&r.getChoiceIndex)return r.getChoiceIndex.call(t,e,n);var o,i;return t.locale in t.pluralizationRules?t.pluralizationRules[t.locale].apply(t,[e,n]):(o=e,i=n,o=Math.abs(o),2===i?o?o>1?1:0:1:o?Math.min(o,2):0)},this._exist=function(e,n){return!(!e||!n)&&(!d(t._path.getPathValue(e,n))||!!e[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(o).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,o[e])})),this._initVM({locale:n,fallbackLocale:r,messages:o,dateTimeFormats:i,numberFormats:a})},Y={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};K.prototype._checkLocaleMessage=function(e,t,n){var r=function(e,t,n,o){if(u(n))Object.keys(n).forEach((function(i){var a=n[i];u(a)?(o.push(i),o.push("."),r(e,t,a,o),o.pop(),o.pop()):(o.push(i),r(e,t,a,o),o.pop())}));else if(a(n))n.forEach((function(n,i){u(n)?(o.push("["+i+"]"),o.push("."),r(e,t,n,o),o.pop(),o.pop()):(o.push("["+i+"]"),r(e,t,n,o),o.pop())}));else if(l(n)){if(H.test(n)){var s="Detected HTML in message '"+n+"' of keypath '"+o.join("")+"' at '"+t+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===e?i(s):"error"===e&&function(e,t){"undefined"!=typeof console&&(console.error("[vue-i18n] "+e),t&&console.error(t.stack))}(s)}}};r(t,e,n,[])},K.prototype._initVM=function(e){var t=x.config.silent;x.config.silent=!0,this._vm=new x({data:e,__VUE18N__INSTANCE__:!0}),x.config.silent=t},K.prototype.destroyVM=function(){this._vm.$destroy()},K.prototype.subscribeDataChanging=function(e){this._dataListeners.add(e)},K.prototype.unsubscribeDataChanging=function(e){!function(e,t){if(e.delete(t));}(this._dataListeners,e)},K.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",(function(){for(var t,n,r=(t=e._dataListeners,n=[],t.forEach((function(e){return n.push(e)})),n),o=r.length;o--;)x.nextTick((function(){r[o]&&r[o].$forceUpdate()}))}),{deep:!0})},K.prototype.watchLocale=function(e){if(e){if(!this.__VUE_I18N_BRIDGE__)return null;var t=this,n=this._vm;return this.vm.$watch("locale",(function(r){n.$set(n,"locale",r),t.__VUE_I18N_BRIDGE__&&e&&(e.locale.value=r),n.$forceUpdate()}),{immediate:!0})}if(!this._sync||!this._root)return null;var r=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){r.$set(r,"locale",e),r.$forceUpdate()}),{immediate:!0})},K.prototype.onComponentInstanceCreated=function(e){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(e,this)},Y.vm.get=function(){return this._vm},Y.messages.get=function(){return h(this._getMessages())},Y.dateTimeFormats.get=function(){return h(this._getDateTimeFormats())},Y.numberFormats.get=function(){return h(this._getNumberFormats())},Y.availableLocales.get=function(){return Object.keys(this.messages).sort()},Y.locale.get=function(){return this._vm.locale},Y.locale.set=function(e){this._vm.$set(this._vm,"locale",e)},Y.fallbackLocale.get=function(){return this._vm.fallbackLocale},Y.fallbackLocale.set=function(e){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",e)},Y.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Y.formatFallbackMessages.set=function(e){this._formatFallbackMessages=e},Y.missing.get=function(){return this._missing},Y.missing.set=function(e){this._missing=e},Y.formatter.get=function(){return this._formatter},Y.formatter.set=function(e){this._formatter=e},Y.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Y.silentTranslationWarn.set=function(e){this._silentTranslationWarn=e},Y.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Y.silentFallbackWarn.set=function(e){this._silentFallbackWarn=e},Y.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Y.preserveDirectiveContent.set=function(e){this._preserveDirectiveContent=e},Y.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Y.warnHtmlInMessage.set=function(e){var t=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=e,n!==e&&("warn"===e||"error"===e)){var r=this._getMessages();Object.keys(r).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,r[e])}))}},Y.postTranslation.get=function(){return this._postTranslation},Y.postTranslation.set=function(e){this._postTranslation=e},Y.sync.get=function(){return this._sync},Y.sync.set=function(e){this._sync=e},K.prototype._getMessages=function(){return this._vm.messages},K.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},K.prototype._getNumberFormats=function(){return this._vm.numberFormats},K.prototype._warnDefault=function(e,t,n,r,o,i){if(!d(n))return n;if(this._missing){var a=this._missing.apply(null,[e,t,r,o]);if(l(a))return a}else 0;if(this._formatFallbackMessages){var s=p.apply(void 0,o);return this._render(t,i,s.params,t)}return t},K.prototype._isFallbackRoot=function(e){return(this._fallbackRootWithEmptyString?!e:d(e))&&!d(this._root)&&this._fallbackRoot},K.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn},K.prototype._isSilentFallback=function(e,t){return this._isSilentFallbackWarn(t)&&(this._isFallbackRoot()||e!==this.fallbackLocale)},K.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn},K.prototype._interpolate=function(e,t,n,r,o,i,s){if(!t)return null;var c,p=this._path.getPathValue(t,n);if(a(p)||u(p))return p;if(d(p)){if(!u(t))return null;if(!l(c=t[n])&&!f(c))return null}else{if(!l(p)&&!f(p))return null;c=p}return l(c)&&(c.indexOf("@:")>=0||c.indexOf("@.")>=0)&&(c=this._link(e,t,c,r,"raw",i,s)),this._render(c,o,i,n)},K.prototype._link=function(e,t,n,r,o,i,s){var l=n,c=l.match(W);for(var u in c)if(c.hasOwnProperty(u)){var d=c[u],f=d.match(z),p=f[0],h=f[1],v=d.replace(p,"").replace(q,"");if(m(s,v))return l;s.push(v);var g=this._interpolate(e,t,v,r,"raw"===o?"string":o,"raw"===o?void 0:i,s);if(this._isFallbackRoot(g)){if(!this._root)throw Error("unexpected error");var b=this._root.$i18n;g=b._translate(b._getMessages(),b.locale,b.fallbackLocale,v,r,o,i)}g=this._warnDefault(e,v,g,r,a(i)?i:[i],o),this._modifiers.hasOwnProperty(h)?g=this._modifiers[h](g):J.hasOwnProperty(h)&&(g=J[h](g)),s.pop(),l=g?l.replace(d,g):l}return l},K.prototype._createMessageContext=function(e,t,n,r){var o=this,i=a(e)?e:[],l=s(e)?e:{},c=this._getMessages(),u=this.locale;return{list:function(e){return i[e]},named:function(e){return l[e]},values:e,formatter:t,path:n,messages:c,locale:u,linked:function(e){return o._interpolate(u,c[u]||{},e,null,r,void 0,[e])}}},K.prototype._render=function(e,t,n,r){if(f(e))return e(this._createMessageContext(n,this._formatter||G,r,t));var o=this._formatter.interpolate(e,n,r);return o||(o=G.interpolate(e,n,r)),"string"!==t||l(o)?o:o.join("")},K.prototype._appendItemToChain=function(e,t,n){var r=!1;return m(e,t)||(r=!0,t&&(r="!"!==t[t.length-1],t=t.replace(/!/g,""),e.push(t),n&&n[t]&&(r=n[t]))),r},K.prototype._appendLocaleToChain=function(e,t,n){var r,o=t.split("-");do{var i=o.join("-");r=this._appendItemToChain(e,i,n),o.splice(-1,1)}while(o.length&&!0===r);return r},K.prototype._appendBlockToChain=function(e,t,n){for(var r=!0,o=0;o<t.length&&"boolean"==typeof r;o++){var i=t[o];l(i)&&(r=this._appendLocaleToChain(e,i,n))}return r},K.prototype._getLocaleChain=function(e,t){if(""===e)return[];this._localeChainCache||(this._localeChainCache={});var n=this._localeChainCache[e];if(!n){t||(t=this.fallbackLocale),n=[];for(var r,o=[e];a(o);)o=this._appendBlockToChain(n,o,t);(o=l(r=a(t)?t:s(t)?t.default?t.default:null:t)?[r]:r)&&this._appendBlockToChain(n,o,null),this._localeChainCache[e]=n}return n},K.prototype._translate=function(e,t,n,r,o,i,a){for(var s,l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var u=l[c];if(!d(s=this._interpolate(u,e[u],r,o,i,a,[r])))return s}return null},K.prototype._t=function(e,t,n,r){for(var o,i=[],a=arguments.length-4;a-- >0;)i[a]=arguments[a+4];if(!e)return"";var s=p.apply(void 0,i);this._escapeParameterHtml&&(s.params=y(s.params));var l=s.locale||t,c=this._translate(n,l,this.fallbackLocale,e,r,"string",s.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(o=this._root).$t.apply(o,[e].concat(i))}return c=this._warnDefault(l,e,c,r,i,"string"),this._postTranslation&&null!=c&&(c=this._postTranslation(c,e)),c},K.prototype.t=function(e){for(var t,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(t=this)._t.apply(t,[e,this.locale,this._getMessages(),null].concat(n))},K.prototype._i=function(e,t,n,r,o){var i=this._translate(n,t,this.fallbackLocale,e,r,"raw",o);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(e,t,o)}return this._warnDefault(t,e,i,r,[o],"raw")},K.prototype.i=function(e,t,n){return e?(l(t)||(t=this.locale),this._i(e,t,this._getMessages(),null,n)):""},K.prototype._tc=function(e,t,n,r,o){for(var i,a=[],s=arguments.length-5;s-- >0;)a[s]=arguments[s+5];if(!e)return"";void 0===o&&(o=1);var l={count:o,n:o},c=p.apply(void 0,a);return c.params=Object.assign(l,c.params),a=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((i=this)._t.apply(i,[e,t,n,r].concat(a)),o)},K.prototype.fetchChoice=function(e,t){if(!e||!l(e))return null;var n=e.split("|");return n[t=this.getChoiceIndex(t,n.length)]?n[t].trim():e},K.prototype.tc=function(e,t){for(var n,r=[],o=arguments.length-2;o-- >0;)r[o]=arguments[o+2];return(n=this)._tc.apply(n,[e,this.locale,this._getMessages(),null,t].concat(r))},K.prototype._te=function(e,t,n){for(var r=[],o=arguments.length-3;o-- >0;)r[o]=arguments[o+3];var i=p.apply(void 0,r).locale||t;return this._exist(n[i],e)},K.prototype.te=function(e,t){return this._te(e,this.locale,this._getMessages(),t)},K.prototype.getLocaleMessage=function(e){return h(this._vm.messages[e]||{})},K.prototype.setLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,t)},K.prototype.mergeLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,b(void 0!==this._vm.messages[e]&&Object.keys(this._vm.messages[e]).length?Object.assign({},this._vm.messages[e]):{},t))},K.prototype.getDateTimeFormat=function(e){return h(this._vm.dateTimeFormats[e]||{})},K.prototype.setDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,t),this._clearDateTimeFormat(e,t)},K.prototype.mergeDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,b(this._vm.dateTimeFormats[e]||{},t)),this._clearDateTimeFormat(e,t)},K.prototype._clearDateTimeFormat=function(e,t){for(var n in t){var r=e+"__"+n;this._dateTimeFormatters.hasOwnProperty(r)&&delete this._dateTimeFormatters[r]}},K.prototype._localizeDateTime=function(e,t,n,r,o,i){for(var a=t,s=r[a],l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var u=l[c];if(a=u,!d(s=r[u])&&!d(s[o]))break}if(d(s)||d(s[o]))return null;var f,p=s[o];if(i)f=new Intl.DateTimeFormat(a,Object.assign({},p,i));else{var h=a+"__"+o;(f=this._dateTimeFormatters[h])||(f=this._dateTimeFormatters[h]=new Intl.DateTimeFormat(a,p))}return f.format(e)},K.prototype._d=function(e,t,n,r){if(!n)return(r?new Intl.DateTimeFormat(t,r):new Intl.DateTimeFormat(t)).format(e);var o=this._localizeDateTime(e,t,this.fallbackLocale,this._getDateTimeFormats(),n,r);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(e,n,t)}return o||""},K.prototype.d=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var r=this.locale,i=null,a=null;return 1===t.length?(l(t[0])?i=t[0]:s(t[0])&&(t[0].locale&&(r=t[0].locale),t[0].key&&(i=t[0].key)),a=Object.keys(t[0]).reduce((function(e,n){var r;return m(o,n)?Object.assign({},e,((r={})[n]=t[0][n],r)):e}),null)):2===t.length&&(l(t[0])&&(i=t[0]),l(t[1])&&(r=t[1])),this._d(e,r,i,a)},K.prototype.getNumberFormat=function(e){return h(this._vm.numberFormats[e]||{})},K.prototype.setNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,t),this._clearNumberFormat(e,t)},K.prototype.mergeNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,b(this._vm.numberFormats[e]||{},t)),this._clearNumberFormat(e,t)},K.prototype._clearNumberFormat=function(e,t){for(var n in t){var r=e+"__"+n;this._numberFormatters.hasOwnProperty(r)&&delete this._numberFormatters[r]}},K.prototype._getNumberFormatter=function(e,t,n,r,o,i){for(var a=t,s=r[a],l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var u=l[c];if(a=u,!d(s=r[u])&&!d(s[o]))break}if(d(s)||d(s[o]))return null;var f,p=s[o];if(i)f=new Intl.NumberFormat(a,Object.assign({},p,i));else{var h=a+"__"+o;(f=this._numberFormatters[h])||(f=this._numberFormatters[h]=new Intl.NumberFormat(a,p))}return f},K.prototype._n=function(e,t,n,r){if(!K.availabilities.numberFormat)return"";if(!n)return(r?new Intl.NumberFormat(t,r):new Intl.NumberFormat(t)).format(e);var o=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,r),i=o&&o.format(e);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(e,Object.assign({},{key:n,locale:t},r))}return i||""},K.prototype.n=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var o=this.locale,i=null,a=null;return 1===t.length?l(t[0])?i=t[0]:s(t[0])&&(t[0].locale&&(o=t[0].locale),t[0].key&&(i=t[0].key),a=Object.keys(t[0]).reduce((function(e,n){var o;return m(r,n)?Object.assign({},e,((o={})[n]=t[0][n],o)):e}),null)):2===t.length&&(l(t[0])&&(i=t[0]),l(t[1])&&(o=t[1])),this._n(e,o,i,a)},K.prototype._ntp=function(e,t,n,r){if(!K.availabilities.numberFormat)return[];if(!n)return(r?new Intl.NumberFormat(t,r):new Intl.NumberFormat(t)).formatToParts(e);var o=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,r),i=o&&o.formatToParts(e);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(e,t,n,r)}return i||[]},Object.defineProperties(K.prototype,Y),Object.defineProperty(K,"availabilities",{get:function(){if(!B){var e="undefined"!=typeof Intl;B={dateTimeFormat:e&&void 0!==Intl.DateTimeFormat,numberFormat:e&&void 0!==Intl.NumberFormat}}return B}}),K.install=I,K.version="8.28.2",t.default=K},function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE__248__},function(e,t,n){"use strict";var r=n(15),o=n.n(r),i=n(292),a=n.n(i),s=n(247),l=n(549);var c={imatrixUIPublicModel:{sure:"Sure",cancel:"Cancel",allDepartments:"All Departments",allUsers:"All Users",reset:"Reset",to:"To",edit:"Edit",clear:"Clear",download:"Download",delete:"Delete",preview:"Preview",add:"Add",graphView:"Graphic view",listView:"List View",fieldName:"Field Name",operator:"Operator",value:"Value",andOr:"And/Or",whenTheVariableIsEmpty:"When The Variable Is Empty",perhaps:"Perhaps",also:"Also",greaterThan:"Greater Than",lessThan:"Less Than",beEqualTo:"Be Equal To",notGreaterThan:"Not Greater Than",notLessThan:"Not Less Than",notEqualTo:"Not Equal To",contain:"Contain",notIncluded:"Not Included",laterThan:"Later Than",earlierThan:"Earlier Than",noLaterThan:"No Later Than",noEarlierThan:"No Earlier Than",ignore11:"Ignore (1 = 1)",nonConformity:"Non Conformity (1 < > 1)",switchToNormalQuery:"Switch To Normal Query",switchToAdvancedQuery:"Switch To Advanced Query",isNull:"Is Null",isNotNull:"Is Not Null",previewImage:"Preview image",fullScreen:"Full Screen"},imatrixUIMessage:{whetherToConfirmDeletion:"Whether To Confirm Deletion",tips:"Tips",pleaseEnterContent:"Please Enter Content",internalServerError:"Server error",pleaseSelectDepartment:"Please Select Department",pleaseSelectPersonnel:"Please Select Personnel",pleaseRemoveallpersonnelBeforeSelectingSpecificPersonnel:"Please Remove All Personnel Before Selecting Specific Personnel",queryResultIsEmpty:"Query Result Is Empty",pleaseSelectATeam:"Please Select A Team",pleaseEnterTeamName:"Please Enter Team Name",validationFailed:"Validation Failed",selectionDate:"Selection Date",selectTime:"Select Time",pleaseEnterATimePoint:"Please Enter A Time Point",pleaseSelect:"Please Select",startDate:"Start Date",endDate:"End Date",noExportColumnsConfigured:"No Export Columns Configured",organizationTreeNoResultNotRemove:"No information selected, no need to remove",exceedFileSize:"File size limit {filesize} M exceeded",upload:"Upload",invalideDoubleValue:"{num} is not a legal decimal",noJumpPage:"Jump page not configured",saveSuccessfully:"Savee successfully",pleaseInputSearchCondition:"Please enter the query criteria",fileUpload:"File Upload",selectYear:"Select Year",search:"Search",forbiddenException:"You do not have permission to access this resource",theButtonIsNotBoundToAResource:"The button is not bound to a resource, Bind the resource first"},superGrid:{columnConfig:"Column Config",pleaseSaveOrCancelEditingLine:"Please Save Or Cancel Editing Line {row} Data First",pleaseSaveLine:"Please Save Line {row} Data First",noNeedToSaveRow:"No Need To Save Row {row} Data",pleaseSetURLToSaveRowInformation:'Please set "URL to save row information"',lineSavedSuccessfully:"Line {row} Saved Successfully",theReturnValueOfTheBeforesaveCallbackMethodIsFalse:"The Return Value Of The Beforesave Callback Method Is False",lineNoNeedToUndoEdit:"Line {row} No Need To Undo Edit",lineCancelledSuccessfully:"Line {row} cancelled successfully",label:"Label",isShow:"Is Show",isExportable:"Is Exportable",recordLine:"Record line {row}",pageRecordLine:"Record in row {row} of page {pageNum}",fileName:"File Name",deleteSuccessful:"Deleted successfully",index:"No.",searchConditionName:"Search Condition Name",pleaseInputSearchConditionName:"Please enter the name of the query criteria",saveCondition:"Save Condition",saveConditionTitle:"Save Condition",displayOrder:"Display Order",width:"Column Width",default:"Default",custom:"Custom",show:"Show",hidden:"Hidden",export:"Export",unExport:"Not Export",whetherToConfirmReset:"Are you sure you want to reset?",resetSuccessful:"Reset successfully",dragColumnOrderMessage:"Supports dragging to change column order",selectAll:"Select All",viewImage:"View Image",previewTitleWhenNotImg:"Non picture format, preview in other ways",refresh:"Refresh",open:"Open",fold:"Fold"},departmentTree:{},departmentTreeInline:{pleaseEnterDepartmentName:"Please Enter Department Name",name:"Department Name",code:"Department Code",removeDepartment:"Remove Department",selectedDept:"Selected Departments",namePath:"Name Path"},departmentUserTree:{pleaseEnterUserInformation:"Please Enter User Information",selectedPeople:"Selected People",searchFieldUserName:"Name",searchFieldLoginName:"Login Name",searchFieldEmail:"Email",searchFieldTelephone:"Telephone",searchFieldJobNumber:"Job Number",searchFieldHonorificName:"Honorific"},departmentUserTreeInline:{name:"Name",department:"Department",branch:"Branch",removeUser:"Remove User",email:"Email",loginName:"Login Name"},workgroupTree:{allTeamMembers:"All Team Members",name:"Workgroup Name",code:"Workgroup Code",removeWorkgroup:"Remove Workgroup"},workflowButton:{save:"Save",submit:"Submit",approve:"Approve",refuse:"Refuse",agreement:"Agree",oppose:"Opposition",kiken:"Abstention",get_back_button:"Retrieve",copy:"Copy",draw:"Draw",abandon_draw:"Give Up Draw",add_sign:"Additional Signature",remove_sign:"Reduction Of Signature",signoff:"Sign For",assign:"Hand over",assign_task:"Transfer",readed:"Readed",export_report:"Export Report"},workflowHistoryList:{specailText:"specail",index:"Index",taskName:"Task Name",operation:"Operation",opinion:"Opinion",processStart:"Process Start",processEnd:"Process End",process_start:"[{1}] process start",prcoess_end:"[{1}] process End",force_end_process:"{1}forced to end the process, and the task of [{2}] was canceled",history_jump:"Process {3} to [{1}], [{2}] task cancelled",history_back:"{1} returned to task,process returned to [{2}]",history_removesign:"{1} minus [{2}]",history_changetransactor_and_delegate:"{1} changed the handler [{2}] to [{3}], [{4}] delegated the task to [{5}]",history_changetransactor:"{1} changed handler [{2}] to [{3}]",history_addsign:"{1} sign [{2}]",history_addtransactor:"{1} add handler [{2}]",history_removetransactor:"{1} decrease handler [{2}]",history_delegate_and_assign:"{1} assigned tasks to [{2}], [{3}] delegated tasks to [{4}]",history_assign:"{1} assigned task to [{2}]",transfer:"{1} transferred to [{2}]",history_complete_transfer:"{1} execute [{2}] operation and canceled the task of other receivers [{3}]",history_delegate_receive:"{1} retracts the task entrusted to [{2}]",history_delegate:"{1} has delegated task [{2}] to [{3}]",history_quit_transfer:"{1} Resignation, has transferred task [{2}] to [{3}",history_change_job_transfer:"{1} Change job,has transferred task [{2}] to [{3}",commonButtonOperation:"{1} execute [{2}] operation",history_draw_task:"{1}received the task and cancelled the task of the candidate [{2}]",history_abandon_draw:"{1}gives up the task and restores the task of candidate [{2}]",toDoText:"Todo",operator:"Operator",operatorDept:"Operator Dept",operationTime:"Operation Time"},gateway:{timeout:"Interface call timeout",callFailed:"Interface call failed"},superNineGrid:{add:"Create"},fsUpload:{upload:"Upload",download:"Download",delete:"Delete",preview:"Preview",name:"Name",picture:"Picture",operating:"Operating",uploadSucceeded:"Upload succeeded",theNumberOfUploadsExceedsTheLimitTheLimitIs:"The number of uploads exceeds the limit. The limit is"},messageVideo:{attemptingToIdentify:"Attempting to identify",callingRearCamera:"Calling rear camera",identificationFailed:"Identification failed"},...n.n(l).a},u=n(293);var d={imatrixUIPublicModel:{sure:"确定",cancel:"取消",allDepartments:"所有部门",allUsers:"所有用户",reset:"重置",to:"至",edit:"操作",clear:"清空",download:"下载",delete:"删除",preview:"预览",add:"增加",graphView:"图形视图",listView:"列表视图",fieldName:"字段名(*)",operator:"操作符",value:"值(*)",andOr:"并且/或者",whenTheVariableIsEmpty:"变量为空时",perhaps:"或者",also:"并且",greaterThan:"大于",lessThan:"小于",beEqualTo:"等于",notGreaterThan:"不大于",notLessThan:"不小于",notEqualTo:"不等于",contain:"包含",notIncluded:"不包含",laterThan:"晚于",earlierThan:"早于",noLaterThan:"不晚于",noEarlierThan:"不早于",ignore11:"忽略(1=1)",nonConformity:"不符合(1<>1)",switchToNormalQuery:"切换为普通查询",switchToAdvancedQuery:"切换为高级查询",isNull:"等于Null",isNotNull:"不等于Null",previewImage:"预览图片",fullScreen:"全屏"},imatrixUIMessage:{whetherToConfirmDeletion:"是否确认删除",tips:"提示",pleaseEnterContent:"请输入内容",internalServerError:"请求失败",pleaseSelectDepartment:"请选择部门",pleaseSelectPersonnel:"请选择人员",pleaseRemoveallpersonnelBeforeSelectingSpecificPersonnel:"请先移除所有人员,再选择具体人员",queryResultIsEmpty:"查询结果为空",pleaseSelectATeam:"请选择工作组",pleaseEnterTeamName:"请输入工作组名称",validationFailed:"验证失败",selectionDate:"选择日期",selectTime:"选择时间",pleaseEnterATimePoint:"请输入时间点",pleaseSelect:"请选择",startDate:"开始日期",endDate:"结束日期",noExportColumnsConfigured:"没有配置导出列",organizationTreeNoResultNotRemove:"未选择任何信息,无需移除",exceedFileSize:"超过文件大小限制{fileSize}M",upload:"上传",invalideDoubleValue:"{num} 不是合法的小数",noJumpPage:"未配置跳转页面",saveSuccessfully:"保存成功",pleaseInputSearchCondition:"请输入查询条件",fileUpload:"文件上传",selectYear:"选择年",search:"查询",forbiddenException:"您没有权限访问该资源",theButtonIsNotBoundToAResource:"该按钮未绑定资源,请先绑定资源"},superGrid:{columnConfig:"字段配置",pleaseSaveOrCancelEditingLine:"请先保存或撤销编辑第 {row} 行数据",pleaseSaveLine:"请先保存第 {row} 行数据",noNeedToSaveRow:"无需保存第 {row} 行数据",pleaseSetURLToSaveRowInformation:"请设置“保存行信息的url”",lineSavedSuccessfully:"第 {row} 行保存成功",theReturnValueOfTheBeforesaveCallbackMethodIsFalse:"beforeSave回调方法返回值为false",lineNoNeedToUndoEdit:"第 {row} 行无需撤销编辑",lineCancelledSuccessfully:"第 {row} 行撤销成功",label:"字段名",isShow:"是否显示",isExportable:"是否导出",recordLine:"第 {row} 行记录",pageRecordLine:"第 {pageNum} 页第 {row} 行记录",fileName:"文件名称",deleteSuccessful:"删除成功",index:"序号",searchConditionName:"查询条件名称",pleaseInputSearchConditionName:"请输入查询条件名称",saveCondition:"保存条件",saveConditionTitle:"保存查询条件",displayOrder:"显示顺序",width:"列宽",default:"默认",custom:"自定义",show:"显示",hidden:"隐藏",export:"导出",unExport:"不导出",whetherToConfirmReset:"是否确认重置?",resetSuccessful:"重置成功",dragColumnOrderMessage:"支持拖动改变列顺序",selectAll:"全选",viewImage:"查看图片",previewTitleWhenNotImg:"非图片格式,使用其它方式预览",refresh:"刷新",open:"展开",fold:"收起"},departmentTree:{},departmentTreeInline:{pleaseEnterDepartmentName:"请输入部门名称",name:"部门名称",code:"部门编码",removeDepartment:"移除部门",selectedDept:"已选部门",namePath:"名称路径"},departmentUserTree:{pleaseEnterUserInformation:"请输入用户信息",selectedPeople:"已选人员",searchFieldUserName:"姓名",searchFieldLoginName:"登录名",searchFieldEmail:"邮箱",searchFieldTelephone:"手机号",searchFieldJobNumber:"工号",searchFieldHonorificName:"尊称"},departmentUserTreeInline:{name:"姓名",department:"所属部门",branch:"所属分支",removeUser:"移除用户",email:"邮箱",loginName:"登录名"},workgroupTree:{allTeamMembers:"所有工作组人员",name:"工作组名称",code:"工作组编码",removeWorkgroup:"移除工作组"},workflowButton:{save:"暂存",submit:"提交",approve:"同意",refuse:"不同意",agreement:"赞成",oppose:"反对",kiken:"弃权",get_back_button:"取回",copy:"抄送",draw:"领取",abandon_draw:"放弃领取",add_sign:"加签",remove_sign:"减签",signoff:"签收",assign:"交办",assign_task:"转办",readed:"已阅",export_report:"导出报告"},workflowHistoryList:{specailText:"特",index:"序号",taskName:"环节名称",operation:"流转操作",opinion:"办理意见",processStart:"流程开始",processEnd:"流程结束",process_start:"[{1}]流程开始",prcoess_end:"[{1}]流程结束",force_end_process:"{1}强制结束了该流程,[{2}]的任务被取消",history_jump:"流程{3}到[{1}],[{2}]的任务被取消",history_back:"{1}退回任务,流程退回到[{2}]",history_removesign:"{1}给[{2}]减签",history_changetransactor_and_delegate:"{1}把办理人[{2}]更改成[{3})],{4}把任务委托给了[{5}]",history_changetransactor:"{1}把办理人[{2}]更改成[{3}]",history_addsign:"{1}给[{2}]加签",history_addtransactor:"{1}增加办理人[{2}]",history_removetransactor:"{1}减少办理人[{2}]",history_delegate_and_assign:"{1}把任务指派给了[{2}],[{3}]把任务委托给了[{4}]",history_assign:"{1}把任务指派给了[{2}]",transfer:"{1}移交给[{2}]",history_complete_transfer:"{1}执行了[{2}]操作,取消了其它接收人[{3}]的任务",history_delegate_receive:"{1}收回委托给[{2}]的任务",history_delegate:"{1}已把任务[{2}]委托给[{3}]",history_quit_transfer:"{1}离职,已把任务[{2}]移交给了[{3}]",history_change_job_transfer:"{1}换岗,已把任务[{2}]移交给了[{3}]",commonButtonOperation:"{1}执行了[{2}]操作",history_draw_task:"{1}领取了任务,取消了候选人[{2}]的任务",history_abandon_draw:"{1}放弃领取该任务,还原了候选人[{2}]的任务",toDoText:"待处理",operator:"操作人",operatorDept:"操作人部门",operationTime:"操作时间"},gateway:{timeout:"接口调用超时",callFailed:"接口调用失败"},superNineGrid:{add:"新建"},fsUpload:{upload:"上传",download:"下载",delete:"删除",preview:"预览",name:"名称",picture:"图片",operating:"操作",uploadSucceeded:"上传成功",theNumberOfUploadsExceedsTheLimitTheLimitIs:"上传数量超过限制,限制数量为"},messageVideo:{attemptingToIdentify:"正在尝试识别....",callingRearCamera:"正在调用后置摄像头...",identificationFailed:"识别失败"},...n.n(u).a};o.a.use(s.default);const f={en:c,cn:d},p=new s.default({locale:"cn",messages:f});a.a.i18n((e,t)=>p.t(e,t));t.a=p},function(e,t,n){var r=n(27),o=n(17).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(77)("keys"),o=n(67);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(22),o=n(47),i=n(24);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i((function(){n(1)})),"Object",a)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(21),o=n(559),i=n(252),a=n(251)("IE_PROTO"),s=function(){},l=function(){var e,t=n(250)("iframe"),r=i.length;for(t.style.display="none",n(257).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[i[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(17).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(48),o=n(374),i=n(53),a=n(38),s=n(560);e.exports=function(e,t){var n=1==e,l=2==e,c=3==e,u=4==e,d=6==e,f=5==e||d,p=t||s;return function(t,s,h){for(var m,v,g=i(t),b=o(g),w=r(s,h,3),y=a(b.length),_=0,k=n?p(t,y):l?p(t,0):void 0;y>_;_++)if((f||_ in b)&&(v=w(m=b[_],_,g),e))if(n)k[_]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return _;case 2:k.push(m)}else if(u)return!1;return d?-1:c||u?u:k}}},function(e,t,n){"use strict";var r=n(21);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var r=n(393)(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){"use strict";var r=n(81),o=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},function(e,t,n){"use strict";var r,o,i=n(259),a=RegExp.prototype.exec,s=String.prototype.replace,l=a,c=(r=/a/,o=/b*/g,a.call(r,"a"),a.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),u=void 0!==/()??/.exec("")[1];(c||u)&&(l=function(e){var t,n,r,o,l=this;return u&&(n=new RegExp("^"+l.source+"$(?!\\s)",i.call(l))),c&&(t=l.lastIndex),r=a.call(l,e),c&&r&&(l.lastIndex=l.global?r.index+r[0].length:t),u&&r&&r.length>1&&s.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),e.exports=l},function(e,t,n){"use strict";n(581);var r=n(34),o=n(39),i=n(24),a=n(54),s=n(16),l=n(262),c=s("species"),u=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var f=s(e),p=!i((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),h=p?!i((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[c]=function(){return n}),n[f](""),!t})):void 0;if(!p||!h||"replace"===e&&!u||"split"===e&&!d){var m=/./[f],v=n(a,f,""[e],(function(e,t,n,r,o){return t.exec===l?p&&!o?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),g=v[0],b=v[1];r(String.prototype,e,g),o(RegExp.prototype,f,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(266)("keys"),o=n(84);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(43),o=n(44),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(83)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(44),o=n(43),i=n(586),a=n(56),s=n(49),l=function(e,t,n){var c,u,d,f=e&l.F,p=e&l.G,h=e&l.S,m=e&l.P,v=e&l.B,g=e&l.W,b=p?o:o[t]||(o[t]={}),w=b.prototype,y=p?r:h?r[t]:(r[t]||{}).prototype;for(c in p&&(n=t),n)(u=!f&&y&&void 0!==y[c])&&s(b,c)||(d=u?y[c]:n[c],b[c]=p&&"function"!=typeof y[c]?n[c]:v&&u?i(d,r):g&&y[c]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):m&&"function"==typeof d?i(Function.call,d):d,m&&((b.virtual||(b.virtual={}))[c]=d,e&l.R&&w&&!w[c]&&a(w,c,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var r=n(71);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(590)),o=a(n(605)),i="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":i(e)}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports={}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(57).f,o=n(49),i=n(60)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){t.f=n(60)},function(e,t,n){var r=n(44),o=n(43),i=n(83),a=n(274),s=n(57).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";n.r(t);var r=n(296),o=n(97);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(636);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";n(40),n(23),n(6),n(18),n(19),n(25),n(5);var r=n(2);n(41),n(6),n(19),n(18),n(42),Object.defineProperty(t,"__esModule",{value:!0}),t.allOperators=void 0,t.displayCondition=function(e){var t,n="",r=s(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;0!==o.key.length&&""!==o.operator&&""!==o.value&&void 0!==o.operator&&void 0!==o.value&&null!==o.operator&&null!==o.value&&(n=n+o.leftBracket+O(o.key)+" "+T(o.operator)+" "+O(o.value)+o.rightBracket+" "+o.value+" "+u[o.logicOperator]+" ")}}catch(e){r.e(e)}finally{r.f()}n.lastIndexOf(" 或者 ")+" 或者 ".length===n.length?n=n.substring(0,n.lastIndexOf(" 或者 ")):n.lastIndexOf(" 并且 ")+" 并且 ".length===n.length&&(n=n.substring(0,n.lastIndexOf(" 并且 ")));return n},t.formatStandardField=function(e){var t=this,n=c.filter(function(n){return(0,o.default)(this,t),n.name===e}.bind(this));return n.length>0?n[0].label:e},t.generateCondition=function(e){var t,n="",r=s(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;0===o.key.length||""===o.operator||""===o.value&&"operator.text.is.null"!==o.operator&&"operator.text.not.null"!==o.operator||(n=n+o.leftBracket+o.key+" "+o.operator+" "+o.value+o.rightBracket+" "+o.logicOperator+" ")}}catch(e){r.e(e)}finally{r.f()}var i=" condition.operator.or ",a=" condition.operator.and ";n.lastIndexOf(i)+i.length===n.length?n=n.substring(0,n.lastIndexOf(i)):n.lastIndexOf(a)+a.length===n.length&&(n=n.substring(0,n.lastIndexOf(a)));return n},t.getFieldLabel=O,t.getOperatorLabel=T,t.getOperators=function(e){var t=(0,i.getFormField)(e)||_(e);if(t)return d(t.dataType)?f:m(t.dataType)?v:p(t.dataType)?h:b(e)?w:g},t.getRelatedStandardFields=function(e){var t=this,n=c.filter(function(n){return(0,o.default)(this,t),n.name===e}.bind(this)),r=[];n.length>0&&(r=n[0].relatedFields||[]);var i=[];return c.forEach(function(e){(0,o.default)(this,t),r.indexOf(e.name.substring(2,e.name.length-1))>=0&&i.push(e)}.bind(this)),i},t.getStandardField=_,t.getStandardFieldLabel=k,t.getStandardFields=function(){var e,t={value:"standard",label:(0,a.getI18n)().t("workflowEditor.process.standardFields"),children:[]},n=s(c);try{for(n.s();!(e=n.n()).done;){var r=e.value;t.children.push({value:r.name,label:r.label})}}catch(e){n.e(e)}finally{n.f()}return t},t.getStandardFieldsByTacheType=function(e){var t=this;if(e)return c;var n=[];return c.forEach(function(r){(0,o.default)(this,t),e||"other"===r.orgType||n.push(r)}.bind(this)),n},t.isApproveResult=b,t.isDate=m,t.isNumber=d,t.isString=p,t.isTransitionOtherField=function(e){var t=this;if("${approvalResult}"===e)return!1;var n=c.filter(function(n){return(0,o.default)(this,t),n.name===e}.bind(this)),r=!1;n.length>0&&n.forEach(function(n){(0,o.default)(this,t),e===n.name&&"other"===n.orgType&&(r=!0)}.bind(this));return r},t.operatorsForText=t.operatorsForString=t.operatorsForNumber=t.operatorsForDate=t.operatorsForApproveResult=t.logicOperators=void 0,t.parseCondition=function(e,t){if(t&&0!==t.length){var n,r=t.replace(/ condition.operator.or /g," condition.operator.or^_^"),o=(r=r.replace(/ condition.operator.and /g," condition.operator.and^_^")).split("^_^"),i=0,a=s(o);try{for(a.s();!(n=a.n()).done;){var l=n.value;if(""!==l){var c,u,d="",f="",p="",h="condition.operator.or",m=l.indexOf("${");m>0&&(d=l.substring(0,m)),c=l.substring(m,l.indexOf(" ")),l=l.substring(l.indexOf(" ")+1),u=l.substring(0,l.indexOf(" ")),l=l.substring(l.indexOf(" ")+1),(m=l.indexOf(")"))>0?(f=l.substring(0,m),p=l.substring(m),(m=l.indexOf(" condition."))>0&&(h=l.substring(m+1))):(m=l.indexOf(" condition."))>0?(f=l.substring(0,m),h=l.substring(m+1)):f=l,e.push({id:i,leftBracket:d,key:c,operator:u,value:f,rightBracket:p,logicOperator:h}),i++}}}catch(e){a.e(e)}finally{a.f()}return i}},t.standardFields=void 0,n(5);var o=r(n(12));n(20),n(45),n(1),n(1),n(45),n(20),n(7);var i=n(50),a=n(10);function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=[{name:"${approvalResult}",label:(0,a.getI18n)().t("workflowEditor.process.approvalResults"),orgType:"other"},{name:"${instanceCreatorName}",label:(0,a.getI18n)().t("workflowEditor.process.processInitiator"),orgType:"user"},{name:"${instanceCreatorRole}",label:(0,a.getI18n)().t("workflowEditor.process.processInitiatorRole"),orgType:"role"},{name:"${instanceCreatorDepartment}",label:(0,a.getI18n)().t("workflowEditor.process.processInitiatorDepartment"),orgType:"department",relatedFields:["upstageDepartment"]},{name:"${superiorDepartment}",label:(0,a.getI18n)().t("workflowEditor.process.processInitiatorSuperiorDepartment"),orgType:"department",relatedFields:["upstageDepartment"]},{name:"${instanceCreatorUpstageDepartment}",label:(0,a.getI18n)().t("workflowEditor.process.processInitiatorTopDepartment"),orgType:"department"},{name:"${instanceCreatorWorkGroup}",label:(0,a.getI18n)().t("workflowEditor.process.processInitiatorWorkingGroup"),orgType:"workgroup"},{name:"${instanceCreatorDirectSuperiorName}",label:(0,a.getI18n)().t("workflowEditor.process.nameOfTheDirectSuperiorOfTheProcessInitiator"),orgType:"user"},{name:"${instanceCreatorDirectSuperiorDepartment}",label:(0,a.getI18n)().t("workflowEditor.process.processInitiatorsDirectSuperiorDepartment"),orgType:"department",relatedFields:["upstageDepartment"]},{name:"${instanceCreatorDirectSuperiorRole}",label:(0,a.getI18n)().t("workflowEditor.process.directSuperiorRoleOfProcessInitiator"),orgType:"role"},{name:"${instanceCreatorDirectSuperiorWorkGroup}",label:(0,a.getI18n)().t("workflowEditor.process.ProcessInitiatorsImmediateSuperiorWorkingGroup"),orgType:"workgroup"},{name:"${currentTransactorName}",label:(0,a.getI18n)().t("workflowEditor.process.nameOfCurrentHandler"),orgType:"user",relatedFields:["instanceCreatorName","instanceCreatorDirectSuperiorName"]},{name:"${currentTransactorRole}",label:(0,a.getI18n)().t("workflowEditor.process.currentHandlerRole"),orgType:"role"},{name:"${currentTransactorDepartment}",label:(0,a.getI18n)().t("workflowEditor.process.currentHandlerDepartment"),orgType:"department",relatedFields:["instanceCreatorDepartment","superiorDepartment","instanceCreatorUpstageDepartment","instanceCreatorDirectSuperiorDepartment","upstageDepartment"]},{name:"${currentTransactorSuperiorDepartment}",label:(0,a.getI18n)().t("workflowEditor.process.currentHandlerSuperiorDepartment"),orgType:"department",relatedFields:["instanceCreatorDepartment","superiorDepartment","instanceCreatorUpstageDepartment","instanceCreatorDirectSuperiorDepartment","upstageDepartment"]},{name:"${currentTransactorUpstageDepartment}",label:(0,a.getI18n)().t("workflowEditor.process.topDepartmentOfCurrentHandler"),orgType:"department",relatedFields:["instanceCreatorDepartment","superiorDepartment","instanceCreatorUpstageDepartment","instanceCreatorDirectSuperiorDepartment"]},{name:"${currentTransactorWorkGroup}",label:(0,a.getI18n)().t("workflowEditor.process.currentHandlerWorkingGroup"),orgType:"workgroup"},{name:"${currentTransactorDirectSuperiorName}",label:(0,a.getI18n)().t("workflowEditor.process.nameOfTheImmediateSuperiorOfTheCurrentHandler"),orgType:"user",relatedFields:["instanceCreatorName","instanceCreatorDirectSuperiorName"]},{name:"${currentTransactorDirectSuperiorDepartment}",label:(0,a.getI18n)().t("workflowEditor.process.currentHandlerDirectSuperiorDepartment"),orgType:"department",relatedFields:["instanceCreatorDepartment","superiorDepartment","instanceCreatorUpstageDepartment","instanceCreatorDirectSuperiorDepartment","upstageDepartment"]},{name:"${currentTransactorDirectSuperiorRole}",label:(0,a.getI18n)().t("workflowEditor.process.currentManagerDirectSuperiorRole"),orgType:"role"},{name:"${currentTransactorDirectSuperiorWorkGroup}",label:(0,a.getI18n)().t("workflowEditor.process.workingGroupDirectlyUnderTheCurrentHandler"),orgType:"workgroup"},{name:"${upstageDepartment}",label:(0,a.getI18n)().t("workflowEditor.process.topDepartments"),orgType:"department"},{name:"${countersignatureDisagreeCount}",label:(0,a.getI18n)().t("workflowEditor.process.totalNnumberOfPersonsWhoDisagreeWithTheCountersignature"),orgType:"other"},{name:"${countersignatureAgreeCount}",label:(0,a.getI18n)().t("workflowEditor.process.totalNumberOfCountersignedAndAgreedPersonnel"),orgType:"other"},{name:"${countersignatureDisagreePercentage}",label:(0,a.getI18n)().t("workflowEditor.process.percentageOfPersonsWhoDisagreeWithTheCountersignature"),orgType:"other"},{name:"${countersignatureAgreePercentage}",label:(0,a.getI18n)().t("workflowEditor.process.percentageOfCountersignedAndAgreedPersonnel"),orgType:"other"},{name:"${abstentionPercentage}",label:(0,a.getI18n)().t("workflowEditor.process.percentageOfAbstentions"),orgType:"other"},{name:"${againstPercentage}",label:(0,a.getI18n)().t("workflowEditor.process.percentageOfVotesAgainst"),orgType:"other"},{name:"${favorPercentage}",label:(0,a.getI18n)().t("workflowEditor.process.percentageOfAffirmativeVotes"),orgType:"other"},{name:"${abstentionCount}",label:(0,a.getI18n)().t("workflowEditor.process.totalNumberOfAbstentions"),orgType:"other"},{name:"${againstCount}",label:(0,a.getI18n)().t("workflowEditor.process.totalVotesAgainst"),orgType:"other"},{name:"${favorCount}",label:(0,a.getI18n)().t("workflowEditor.process.totalNumberOfAffirmativeVotes"),orgType:"other"}];t.standardFields=c;var u={"condition.operator.or":(0,a.getI18n)().t("workflowEditor.process.perhaps"),"condition.operator.and":(0,a.getI18n)().t("workflowEditor.process.also")};function d(e){return["NUMBER","DOUBLE","FLOAT","LONG","INTEGER","AMOUNT"].indexOf(e)>=0}t.logicOperators=u;var f=[{name:"operator.number.gt",label:(0,a.getI18n)().t("workflowEditor.process.greaterThan")},{name:"operator.number.lt",label:(0,a.getI18n)().t("workflowEditor.process.lessThan")},{name:"operator.number.eq",label:(0,a.getI18n)().t("workflowEditor.process.beEqualTo")},{name:"operator.number.le",label:(0,a.getI18n)().t("workflowEditor.process.notGreaterThan")},{name:"operator.number.ge",label:(0,a.getI18n)().t("workflowEditor.process.notLessThan")},{name:"operator.number.ne",label:(0,a.getI18n)().t("workflowEditor.process.notEqualTo")}];function p(e){return["STRING","TEXT"].indexOf(e)>=0}t.operatorsForNumber=f;var h=[{name:"operator.text.eq",label:(0,a.getI18n)().t("workflowEditor.process.beEqualTo")},{name:"operator.text.neq",label:(0,a.getI18n)().t("workflowEditor.process.notEqualTo")},{name:"operator.text.contain",label:(0,a.getI18n)().t("workflowEditor.process.contain")},{name:"operator.text.contain.not",label:(0,a.getI18n)().t("workflowEditor.process.notIncluded")},{name:"operator.text.is.null",label:(0,a.getI18n)().t("workflowEditor.process.isNull")},{name:"operator.text.not.null",label:(0,a.getI18n)().t("workflowEditor.process.isNotNull")}];function m(e){return["DATE","TIME"].indexOf(e)>=0}t.operatorsForString=h;var v=[{name:"operator.date.gt",label:(0,a.getI18n)().t("workflowEditor.process.laterThan")},{name:"operator.date.lt",label:(0,a.getI18n)().t("workflowEditor.process.earlierThan")},{name:"operator.date.et",label:(0,a.getI18n)().t("workflowEditor.process.beEqualTo")},{name:"operator.date.le",label:(0,a.getI18n)().t("workflowEditor.process.noLaterThan")},{name:"operator.date.ge",label:(0,a.getI18n)().t("workflowEditor.process.noEarlierThan")},{name:"operator.date.ne",label:(0,a.getI18n)().t("workflowEditor.process.notEqualTo")}];t.operatorsForDate=v;var g=[{name:"operator.text.eq",label:(0,a.getI18n)().t("workflowEditor.process.beEqualTo")},{name:"operator.text.neq",label:(0,a.getI18n)().t("workflowEditor.process.notEqualTo")}];function b(e){return"${approvalResult}"===e}t.operatorsForText=g;var w=[{name:"operator.text.eq",label:(0,a.getI18n)().t("workflowEditor.process.beEqualTo")}];t.operatorsForApproveResult=w;var y=[].concat(f,v,h,g);function _(e){var t=this,n=c.filter(function(n){return(0,o.default)(this,t),n.name===e}.bind(this));return n.length>0?n[0]:null}function k(e){var t=_(e);return t?t.label:e}function O(e){return e.indexOf("${field[")>=0?(0,i.getFormFieldLabel)(e):e.indexOf("${")>=0?k(e):e.substring(0,e.indexOf("["))}function T(e){var t=this,n=y.filter(function(n){return(0,o.default)(this,t),n.name===e}.bind(this));return n.length>0?n[0].label:""}t.allOperators=y},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1);var o=r(n(12));n(45),n(20),n(20),n(45),n(7),n(1);var i=n(10),a={xmlToData:function(e){var t=[];if(e){var n=e.split(" ");if(n&&n.length>0)for(var r=1,o="",i="",a="",s="",l="",c="",u=null,d=0;d<n.length;d++){var f=n[d];if(-1===f.indexOf("(")){if(-1!==f.indexOf("(")||-1===f.indexOf("${field["))-1===f.indexOf("operator.")||-1!==f.indexOf("condition.")?""===a||""!==s?-1!==f.indexOf("condition.")?(c=f,t.push({id:r,leftBracket:o,propName:i,operator:a,propValue:s,rightBracket:l,logicOperator:c,propValueType:u}),r+=1):s&&""!==s&&(c&&""!==c||(c="condition.operator.or",t.push({id:r,leftBracket:o,propName:i,operator:a,propValue:s,rightBracket:l,logicOperator:c,propValueType:u}),r+=1)):(-1!==f.indexOf(")")?-1!==f.indexOf(")))")?(s=f.replace(")))",""),l=")))"):-1!==f.indexOf("))")?(s=f.replace("))",""),l="))"):-1!==f.indexOf(")")&&(s=f.replace(")",""),l=")"):s=f,s&&""!==s&&(-1!==s.indexOf("${task.")?u="task":-1!==s.indexOf("${context.")?u="context":-1!==s.indexOf("${obj.")?u="obj":-1!==s.indexOf("${subObj.")?u="subObj":-1!==s.indexOf("${request.")?u="request":-1!==s.indexOf("${input.")?u="input":-1!==s.indexOf("${custom.")&&(u="custom"))):a=f;else if(this.operationArr&&this.operationArr.push([]),o="",i="",a="",s="",l="",c="",i=f.replace("${field[","").replace("]}",""),this.operationArr){var p=this.getOperators(this.fieldMap[i]);this.operationArr[r-1]=p}}else{this.operationArr&&this.operationArr.push([]),o="",i="",a="",s="",l="",c="";var h=f.split("${field[");if(o=h[0],i=h[1].replace("]}",""),this.operationArr){var m=this.getOperators(this.fieldMap[i]);this.operationArr[r-1]=m}}}}return t},getOperatorsArr:function(e){if(e&&e.length>0)for(var t=0;t<e.length;t++){this.operationArr.push([]);var n=e[t],r=this.getOperators(this.fieldMap[n.propName]);this.operationArr[t]=r}},getRetunrOperatorsArr:function(e,t){var n=[];if(e&&e.length>0)for(var r=0;r<e.length;r++){n.push([]);var o=e[r],i=this.getOperators(t[o.propName]);n[r]=i}return n},dataToXml:function(e){var t="";if(e&&e.length>0)for(var n=0;n<e.length;n++){var r=e[n],o=o=r.logicOperator;n===e.length-1&&(o=""),t=t+r.leftBracket+"${field["+r.propName+"]} "+r.operator+" "+r.propValue+r.rightBracket+" "+o+" "}return t},formatConditionList:function(e){var t="";if(e)if("string"==typeof e){var n=this.xmlToData(e);t=this.formatConditionListTwo(n)}else t=this.formatConditionListTwo(e);if(t&&""!==t){var r=t.substring(t.length-1);"者"!==r&&"且"!==r||(t=t.substring(0,t.length-2))}return t},formatConditionListTwo:function(e){var t=this,n="";if(e&&e.length>0)for(var r=function(){var r=this,a=e[i];if(a&&a.propName){var s=t.getOperators(t.fieldMap[a.propName]);if(s&&s.length>0){var l=s.filter(function(e){return(0,o.default)(this,r),e.name===a.operator}.bind(this));n+=a.leftBracket,t.fieldMap[a.propName]&&t.fieldMap[a.propName].label&&(n+=t.fieldMap[a.propName].label+" "),l&&l.length>0&&(n+=l[0].label+" "),n+=a.propValue+a.rightBracket+" ",a.logicOperator&&("or"===a.logicOperator?n+="或者":n+="并且")}}},i=0;i<e.length;i++)r();return n},getOperators:function(e){return e?"INTEGER"===e.type||"LONG"===e.type||"DOUBLE"===e.type||"FLOAT"===e.type?[{name:"operator.number.gt",label:(0,i.getI18n)().t("workflowEditor.process.greaterThan")},{name:"operator.number.lt",label:(0,i.getI18n)().t("workflowEditor.process.lessThan")},{name:"operator.number.eq",label:(0,i.getI18n)().t("workflowEditor.process.beEqualTo")},{name:"operator.number.le",label:(0,i.getI18n)().t("workflowEditor.process.notGreaterThan")},{name:"operator.number.ge",label:(0,i.getI18n)().t("workflowEditor.process.notLessThan")},{name:"operator.number.ne",label:(0,i.getI18n)().t("workflowEditor.process.notEqualTo")}]:"DATE"===e.type||"TIME"===e.type?[{name:"operator.date.gt",label:(0,i.getI18n)().t("workflowEditor.process.laterThan")},{name:"operator.date.lt",label:(0,i.getI18n)().t("workflowEditor.process.earlierThan")},{name:"operator.date.eq",label:(0,i.getI18n)().t("workflowEditor.process.beEqualTo")},{name:"operator.date.le",label:(0,i.getI18n)().t("workflowEditor.process.noLaterThan")},{name:"operator.date.ge",label:(0,i.getI18n)().t("workflowEditor.process.noEarlierThan")}]:"TEXT"===e.type?[{name:"operator.text.eq",label:(0,i.getI18n)().t("workflowEditor.process.beEqualTo")},{name:"operator.text.neq",label:(0,i.getI18n)().t("workflowEditor.process.notEqualTo")},{name:"operator.text.contain",label:(0,i.getI18n)().t("workflowEditor.process.contain")},{name:"operator.text.contain.not",label:(0,i.getI18n)().t("workflowEditor.process.notIncluded")}]:[{name:"operator.text.eq",label:(0,i.getI18n)().t("workflowEditor.process.beEqualTo")},{name:"operator.text.neq",label:(0,i.getI18n)().t("workflowEditor.process.notEqualTo")}]:[{name:"operator.text.eq",label:(0,i.getI18n)().t("workflowEditor.process.beEqualTo")},{name:"operator.text.neq",label:(0,i.getI18n)().t("workflowEditor.process.notEqualTo")}]}};t.default=a},function(e,t,n){"use strict";n.r(t);var r=n(334),o=n(173);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(335),o=n(175);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(337),o=n(179);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){var r=n(501),o=n(722),i=n(507),a=n(723);e.exports={xml2js:r,xml2json:o,js2xml:i,json2xml:a}},function(e,t,n){"use strict";var r,o="object"==typeof Reflect?Reflect:null,i=o&&"function"==typeof o.apply?o.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(e,t){return new Promise((function(n,r){function o(n){e.removeListener(t,i),r(n)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}g(e,t,i,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&g(e,"error",t,n)}(e,o,{once:!0})}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var l=10;function c(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function d(e,t,n,r){var o,i,a,s;if(c(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),a=i[t]),void 0===a)a=i[t]=n,++e._eventsCount;else if("function"==typeof a?a=i[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(o=u(e))>0&&a.length>o&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,console&&console.warn&&console.warn(s)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=f.bind(r);return o.listener=n,r.wrapFn=o,o}function h(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):v(o,o.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function v(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function g(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function o(i){r.once&&e.removeEventListener(t,o),n(i)}))}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");l=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return u(this)},s.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)i(l,this,t);else{var c=l.length,u=v(l,c);for(n=0;n<c;++n)i(u[n],this,t)}return!0},s.prototype.addListener=function(e,t){return d(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return d(this,e,t,!0)},s.prototype.once=function(e,t){return c(t),this.on(e,p(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,p(this,e,t)),this},s.prototype.removeListener=function(e,t){var n,r,o,i,a;if(c(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return h(this,e,!0)},s.prototype.rawListeners=function(e){return h(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){(t=e.exports=n(503)).Stream=t,t.Readable=t,t.Writable=n(287),t.Duplex=n(51),t.Transform=n(506),t.PassThrough=n(717)},function(e,t,n){var r=n(74),o=r.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=a),i(o,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=o(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t,n){"use strict";(function(t,r,o){var i=n(92);function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var o=r.callback;t.pendingcb--,o(n),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}e.exports=b;var s,l=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?r:i.nextTick;b.WritableState=g;var c=Object.create(n(75));c.inherits=n(63);var u={deprecate:n(715)},d=n(504),f=n(286).Buffer,p=(void 0!==o?o:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var h,m=n(505);function v(){}function g(e,t){s=s||n(51),e=e||{};var r=t instanceof s;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var o=e.highWaterMark,c=e.writableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:r&&(c||0===c)?c:u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var d=!1===e.decodeStrings;this.decodeStrings=!d,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,o=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,o){--t.pendingcb,n?(i.nextTick(o,r),i.nextTick(T,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(o(r),e._writableState.errorEmitted=!0,e.emit("error",r),T(e,t))}(e,n,r,t,o);else{var a=k(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||_(e,n),r?l(y,e,n,a,o):y(e,n,a,o)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function b(e){if(s=s||n(51),!(h.call(b,this)||this instanceof s))return new b(e);this._writableState=new g(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),d.call(this)}function w(e,t,n,r,o,i,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(o,t.onwrite):e._write(o,i,t.onwrite),t.sync=!1}function y(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),T(e,t)}function _(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,o=new Array(r),i=t.corkedRequestsFree;i.entry=n;for(var s=0,l=!0;n;)o[s]=n,n.isBuf||(l=!1),n=n.next,s+=1;o.allBuffers=l,w(e,t,!0,t.length,o,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,u=n.encoding,d=n.callback;if(w(e,t,!1,t.objectMode?1:c.length,c,u,d),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function k(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function O(e,t){e._final((function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),T(e,t)}))}function T(e,t){var n=k(t);return n&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,i.nextTick(O,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}c.inherits(b,d),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:u.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(h=Function.prototype[Symbol.hasInstance],Object.defineProperty(b,Symbol.hasInstance,{value:function(e){return!!h.call(this,e)||this===b&&(e&&e._writableState instanceof g)}})):h=function(e){return e instanceof this},b.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},b.prototype.write=function(e,t,n){var r,o=this._writableState,a=!1,s=!o.objectMode&&(r=e,f.isBuffer(r)||r instanceof p);return s&&!f.isBuffer(e)&&(e=function(e){return f.from(e)}(e)),"function"==typeof t&&(n=t,t=null),s?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof n&&(n=v),o.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),i.nextTick(t,n)}(this,n):(s||function(e,t,n,r){var o=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),i.nextTick(r,a),o=!1),o}(this,o,e,n))&&(o.pendingcb++,a=function(e,t,n,r,o,i){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=f.from(t,n));return t}(t,r,o);r!==a&&(n=!0,o="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var l=t.length<t.highWaterMark;l||(t.needDrain=!0);if(t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:o,isBuf:n,callback:i,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else w(e,t,!1,s,r,o,i);return l}(this,o,s,e,t,n)),a},b.prototype.cork=function(){this._writableState.corked++},b.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||_(this,e))},b.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(b.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),b.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},b.prototype._writev=null,b.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,T(e,t),n&&(t.finished?i.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),b.prototype.destroy=m.destroy,b.prototype._undestroy=m.undestroy,b.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,n(91),n(713).setImmediate,n(46))},function(e,t,n){"use strict";var r=n(716).Buffer,o=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=c,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=u,this.end=d,t=3;break;default:return this.write=f,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function u(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function f(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.StringDecoder=i,i.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},i.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},i.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var o=a(t[r]);if(o>=0)return o>0&&(e.lastNeed=o-1),o;if(--r<n||-2===o)return 0;if((o=a(t[r]))>=0)return o>0&&(e.lastNeed=o-2),o;if(--r<n||-2===o)return 0;if((o=a(t[r]))>=0)return o>0&&(2===o?o=0:e.lastNeed=o-3),o;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,n){var r=n(290).isArray;e.exports={copyOptions:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n},ensureFlagExists:function(e,t){e in t&&"boolean"==typeof t[e]||(t[e]=!1)},ensureSpacesExists:function(e){(!("spaces"in e)||"number"!=typeof e.spaces&&"string"!=typeof e.spaces)&&(e.spaces=0)},ensureAlwaysArrayExists:function(e){"alwaysArray"in e&&("boolean"==typeof e.alwaysArray||r(e.alwaysArray))||(e.alwaysArray=!1)},ensureKeyExists:function(e,t){e+"Key"in t&&"string"==typeof t[e+"Key"]||(t[e+"Key"]=t.compact?"_"+e:e)},checkFnExists:function(e,t){return e+"Fn"in t}}},function(e,t){e.exports={isArray:function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}}},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(12)),i=r(n(15));function a(){return window.$store}function s(){return window.$http}var l={fetchFormFields:function(e,t){var n=this;s().get(i.default.prototype.baseAPI+"/wf-editor/workflow-editors/form-fields?formCode="+e+"&formVersion="+t).then(function(t){(0,o.default)(this,n);var r=t.formFields,i=t.subFormFields;a().commit("wfEditor/setFormCode",e),a().commit("wfEditor/setFormFields",r);var s=r.concat(i);a().commit("wfEditor/setFormFieldsWithSub",s);var l=t.subtableConditionMap;a().commit("wfEditor/setSubtableConditionMap",l);var c=t.systemPropSettingList;a().commit("wfEditor/setPropSettingKeyList",c)}.bind(this))},fetchSubprocessFormFields:function(e,t){return s().get(i.default.prototype.baseAPI+"/wf-editor/workflow-editors/form-fields-with-processes?processCode="+e+"&processVersion="+t)}};t.default=l},function(e,t,n){"use strict";t.__esModule=!0,t.i18n=t.use=t.t=void 0;var r=s(n(583)),o=s(n(293)),i=s(n(15)),a=s(n(588));function s(e){return e&&e.__esModule?e:{default:e}}var l=(0,s(n(589)).default)(i.default),c=o.default,u=!1,d=function(){var e=(0,r.default)(this||i.default).$t;if("function"==typeof e&&i.default.locale)return u||(u=!0,i.default.locale(i.default.config.lang,(0,a.default)(c,i.default.locale(i.default.config.lang)||{},{clone:!0}))),e.apply(this,arguments)},f=t.t=function(e,t){var n=d.apply(this,arguments);if(null!=n)return n;for(var r=e.split("."),o=c,i=0,a=r.length;i<a;i++){var s=r[i];if(n=o[s],i===a-1)return l(n,t);if(!n)return"";o=n}return""},p=t.use=function(e){c=e||c},h=t.i18n=function(e){d=e||d};t.default={use:p,t:f,i18n:h}},function(e,t,n){"use strict";t.__esModule=!0,t.default={el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确认",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1月",month2:"2月",month3:"3月",month4:"4月",month5:"5月",month6:"6月",month7:"7月",month8:"8月",month9:"9月",month10:"10月",month11:"11月",month12:"12月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},iconselect:{inputPlaceholder:"点击选择图标",searchPlaceholder:"搜索...",noMatchIcon:"暂无对应的图标"}}}},function(e,t,n){"use strict";var r=n(372);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(406);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(407);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(410);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(412);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(413);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(417);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(420);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(421);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(424);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(427);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(429);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(431);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(434);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(437);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(440);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(442);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(443);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(444);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(446);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(449);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(451);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(453);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(454);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(456);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(458);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(461);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(463);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(464);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(466);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(468);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(471);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(472);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(473);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(475);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(476);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(477);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(479);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(481);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(482);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(483);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(484);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(485);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(488);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(490);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(492);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(494);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(497);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(498);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(500);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(508);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(509);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(510);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(511);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(512);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(513);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(515);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(516);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(517);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(518);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(520);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(521);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(522);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(523);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(524);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(526);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(529);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(530);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(531);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(532);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(533);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(536);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(539);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(541);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(543);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(544);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){"use strict";var r=n(545);n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},function(e,t,n){e.exports=!n(28)&&!n(24)((function(){return 7!=Object.defineProperty(n(250)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",{ref:"wfEditor",staticStyle:{position:"relative",height:"100%"},on:{mousedown:function(t){return e.setContextMenuVisible(!1)},mousewheel:function(t){return e.setContextMenuVisible(!1)}}},[t("el-row",{staticClass:"button-area"},[e.readonly?e._e():t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.saveXml}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.save"))+"\n ")]),e._v(" "),e.readonly?e._e():t("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"wf.workflowDefinition.adminSave",expression:"'wf.workflowDefinition.adminSave'"}],attrs:{type:"primary",size:"small"},on:{click:e.adminSave}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.adminSave"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.exportProcessFromClient}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.export"))+"\n ")]),e._v(" "),e.readonly?e._e():t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.selectProcessFile}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.open"))+"\n "),t("input",{ref:"processFile",staticStyle:{display:"none"},attrs:{type:"file",name:"processFile",accept:".xml"},on:{change:e.openXmlFromClient}})]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.$emit("back")}}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.return"))+"\n ")])],1),e._v(" "),t("div",{staticClass:"main",on:{mousedown:e.startDrag,mousemove:e.drag,mouseup:e.endDrag,mouseleave:e.clearStatus}},[e.readonly?e._e():t("toolbox",{staticClass:"toolbox",attrs:{onselectstart:"return false",oncontextmenu:"return false"}}),e._v(" "),t("section",[t("el-tabs",{staticClass:"tabs",attrs:{type:"border-card"},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},[t("el-tab-pane",{staticClass:"tab-pane",attrs:{label:e.$t("workflowEditorPublicModel.flowChart"),name:"canvas"}},[t("workflow-canvas",{staticClass:"canvas",attrs:{onselectstart:"return false",process:e.process},nativeOn:{mouseup:function(t){return e.addTache.apply(null,arguments)},contextmenu:function(t){return t.preventDefault(),e.showContextMenu.apply(null,arguments)}}})],1),e._v(" "),t("el-tab-pane",{staticClass:"tab-pane",attrs:{label:"XML",name:"xml"}},["xml"===e.activeTab?t("pre",{staticClass:"xml line-numbers"},[t("code",{ref:"xml",staticClass:"language-xml"},[e._v(e._s(e.xml))])]):e._e()])],1)],1)],1),e._v(" "),e.componentToDraw?t("icon-svg",{staticClass:"component-icon",style:{height:e.componentInfo.height,width:e.componentInfo.width,color:e.componentInfo.color,left:e.currentPosition.x+"px",top:e.currentPosition.y+"px"},attrs:{icon:e.componentInfo.icon}}):e._e(),e._v(" "),e.contextMenuVisible?t("context-menu",{style:{position:"absolute",left:e.contextMenuPosition.x+"px",top:e.contextMenuPosition.y+"px"}}):e._e(),e._v(" "),e.isAdminSave?t("admin-save-dialog",{on:{close:function(t){e.isAdminSave=!1},update:e.updateWfVersion,add:e.addWfVersion}}):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){var r=n(35),o=n(36),i=n(555)(!1),a=n(251)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){var r=n(37);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(65),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){t.f=n(16)},function(e,t,n){var r=n(17),o=n(47),i=n(66),a=n(376),s=n(26).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){var r=n(37);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(36),o=n(80).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){"use strict";var r=n(24);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){"use strict";var r=n(26),o=n(68);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){var r=n(16)("unscopables"),o=Array.prototype;null==o[r]&&n(39)(o,r,{}),e.exports=function(e){o[r][e]=!0}},function(e,t,n){"use strict";var r=n(66),o=n(22),i=n(34),a=n(39),s=n(70),l=n(564),c=n(79),u=n(565),d=n(16)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,h,m,v,g){l(n,t,h);var b,w,y,_=function(e){if(!f&&e in x)return x[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},k=t+" Iterator",O="values"==m,T=!1,x=e.prototype,E=x[d]||x["@@iterator"]||m&&x[m],S=E||_(m),F=m?O?_("entries"):S:void 0,P="Array"==t&&x.entries||E;if(P&&(y=u(P.call(new e)))!==Object.prototype&&y.next&&(c(y,k,!0),r||"function"==typeof y[d]||a(y,d,p)),O&&E&&"values"!==E.name&&(T=!0,S=function(){return E.call(this)}),r&&!g||!f&&!T&&x[d]||a(x,d,S),s[t]=S,s[k]=p,m)if(b={values:O?S:_("values"),keys:v?S:_("keys"),entries:F},g)for(w in b)w in x||i(x,w,b[w]);else o(o.P+o.F*(f||T),t,b);return b}},function(e,t,n){"use strict";var r,o,i,a,s=n(66),l=n(17),c=n(48),u=n(81),d=n(22),f=n(27),p=n(78),h=n(570),m=n(571),v=n(388),g=n(389).set,b=n(573)(),w=n(390),y=n(574),_=n(575),k=n(576),O=l.TypeError,T=l.process,x=T&&T.versions,E=x&&x.v8||"",S=l.Promise,F="process"==u(T),P=function(){},C=o=w.f,M=!!function(){try{var e=S.resolve(1),t=(e.constructor={})[n(16)("species")]=function(e){e(P,P)};return(F||"function"==typeof PromiseRejectionEvent)&&e.then(P)instanceof t&&0!==E.indexOf("6.6")&&-1===_.indexOf("Chrome/66")}catch(e){}}(),R=function(e){var t;return!(!f(e)||"function"!=typeof(t=e.then))&&t},I=function(e,t){if(!e._n){e._n=!0;var n=e._c;b((function(){for(var r=e._v,o=1==e._s,i=0,a=function(t){var n,i,a,s=o?t.ok:t.fail,l=t.resolve,c=t.reject,u=t.domain;try{s?(o||(2==e._h&&A(e),e._h=1),!0===s?n=r:(u&&u.enter(),n=s(r),u&&(u.exit(),a=!0)),n===t.promise?c(O("Promise-chain cycle")):(i=R(n))?i.call(n,l,c):l(n)):c(r)}catch(e){u&&!a&&u.exit(),c(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&D(e)}))}},D=function(e){g.call(l,(function(){var t,n,r,o=e._v,i=$(e);if(i&&(t=y((function(){F?T.emit("unhandledRejection",o,e):(n=l.onunhandledrejection)?n({promise:e,reason:o}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",o)})),e._h=F||$(e)?2:1),e._a=void 0,i&&t.e)throw t.v}))},$=function(e){return 1!==e._h&&0===(e._a||e._c).length},A=function(e){g.call(l,(function(){var t;F?T.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})}))},j=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),I(t,!0))},N=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw O("Promise can't be resolved itself");(t=R(e))?b((function(){var r={_w:n,_d:!1};try{t.call(e,c(N,r,1),c(j,r,1))}catch(e){j.call(r,e)}})):(n._v=e,n._s=1,I(n,!1))}catch(e){j.call({_w:n,_d:!1},e)}}};M||(S=function(e){h(this,S,"Promise","_h"),p(e),r.call(this);try{e(c(N,this,1),c(j,this,1))}catch(e){j.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(577)(S.prototype,{then:function(e,t){var n=C(v(this,S));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=F?T.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&I(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=c(N,e,1),this.reject=c(j,e,1)},w.f=C=function(e){return e===S||e===a?new i(e):o(e)}),d(d.G+d.W+d.F*!M,{Promise:S}),n(79)(S,"Promise"),n(578)("Promise"),a=n(47).Promise,d(d.S+d.F*!M,"Promise",{reject:function(e){var t=C(this);return(0,t.reject)(e),t.promise}}),d(d.S+d.F*(s||!M),"Promise",{resolve:function(e){return k(s&&this===a?S:this,e)}}),d(d.S+d.F*!(M&&n(391)((function(e){S.all(e).catch(P)}))),"Promise",{all:function(e){var t=this,n=C(t),r=n.resolve,o=n.reject,i=y((function(){var n=[],i=0,a=1;m(e,!1,(function(e){var s=i++,l=!1;n.push(void 0),a++,t.resolve(e).then((function(e){l||(l=!0,n[s]=e,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=C(t),r=n.reject,o=y((function(){m(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},function(e,t,n){var r=n(21);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(70),o=n(16)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){var r=n(81),o=n(16)("iterator"),i=n(70);e.exports=n(47).getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(21),o=n(78),i=n(16)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},function(e,t,n){var r,o,i,a=n(48),s=n(572),l=n(257),c=n(250),u=n(17),d=u.process,f=u.setImmediate,p=u.clearImmediate,h=u.MessageChannel,m=u.Dispatch,v=0,g={},b=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},w=function(e){b.call(e.data)};f&&p||(f=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++v]=function(){s("function"==typeof e?e:Function(e),t)},r(v),v},p=function(e){delete g[e]},"process"==n(37)(d)?r=function(e){d.nextTick(a(b,e,1))}:m&&m.now?r=function(e){m.now(a(b,e,1))}:h?(i=(o=new h).port2,o.port1.onmessage=w,r=a(i.postMessage,i,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",w,!1)):r="onreadystatechange"in c("script")?function(e){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),b.call(e)}}:function(e){setTimeout(a(b,e,1),0)}),e.exports={set:f,clear:p}},function(e,t,n){"use strict";var r=n(78);function o(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new o(e)}},function(e,t,n){var r=n(16)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){"use strict";!function(e){var t,n='<svg><symbol id="icon-switch" viewBox="0 0 1024 1024"><path d="M701.74225 917.574059c-7.419408 0-14.960447-2.675852-20.9203-8.149187-12.649483-11.554816-13.500891-31.13719-2.067704-43.786673l119.318684-130.75187L679.119135 608.634755c-11.798076-12.527854-11.189928-32.110227 1.337926-43.786673 12.527854-11.798076 32.110227-11.189928 43.786673 1.337926l138.657798 147.171873c11.068298 11.798076 11.311557 30.164153 0.364889 42.205488l-138.657798 152.037059c-6.081482 6.568001-14.473928 9.973631-22.866373 9.973631z" fill="" ></path><path d="M806.343746 786.21404h-581.389713c-82.100012 0-148.996318-66.896306-148.996318-148.996318v-245.691888c0-17.14978 13.86578-31.01556 31.01556-31.01556s31.01556 13.86578 31.01556 31.01556v245.691888c0 47.922081 39.043117 86.965198 86.965198 86.965198h581.389713c17.14978 0 31.01556 13.86578 31.01556 31.01556s-13.86578 31.01556-31.01556 31.01556z" fill="" ></path><path d="M322.25775 468.76066c-8.270816 0-16.420002-3.284-22.623114-9.730371l-138.657798-147.171874c-11.068298-11.798076-11.311557-30.164153-0.364889-42.205487l138.657798-152.037059c11.554816-12.649483 31.13719-13.500891 43.786673-2.067704 12.649483 11.554816 13.500891 31.13719 2.067704 43.786673l-119.197054 130.8735 118.953795 126.251574c11.798076 12.527854 11.189928 32.110227-1.337926 43.786673-5.959853 5.716593-13.62252 8.514075-21.285189 8.514075z" fill="" ></path><path d="M917.026725 664.584392c-17.14978 0-31.01556-13.86578-31.01556-31.01556v-245.691887c0-47.922081-39.043117-86.965198-86.965198-86.965198h-581.389713c-17.14978 0-31.01556-13.86578-31.01556-31.01556s13.86578-31.01556 31.01556-31.01556h581.389713c82.100012 0 148.996318 66.896306 148.996318 148.996318v245.691887c0 17.14978-13.86578 31.01556-31.01556 31.01556z" fill="" ></path></symbol><symbol id="icon-properties" viewBox="0 0 1024 1024"><path d="M512.980327 64.636113c-246.706845 0-447.421192 200.714348-447.421192 447.421192 0 246.700705 200.714348 447.415053 447.421192 447.415053s447.421192-200.714348 447.421193-447.415053c0-246.706845-200.715371-447.421192-447.421193-447.421192z m0 833.54532c-212.913181 0-386.130268-173.21811-386.130267-386.125151 0-212.913181 173.21811-386.130268 386.130267-386.130268s386.130268 173.21811 386.130268 386.130268c0 212.908064-173.21811 386.125151-386.130268 386.125151z" ></path><path d="M606.931093 640.392182c-11.621688 0-55.209416 68.771293-79.423911 68.771293-6.780427 0-9.685593-5.813403-9.685593-11.624758 0-13.558807 8.715499-33.899064 13.558807-45.520753l57.147558-156.913773c28.088732-77.487815-8.717546-98.795097-42.617633-98.795097-46.491871 0-88.142479 23.245424-120.105449 54.240345-10.654664 10.654664-45.523823 44.554752-45.523823 59.083654 0 4.844332 4.843308 10.655687 10.655688 10.655687 14.528901 0 52.302203-69.739341 82.328053-69.739341 5.814426 0 13.561877 6.780427 7.751545 21.309329L426.773943 612.304474c-5.811356 13.558807-32.93204 79.423911-32.93204 118.167306 0 30.994921 19.373233 44.554752 48.432059 44.554752 80.391958 0 174.34477-99.765191 174.34477-123.009591-0.002047-6.780427-5.814426-11.624758-9.687639-11.624759zM590.464049 249.081938c-35.836183 0-65.86408 28.088732-65.86408 63.927985 0 32.93204 21.310352 55.210439 54.242392 54.239322 36.805254 0 66.832128-27.120684 66.832128-63.927985 0-32.92897-23.24747-54.239322-55.21044-54.239322z" ></path></symbol><symbol id="icon-delete" viewBox="0 0 1024 1024"><path d="M409.6 163.84h163.84v40.96h-163.84zM532.48 368.64h40.96v368.64h-40.96zM409.6 368.64h40.96v368.64h-40.96z" ></path><path d="M286.72 245.76v614.4h409.6V245.76H286.72z m450.56 0v655.36H245.76V245.76H204.8V204.8h573.44v40.96h-40.96z" ></path></symbol><symbol id="icon-custom-task" viewBox="0 0 1024 1024"><path d="M756.63132445 483.81952l220.74709333-209.7152a112.86755555 112.86755555 0 0 0 0-159.61656889l-55.08664889-55.08664889a112.86755555 112.86755555 0 0 0-157.54126222-2.00248889L549.13706667 262.12579555 339.71313778 38.39317333l-1.71121778-1.78403555a73.76440889 73.76440889 0 0 0-104.34787555-0.43690667L76.44046222 193.38581333a73.728 73.728 0 0 0-1.27431111 102.56384L281.49532445 516.36906667 86.41649778 701.69031111A112.94037333 112.94037333 0 0 0 54.26744889 757.76L21.28099555 898.55317333a74.67463111 74.67463111 0 0 0 93.7528889 88.65564445L250.76622222 947.23185778a113.48650667 113.48650667 0 0 0 45.8752-26.43285333l192.34816-182.73621334 231.66976 247.50762667 1.71121778 1.78403555a73.76440889 73.76440889 0 0 0 104.34787555 0.43690667L983.93201778 830.57777778a73.728 73.728 0 0 0 1.27431111-102.56384L756.63132445 483.81952zM292.89130667 823.95136l-102.52743112-102.52743111a35.82634667 35.82634667 0 0 0-11.14112-7.39100444l509.2511289-483.80131556 107.26058666 107.26058666c1.60199111 1.60199111 3.60448 2.36657778 5.42492444 3.60448l-508.26808888 482.85468445z m521.99424-713.83267555a40.04977778 40.04977778 0 0 1 55.88764444 0.72817777l55.08664889 55.08664889c15.65582222 15.65582222 15.65582222 40.99640889-0.72817778 57.344l-73.32750222 69.65020444c-1.45635555-2.36657778-2.54862222-4.87879111-4.62392889-6.95409777l-105.94986666-105.94986667 73.65518222-69.90506666z m-557.16522667 274.34097777c9.10222222-0.14563555 18.20444445-3.60448 25.15854222-10.55857777l54.61333333-54.61333334a36.37248 36.37248 0 1 0-51.48216888-51.48216889l-54.61333334 54.61333333a36.0448 36.0448 0 0 0-10.15808 23.04682667L128.35953778 246.21511111c-0.58254222-0.58254222-0.58254222-1.16508445-0.40049778-1.31072L285.17262222 87.6544c0.14563555-0.14563555 0.76458667-0.14563555 1.41994667 0.47331555l209.78801778 224.13312L334.32462222 466.23402667l-76.60430222-81.77436445zM94.46286222 917.37656889a1.82044445 1.82044445 0 0 1-2.29376-2.18453334L125.15555555 774.39886222c1.12867555-4.73315555 3.34961778-9.06581333 6.04387556-13.07079111a36.19043555 36.19043555 0 0 0 7.68227556 11.54161778l100.45212444 100.45212444a39.90414222 39.90414222 0 0 1-9.10222222 4.04138667l-135.76874667 40.01336889zM775.23626667 936.3456c-0.14563555 0.14563555-0.76458667 0.14563555-1.41994667-0.47331555l-142.90488889-152.66247112a35.53507555 35.53507555 0 0 0 16.01991111-8.77454222l54.61333333-54.61333333a36.37248 36.37248 0 1 0-51.48216888-51.48216889l-54.61333334 54.61333333a36.0448 36.0448 0 0 0-8.30122666 13.54410667l-45.40188445-48.53304889 162.05596445-153.97319111 228.21091555 243.83032889c0.54613333 0.58254222 0.54613333 1.16508445 0.40049778 1.31072L775.23626667 936.3456z" ></path></symbol><symbol id="icon-join" viewBox="0 0 1024 1024"><path d="M987.136 552.96c5.46133333-5.46133333 10.92266667-13.65333333 10.92266667-24.576 0-8.192-2.73066667-16.384-10.92266667-24.576L817.83466667 329.04533333c-5.46133333-2.73066667-13.65333333-8.192-24.576-8.192-8.192 0-19.11466667 2.73066667-24.576 10.92266667l-177.49333334 174.76266667C585.728 512 580.26666667 520.192 580.26666667 531.11466667s2.73066667 19.11466667 10.92266666 24.576l177.49333334 172.032c5.46133333 5.46133333 13.65333333 10.92266667 24.576 10.92266666 8.192 0 16.384-2.73066667 24.576-10.92266666L987.136 552.96zM25.94133333 970.752c0 8.192 2.73066667 16.384 10.92266667 24.576 5.46133333 5.46133333 16.384 10.92266667 24.576 10.92266667h270.336c8.192 0 16.384-2.73066667 24.576-10.92266667 5.46133333-5.46133333 10.92266667-16.384 10.92266667-24.576v-68.26666667h152.91733333c8.192 0 16.384-2.73066667 24.576-10.92266666 5.46133333-5.46133333 10.92266667-16.384 10.92266667-24.576v-682.66666667c0-8.192-2.73066667-16.384-10.92266667-24.576-5.46133333-5.46133333-16.384-10.92266667-24.576-10.92266667H367.27466667V47.78666667c0-8.192-2.73066667-16.384-10.92266667-24.576-5.46133333-5.46133333-16.384-10.92266667-24.576-10.92266667H61.44c-8.192 0-16.384 2.73066667-24.576 10.92266667-5.46133333 5.46133333-10.92266667 16.384-10.92266667 24.576v221.184c0 8.192 2.73066667 16.384 10.92266667 24.576 5.46133333 5.46133333 16.384 10.92266667 24.576 10.92266666h270.336c8.192 0 16.384-2.73066667 24.576-10.92266666 5.46133333-5.46133333 10.92266667-16.384 10.92266667-24.576V252.58666667h68.26666666c8.192 0 16.384 2.73066667 24.576 10.92266666 5.46133333 5.46133333 10.92266667 16.384 10.92266667 24.576V785.06666667c0 8.192-2.73066667 16.384-10.92266667 24.576-5.46133333 5.46133333-16.384 10.92266667-24.576 10.92266666h-68.26666666v-68.26666666c0-8.192-2.73066667-16.384-10.92266667-24.576-5.46133333-5.46133333-16.384-10.92266667-24.576-10.92266667H61.44c-8.192 0-16.384 2.73066667-24.576 10.92266667-5.46133333 5.46133333-10.92266667 16.384-10.92266667 24.576v218.45333333z" ></path></symbol><symbol id="icon-fork" viewBox="0 0 1024 1024"><path d="M36.864 471.04c-5.46133333 5.46133333-10.92266667 13.65333333-10.92266667 24.576 0 8.192 2.73066667 16.384 10.92266667 24.576l169.30133333 174.76266667c5.46133333 2.73066667 13.65333333 8.192 24.576 8.192 8.192 0 19.11466667-2.73066667 24.576-10.92266667l177.49333334-174.76266667c5.46133333-5.46133333 10.92266667-13.65333333 10.92266666-24.576s-2.73066667-19.11466667-10.92266666-24.576l-177.49333334-172.032c-5.46133333-5.46133333-13.65333333-10.92266667-24.576-10.92266666-8.192 0-16.384 2.73066667-24.576 10.92266666L36.864 471.04zM998.05866667 53.248c0-8.192-2.73066667-16.384-10.92266667-24.576-5.46133333-5.46133333-16.384-10.92266667-24.576-10.92266667H692.224c-8.192 0-16.384 2.73066667-24.576 10.92266667-5.46133333 5.46133333-10.92266667 16.384-10.92266667 24.576v68.26666667H503.808c-8.192 0-16.384 2.73066667-24.576 10.92266666-5.46133333 5.46133333-10.92266667 16.384-10.92266667 24.576v682.66666667c0 8.192 2.73066667 16.384 10.92266667 24.576 5.46133333 5.46133333 16.384 10.92266667 24.576 10.92266667h152.91733333v101.03466666c0 8.192 2.73066667 16.384 10.92266667 24.576 5.46133333 5.46133333 16.384 10.92266667 24.576 10.92266667H962.56c8.192 0 16.384-2.73066667 24.576-10.92266667 5.46133333-5.46133333 10.92266667-16.384 10.92266667-24.576V755.02933333c0-8.192-2.73066667-16.384-10.92266667-24.576-5.46133333-5.46133333-16.384-10.92266667-24.576-10.92266666H692.224c-8.192 0-16.384 2.73066667-24.576 10.92266666-5.46133333 5.46133333-10.92266667 16.384-10.92266667 24.576v16.384h-68.26666666c-8.192 0-16.384-2.73066667-24.576-10.92266666-5.46133333-5.46133333-10.92266667-16.384-10.92266667-24.576V238.93333333c0-8.192 2.73066667-16.384 10.92266667-24.576 5.46133333-5.46133333 16.384-10.92266667 24.576-10.92266666h68.26666666v68.26666666c0 8.192 2.73066667 16.384 10.92266667 24.576 5.46133333 5.46133333 16.384 10.92266667 24.576 10.92266667H962.56c8.192 0 16.384-2.73066667 24.576-10.92266667 5.46133333-5.46133333 10.92266667-16.384 10.92266667-24.576V53.248z" ></path></symbol><symbol id="icon-copy-task" viewBox="0 0 1024 1024"><path d="M636.30222222 513.25155555c11.71911111-6.82666667 21.16266667-26.39644445 1.36533334-35.72622222-6.71288889-3.072-13.65333333-5.91644445-20.59377778-8.64711111C666.45333334 424.61866667 697.74222222 360.56177778 697.74222222 288.99555555c0-133.34755555-108.20266667-241.55022222-241.55022222-241.55022222S214.64177778 155.648 214.64177778 288.99555555c0 71.56622222 31.28888889 135.62311111 80.66844444 179.88266667-146.31822222 57.45777778-254.29333333 191.03288889-275.34222222 352.02844445-0.22755555 1.93422222-0.34133333 3.86844445-0.34133333 5.80266666 0 30.37866667 24.576 55.06844445 55.06844445 55.06844445H532.76444445c-21.04888889-38.912-33.10933333-83.51288889-33.10933333-130.84444445 0.11377778-101.48977778 55.06844445-190.00888889 136.6471111-237.68177778z m31.63022223 227.8968889l78.05155555 37.09155555 98.98666667-98.98666667z m133.91644444 133.91644444l56.88888889-171.23555556-94.09422222 94.09422222z" ></path><path d="M774.76977778 524.97066667c-124.47288889 0-225.84888889 101.26222222-225.84888889 225.84888888 0 124.47288889 101.26222222 225.84888889 225.84888889 225.8488889s225.84888889-101.26222222 225.84888889-225.8488889c0-124.47288889-101.26222222-225.84888889-225.84888889-225.84888888z m129.47911111 128l-87.15377777 262.25777778c-1.70666667 5.23377778-6.48533333 8.87466667-11.94666667 9.216h-0.91022223c-5.12 0-10.01244445-2.95822222-12.17422222-7.62311112l-54.49955555-112.64-110.93333333-52.90666666c-3.29955555-1.59288889-5.80266667-4.32355555-6.94044445-7.73688889-2.50311111-7.05422222 1.25155555-14.79111111 8.30577778-17.29422223l258.95822222-90.45333333c1.47911111-0.45511111 2.95822222-0.79644445 4.43733333-0.79644444 3.64088889 0 6.94044445 1.36533333 9.55733334 3.86844444 3.52711111 3.75466667 4.89244445 9.216 3.29955555 14.10844445z" ></path></symbol><symbol id="icon-subprocess" viewBox="0 0 1024 1024"><path d="M1023.78666667 129.49333333c-0.32-6.93333333-1.28-13.86666667-2.56-20.48s-3.2-13.12-5.54666667-19.41333333c-0.74666667-2.13333333-1.6-4.16-2.45333333-6.18666667-3.73333333-8.85333333-8.42666667-17.28-13.86666667-25.06666666-0.32-0.53333333-0.74666667-1.06666667-1.06666667-1.49333334-0.96-1.28-1.92-2.66666667-2.98666666-3.94666666-0.32-0.32-0.53333333-0.74666667-0.85333334-1.06666667-2.56-3.2-5.22666667-6.29333333-8-9.28l-0.21333333-0.21333333c-5.97333333-6.29333333-12.58666667-12.05333333-19.73333333-17.06666667-1.49333333-1.06666667-2.98666667-2.02666667-4.48-3.09333333-1.6-1.06666667-3.2-2.02666667-4.90666667-3.09333334-0.85333333-0.53333333-1.81333333-1.06666667-2.66666667-1.6-1.28-0.74666667-2.45333333-1.38666667-3.73333333-2.02666666-0.64-0.32-1.28-0.64-2.02666667-1.06666667-1.28-0.64-2.66666667-1.28-4.05333333-1.92-2.56-1.17333333-5.22666667-2.34666667-7.89333333-3.41333333-1.49333333-0.64-3.09333333-1.17333333-4.58666667-1.70666667-2.34666667-0.85333333-4.8-1.6-7.25333333-2.24-3.2-0.96-6.50666667-1.70666667-9.81333334-2.45333333-5.54666667-1.17333333-11.2-1.92-16.96-2.34666667-3.52-0.21333333-6.93333333-0.42666667-10.45333333-0.42666667s-7.04 0.10666667-10.45333333 0.42666667c-5.76 0.42666667-11.41333333 1.28-16.96 2.34666667-3.30666667 0.64-6.61333333 1.49333333-9.81333334 2.45333333-2.45333333 0.64-4.8 1.49333333-7.25333333 2.24-1.49333333 0.53333333-3.09333333 1.06666667-4.58666667 1.70666667-2.66666667 1.06666667-5.33333333 2.13333333-7.89333333 3.41333333-1.38666667 0.64-2.66666667 1.28-4.05333333 1.92-0.64 0.32-1.28 0.64-2.02666667 1.06666667-1.28 0.64-2.56 1.38666667-3.73333333 2.02666666-0.96 0.53333333-1.81333333 1.06666667-2.66666667 1.6-1.6 0.96-3.30666667 2.02666667-4.90666667 3.09333334-1.49333333 0.96-2.98666667 2.02666667-4.48 3.09333333-7.14666667 5.01333333-13.76 10.77333333-19.73333333 17.06666667l-0.21333333 0.21333333c-2.77333333 2.98666667-5.44 6.08-8 9.28-0.32 0.32-0.53333333 0.74666667-0.85333334 1.06666667-0.96 1.28-2.02666667 2.56-2.98666666 3.94666666-0.32 0.53333333-0.74666667 1.06666667-1.06666667 1.49333334-5.44 7.78666667-10.13333333 16.21333333-13.86666667 25.06666666-0.85333333 2.02666667-1.70666667 4.16-2.45333333 6.18666667-2.34666667 6.29333333-4.16 12.8-5.54666667 19.41333333s-2.24 13.54666667-2.56 20.48c-0.10666667 2.34666667-0.21333333 4.69333333-0.21333333 7.04 0 3.52 0.10666667 7.04 0.42666667 10.45333334 0.42666667 5.76 1.28 11.41333333 2.34666666 16.96 0.64 3.30666667 1.49333333 6.61333333 2.45333334 9.81333333 5.22666667 18.34666667 14.18666667 35.09333333 26.02666666 49.49333333 0.74666667 0.85333333 1.38666667 1.70666667 2.13333334 2.45333334 4.16 4.8 8.74666667 9.38666667 13.54666666 13.65333333l-105.81333333 306.98666667c-3.09333333-0.21333333-6.18666667-0.32-9.28-0.32-14.93333333 0-29.33333333 2.45333333-42.77333333 6.82666666-0.64 0.21333333-1.28 0.42666667-1.81333334 0.64-1.49333333 0.53333333-3.09333333 1.06666667-4.58666666 1.70666667-2.34666667 0.96-4.69333333 1.92-7.04 2.98666667L466.56 395.62666667c2.34666667-5.44 4.37333333-11.2 6.08-16.96 0.96-3.2 1.70666667-6.50666667 2.45333333-9.81333334 1.17333333-5.54666667 1.92-11.2 2.34666667-16.96 0.21333333-3.52 0.42666667-6.93333333 0.42666667-10.45333333 0-2.34666667-0.10666667-4.69333333-0.21333334-7.04-0.32-6.93333333-1.28-13.86666667-2.56-20.48-7.04-34.45333333-27.09333333-64.10666667-54.72-83.84-0.85333333-0.64-1.81333333-1.28-2.66666666-1.92-6.4-4.26666667-13.12-8.10666667-20.16-11.30666667-2.02666667-0.96-4.05333333-1.81333333-6.08-2.56s-4.16-1.6-6.29333334-2.34666666c-13.76-4.69333333-28.48-7.14666667-43.84-7.14666667-3.52 0-7.04 0.10666667-10.45333333 0.42666667-5.76 0.42666667-11.41333333 1.28-16.96 2.34666666-3.30666667 0.64-6.61333333 1.49333333-9.81333333 2.45333334-2.45333333 0.64-4.8 1.49333333-7.25333334 2.24-1.49333333 0.53333333-3.09333333 1.06666667-4.58666666 1.70666666-2.66666667 1.06666667-5.33333333 2.13333333-7.89333334 3.41333334-1.38666667 0.64-2.66666667 1.28-4.05333333 1.92-0.64 0.32-1.28 0.64-2.02666667 1.06666666-1.28 0.64-2.56 1.38666667-3.73333333 2.02666667-0.96 0.53333333-1.81333333 1.06666667-2.66666667 1.6-1.6 0.96-3.30666667 2.02666667-4.90666666 3.09333333-1.49333333 0.96-2.98666667 2.02666667-4.48 3.09333334-7.14666667 5.01333333-13.76 10.77333333-19.73333334 17.06666666l-0.21333333 0.21333334c-2.77333333 2.98666667-5.44 6.08-8 9.28-0.32 0.32-0.53333333 0.74666667-0.85333333 1.06666666-0.96 1.28-2.02666667 2.56-2.98666667 3.94666667-0.32 0.53333333-0.74666667 1.06666667-1.06666667 1.49333333-5.44 7.78666667-10.13333333 16.21333333-13.86666666 25.06666667-0.85333333 2.02666667-1.70666667 4.16-2.45333334 6.18666667-2.34666667 6.29333333-4.16 12.8-5.54666666 19.41333333s-2.24 13.54666667-2.56 20.48c-0.10666667 2.34666667-0.21333333 4.69333333-0.21333334 7.04 0 3.52 0.10666667 7.04 0.42666667 10.45333333 0.42666667 5.76 1.28 11.41333333 2.34666667 16.96 0.64 3.30666667 1.49333333 6.61333333 2.45333333 9.81333334 5.22666667 18.34666667 14.18666667 35.09333333 26.02666667 49.49333333 0.74666667 0.85333333 1.38666667 1.70666667 2.13333333 2.45333333 0.64 0.74666667 1.28 1.49333333 1.92 2.13333334L129.6 751.04c-12.48 0.64-24.53333333 2.88-35.84 6.61333333-0.64 0.21333333-1.28 0.42666667-1.81333333 0.64-1.49333333 0.53333333-3.09333333 1.06666667-4.58666667 1.70666667-2.66666667 1.06666667-5.33333333 2.13333333-7.89333333 3.41333333-3.30666667 1.49333333-6.61333333 3.2-9.81333334 5.01333334-0.96 0.53333333-1.81333333 1.06666667-2.66666666 1.6-1.6 0.96-3.30666667 2.02666667-4.90666667 3.09333333-1.49333333 0.96-2.98666667 2.02666667-4.48 3.09333333-1.81333333 1.28-3.52 2.56-5.22666667 3.94666667-0.85333333 0.64-1.70666667 1.38666667-2.56 2.02666667-2.56 2.13333333-5.01333333 4.26666667-7.36 6.50666666-0.74666667 0.74666667-1.6 1.49333333-2.34666666 2.24-1.49333333 1.49333333-3.09333333 3.09333333-4.48 4.69333334-1.49333333 1.6-2.88 3.30666667-4.26666667 4.90666666-2.77333333 3.41333333-5.44 6.82666667-7.89333333 10.56-4.90666667 7.25333333-9.17333333 15.04-12.58666667 23.14666667-0.85333333 2.02666667-1.70666667 4.16-2.45333333 6.18666667-0.74666667 2.13333333-1.49333333 4.16-2.13333334 6.29333333-1.28 4.26666667-2.45333333 8.64-3.41333333 13.12s-1.6 8.96-2.02666667 13.54666667c-0.42666667 4.58666667-0.74666667 9.28-0.74666666 13.97333333 0 75.41333333 61.12 136.53333333 136.53333333 136.53333333s136.53333333-61.12 136.53333333-136.53333333c0-4.69333333-0.21333333-9.38666667-0.74666666-13.97333333-0.42666667-4.58666667-1.17333333-9.06666667-2.02666667-13.54666667s-2.02666667-8.85333333-3.41333333-13.12c-0.64-2.13333333-1.38666667-4.26666667-2.13333334-6.29333333-0.74666667-2.13333333-1.6-4.16-2.45333333-6.18666667-3.41333333-8.21333333-7.68-15.89333333-12.58666667-23.14666667-2.45333333-3.62666667-5.12-7.14666667-7.89333333-10.56-1.38666667-1.70666667-2.77333333-3.30666667-4.26666667-4.90666666s-2.98666667-3.2-4.48-4.69333334c-0.74666667-0.74666667-1.6-1.49333333-2.34666666-2.24-1.38666667-1.38666667-2.88-2.66666667-4.37333334-3.94666666l106.45333334-307.2c2.77333333 0.21333333 5.65333333 0.32 8.42666666 0.32 16.53333333 0 32.32-2.88 46.93333334-8.32 1.81333333-0.64 3.52-1.38666667 5.33333333-2.13333334l162.13333333 164.8c-0.42666667 1.17333333-0.85333333 2.24-1.28 3.41333334-0.74666667 2.13333333-1.49333333 4.16-2.13333333 6.29333333-1.28 4.26666667-2.45333333 8.64-3.41333333 13.12s-1.6 8.96-2.02666667 13.54666667c-0.42666667 4.58666667-0.74666667 9.28-0.74666667 13.97333333 0 75.41333333 61.12 136.53333333 136.53333334 136.53333333s136.53333333-61.12 136.53333333-136.53333333c0-4.69333333-0.21333333-9.38666667-0.74666667-13.97333333-0.42666667-4.58666667-1.17333333-9.06666667-2.02666666-13.54666667s-2.02666667-8.85333333-3.41333334-13.12c-0.64-2.13333333-1.38666667-4.26666667-2.13333333-6.29333333-0.74666667-2.13333333-1.6-4.16-2.45333333-6.18666667-3.41333333-8.21333333-7.68-15.89333333-12.58666667-23.14666667-2.45333333-3.62666667-5.12-7.14666667-7.89333333-10.56-1.06666667-1.38666667-2.24-2.66666667-3.41333334-3.94666666l109.97333334-318.93333334c1.17333333-0.10666667 2.24-0.10666667 3.41333333-0.21333333 5.76-0.42666667 11.41333333-1.28 16.96-2.34666667 3.30666667-0.64 6.61333333-1.49333333 9.81333333-2.45333333 18.34666667-5.22666667 35.09333333-14.18666667 49.49333334-26.02666667 0.85333333-0.74666667 1.70666667-1.38666667 2.45333333-2.13333333 4.90666667-4.26666667 9.6-8.96 13.86666667-13.86666667 0.74666667-0.85333333 1.38666667-1.70666667 2.13333333-2.45333333 11.84-14.29333333 20.8-31.14666667 26.02666667-49.49333333 0.96-3.2 1.70666667-6.50666667 2.45333333-9.81333334 1.17333333-5.54666667 1.92-11.2 2.34666667-16.96 0.21333333-3.52 0.42666667-6.93333333 0.42666666-10.45333333 0.10666667-2.45333333 0-4.8-0.10666666-7.14666667z" ></path></symbol><symbol id="icon-human-decision" viewBox="0 0 1024 1024"><path d="M519.5 594.47733333c-4.1 10.399-6.1 21.398-6.1 32.197 0 23.198 8.899 46.395 26.497 64.294l29.897 29.997 1.7 1.4c17.398 16.798 39.996 24.997 62.494 24.997 22.998 0 46.396-8.7 63.794-26.397h0.2l176.883-176.983 1.6-1.5c16.698-17.598 24.797-40.196 24.797-62.794 0-23.197-8.8-46.195-26.397-63.794h0.1l0.1-0.4-29.898-29.797c-17.598-17.498-40.796-26.297-64.293-26.297-11 0-21.998 1.9-32.497 5.9L557.696 174.41733333c4.2-10.399 6.099-21.498 6.099-32.497 0-23.198-9-46.395-26.697-64.293L507.2 47.83033333C489.602 30.23333333 466.404 21.33333333 443.107 21.33333333c-23.198 0-46.696 8.9-64.294 26.497L201.93 224.81333333l-1.5 1.5c-16.398 17.698-24.797 40.296-24.797 62.494 0 23.398 8.799 46.595 26.397 64.394l29.897 29.897 1.7 1.4c17.598 16.898 40.096 25.097 62.494 25.097 10.999 0 21.898-2.2 32.497-6l18.898 18.999L31.546 738.86333333C10.55 759.86133333 0.05 787.45833333 0.05 814.95533333c0 27.798 10.499 55.495 31.497 76.393 21.198 21.098 48.795 31.597 76.392 31.597 27.698 0 55.195-10.499 76.293-31.597l315.97-316.07 19.297 19.199zM959.956 981.33933333H512c-35.197 0-63.994-28.797-63.994-63.994 0-35.196 28.797-63.993 63.994-63.993h447.956c35.197 0 63.994 28.797 63.994 63.993 0 35.197-28.797 63.994-63.994 63.994z" ></path></symbol><symbol id="icon-human-task" viewBox="0 0 1024 1024"><path d="M924.33066667 123.33511111H776.87466667v163.84h-546.13333334v-163.84H99.66933333c-19.11466667 0-32.768 19.11466667-32.768 38.22933334v813.73866666c0 21.84533333 16.384 38.22933333 35.49866667 38.22933334h816.46933333c19.11466667 0 35.49866667-16.384 35.49866667-38.22933334V161.56444445c0-21.84533333-16.384-38.22933333-35.49866667-38.22933334h5.46133334zM790.528 445.55377778L471.04 838.76977778c2.73066667 5.46133333-5.46133333 5.46133333-10.92266667 2.73066667l-232.10666666-191.14666667c-5.46133333-2.73066667-5.46133333-10.92266667-2.73066667-16.384l38.22933333-49.152c2.73066667-5.46133333 10.92266667-5.46133333 16.384-2.73066667l174.76266667 147.456 273.06666667-338.60266666c2.73066667-8.192 10.92266667-8.192 16.384-2.73066667l43.69066666 38.22933333c8.192 2.73066667 10.92266667 8.192 2.73066667 19.11466667zM643.072 74.18311111V41.41511111c0-30.03733333-27.30666667-49.152-57.344-49.152H419.15733333c-30.03733333 0-57.344 19.11466667-57.344 49.152v32.768h-65.536v163.84h412.33066667v-163.84h-65.536z m-139.264 98.304c-32.768 0-60.07466667-27.30666667-60.07466667-60.07466666s27.30666667-60.07466667 60.07466667-60.07466667 60.07466667 27.30666667 60.07466667 60.07466667c0 38.22933333-27.30666667 60.07466667-60.07466667 60.07466666z m0 0" ></path></symbol><symbol id="icon-decision" viewBox="0 0 1024 1024"><path d="M580.175027 28.57919l414.065896 414.065896a97.58526 97.58526 0 0 1 0 138.00065l-414.065896 414.065896a97.58526 97.58526 0 0 1-138.000649 0l-414.065897-414.065896a97.58526 97.58526 0 0 1 0-138.00065l414.065897-414.065896a97.58526 97.58526 0 0 1 138.000649 0z" ></path></symbol><symbol id="icon-end" viewBox="0 0 1024 1024"><path d="M512 25.6C243.2 25.6 25.6 243.2 25.6 512S243.2 998.4 512 998.4 998.4 780.8 998.4 512 780.8 25.6 512 25.6z m162.304 615.936c0 17.92-14.336 32.256-32.256 32.256H382.464c-17.92 0-32.256-14.336-32.256-32.256V381.952c0-17.92 14.336-32.256 32.256-32.256h259.584c17.92 0 32.256 14.336 32.256 32.256v259.584z m0 0" ></path></symbol><symbol id="icon-start" viewBox="0 0 1024 1024"><path d="M960.62577778 322.33244445c-24.46222222-57.91288889-59.61955555-110.02311111-104.33422223-154.73777778s-96.82488889-79.872-154.73777777-104.33422222C641.59288889 37.888 577.87733333 25.03111111 512.11377778 25.03111111c-65.64977778 0-129.47911111 12.85688889-189.44 38.22933334-57.91288889 24.46222222-110.02311111 59.61955555-154.73777778 104.33422222s-79.872 96.82488889-104.33422222 154.73777778C38.22933333 382.29333333 25.37244445 446.00888889 25.37244445 511.77244445c0 65.64977778 12.85688889 129.47911111 38.22933333 189.44 24.46222222 57.91288889 59.61955555 110.02311111 104.33422222 154.73777777s96.82488889 79.872 154.73777778 104.33422223c59.96088889 25.37244445 123.67644445 38.22933333 189.44 38.22933333 65.64977778 0 129.47911111-12.97066667 189.44-38.22933333 57.91288889-24.46222222 110.02311111-59.61955555 154.73777777-104.33422223s79.872-96.82488889 104.33422223-154.73777777c25.37244445-59.96088889 38.22933333-123.67644445 38.22933333-189.44 0-65.64977778-12.85688889-129.47911111-38.22933333-189.44z m-236.65777778 233.13066666L464.09955555 755.14311111C422.11555555 797.01333333 350.43555555 767.31733333 350.43555555 708.03911111V308.79288889c0-59.27822222 71.68-88.97422222 113.664-47.104l259.86844445 199.56622222c26.05511111 26.05511111 26.05511111 68.15288889 0 94.208z" ></path></symbol><symbol id="icon-virtual-human-task" viewBox="0 0 1496 1024"><path d="M864 1024H160C70.4 1024 0 953.6 0 864V160C0 70.4 70.4 0 160 0h704c89.6 0 160 70.4 160 160v704c0 89.6-70.4 160-160 160zM160 64c-51.2 0-96 44.8-96 96v704c0 51.2 44.8 96 96 96h704c51.2 0 96-44.8 96-96V160c0-51.2-44.8-96-96-96H160z" fill="#C9CED6" ></path></symbol></svg>';if((t=document.getElementsByTagName("script"))[t.length-1].getAttribute("data-injectcss")&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(t){console&&console.log(t)}}!function(t){if(document.addEventListener)if(~["complete","loaded","interactive"].indexOf(document.readyState))setTimeout(t,0);else{document.addEventListener("DOMContentLoaded",(function e(){document.removeEventListener("DOMContentLoaded",e,!1),t()}),!1)}else document.attachEvent&&(n=t,r=e.document,o=!1,i=function(){o||(o=!0,n())},(a=function(){try{r.documentElement.doScroll("left")}catch(e){return void setTimeout(a,50)}i()})(),r.onreadystatechange=function(){"complete"==r.readyState&&(r.onreadystatechange=null,i())});var n,r,o,i,a}((function(){var e,t;(e=document.createElement("div")).innerHTML=n,n=null,(t=e.getElementsByTagName("svg")[0])&&(t.setAttribute("aria-hidden","true"),t.style.position="absolute",t.style.width=0,t.style.height=0,t.style.overflow="hidden",function(e,t){t.firstChild?function(e,t){t.parentNode.insertBefore(e,t)}(e,t.firstChild):t.appendChild(e)}(t,document.body))}))}(window)},function(e,t,n){var r=n(65),o=n(54);e.exports=function(e){return function(t,n){var i,a,s=String(o(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):a-56320+(i-55296<<10)+65536}}},function(e,t,n){var r=n(49),o=n(82),i=n(265)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(267),o=n(43),i=n(72);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i((function(){n(1)})),"Object",a)}},function(e,t,n){e.exports=!n(58)&&!n(72)((function(){return 7!=Object.defineProperty(n(397)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(71),o=n(44).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){"use strict";var r=n(83),o=n(267),i=n(399),a=n(56),s=n(271),l=n(594),c=n(273),u=n(394),d=n(60)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,h,m,v,g){l(n,t,h);var b,w,y,_=function(e){if(!f&&e in x)return x[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},k=t+" Iterator",O="values"==m,T=!1,x=e.prototype,E=x[d]||x["@@iterator"]||m&&x[m],S=E||_(m),F=m?O?_("entries"):S:void 0,P="Array"==t&&x.entries||E;if(P&&(y=u(P.call(new e)))!==Object.prototype&&y.next&&(c(y,k,!0),r||"function"==typeof y[d]||a(y,d,p)),O&&E&&"values"!==E.name&&(T=!0,S=function(){return E.call(this)}),r&&!g||!f&&!T&&x[d]||a(x,d,S),s[t]=S,s[k]=p,m)if(b={values:O?S:_("values"),keys:v?S:_("keys"),entries:F},g)for(w in b)w in x||i(x,w,b[w]);else o(o.P+o.F*(f||T),t,b);return b}},function(e,t,n){e.exports=n(56)},function(e,t,n){var r=n(85),o=n(595),i=n(272),a=n(265)("IE_PROTO"),s=function(){},l=function(){var e,t=n(397)("iframe"),r=i.length;for(t.style.display="none",n(600).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[i[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(49),o=n(59),i=n(597)(!1),a=n(265)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(c,n)||c.push(n));return c}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(401),o=n(272).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{attr:{id:"newHumanTask",name:o.default.t("workflowEditor.task.newTask")},g:{},basicProperties:{processingMode:{type:"EDIT",passRate:0,moreTransactor:!1,actions:{action:[]}},taskCode:"",taskTitle:"",remark:"",mailNotice:!1,taskUrl:""},transactorSettings:{userCondition:"",moreTransactor:!1,additionalCondition:{onlyInCreatorDepartment:!1,withCreatorDepartment:!1,selectOneFromMultiple:!1}},permissionSettings:{editForm:{permission:!1,field:[],subTablePermission:[{tableName:"sub_table1",permission:!1,modelName:"model",action:[{name:"add",userCondition:"人员条件",parentCondition:"主表字段条件"},{name:"update",userCondition:"人员条件",parentCondition:"主表字段条件",condition:"子表字段条件"},{name:"delete",userCondition:"人员条件",parentCondition:"主表字段条件",condition:"子表字段条件"}],field:[{name:"all_fields",constraintRule:"REQUIRED/READ_ONLY",userCondition:"人员条件",parentCondition:"主表字段条件",condition:"子表字段条件"},{name:"xxx",constraintRule:"REQUIRED/READ_ONLY",userCondition:"人员条件",parentCondition:"主表字段条件",condition:"子表字段条件"}]},{tableName:"sub_table2",permission:!1,modelName:"model",action:[{name:"add",userCondition:"人员条件",parentCondition:"主表字段条件"},{name:"update",userCondition:"人员条件",parentCondition:"主表字段条件",condition:"子表字段条件"},{name:"delete",userCondition:"人员条件",parentCondition:"主表字段条件",condition:"子表字段条件"}],field:[{name:"all_fields",constraintRule:"REQUIRED/READ_ONLY",userCondition:"人员条件",parentCondition:"主表字段条件",condition:"子表字段条件"},{name:"xxx",constraintRule:"REQUIRED/READ_ONLY",userCondition:"人员条件",parentCondition:"主表字段条件",condition:"子表字段条件"}]}]},viewOpinion:{permission:!1,condition:""},editOpinion:{permission:!1,condition:""},requireOpinion:{permission:!1,condition:""},viewMeetingResult:{permission:!1,condition:""},viewVoteResult:{permission:!1,condition:""},viewFlowHistory:{permission:!1,condition:""},printForm:{permission:!1,condition:""},officialText:{permission:!1},attachment:{permission:!1},deleteInstance:{userCondition:""}},autoFilledFields:{field:[]},reminder:{dueDate:1,dueTimeUnit:"day",repeat:1,containTransferUser:!1,containNoticeUser:!1,remindType:"mail",timeUnit:"day",remindTimes:0,noticeType:"",noticeUserCondition:"",transferUserCondition:""},events:{afterComplete:!1},variables:{variable:[]}}};var o=r(n(29))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("div",[t("h3",[e._v(e._s(e.$t("workflowEditor.main.tacheType")))]),e._v(" "),e._l(e.componentList,(function(n){return t("el-button",{key:n.name,attrs:{type:n.type,size:"medium",round:n.round},nativeOn:{mousedown:function(t){return e.select(n.name)}}},[t("icon-svg",{attrs:{icon:n.icon}}),e._v("\n "+e._s(n.label)+"\n ")],1)}))],2)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this._self._c;return e("svg",{staticClass:"svg-icon",attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":this.iconName}})])};t.staticRenderFns=[]},function(e,t,n){var r=n(637);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",{ref:"svgContainer",staticStyle:{position:"relative"}},[t("svg",{attrs:{id:"svg",width:"2000",height:"2000"},on:{mousedown:e.mousedown,mousemove:e.mousemove,mouseup:e.mouseup,mouseleave:e.mouseleave,dblclick:function(t){return e.setPropertiesEditorFor("Process")}}},[t("defs",[t("marker",{attrs:{id:"arrow",markerWidth:"10",markerHeight:"10",refX:"6",refY:"2",orient:"auto",markerUnits:"strokeWidth"}},[t("path",{attrs:{d:"M0,0 L0,4 L6,2 z",fill:"#666"}})])]),e._v(" "),e._l(e.taches,(function(n){return t(n.type,{key:n.id,tag:"component",attrs:{model:n},nativeOn:{mouseenter:function(t){return e.showTacheHistoryTooltip.apply(null,arguments)},mouseleave:function(t){return e.hideTacheHistoryTooltip.apply(null,arguments)},mousemove:function(t){return e.updateTacheHistoryTooltipPosition.apply(null,arguments)}}})})),e._v(" "),e._l(e.transitions,(function(e){return t("transition",{key:e.id,attrs:{model:e}})})),e._v(" "),t("virtual-transition",{attrs:{toPosition:e.currentPosition}}),e._v(" "),t("selection-region",{attrs:{region:e.region}})],2),e._v(" "),!e.showHistory&&e.propertiesEditorFor?t(e.propertiesEditorFor+"PropertiesEditor",{tag:"component",attrs:{model:e.selectedTaches[0]||e.selectedTransition||e.process},on:{close:function(t){return e.setPropertiesEditorFor("")}}}):e._e(),e._v(" "),e.showHistory&&e.showTacheHistory?t("tache-history-tooltip",{style:e.tooltipPosition}):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";n.r(t);var r=n(298),o=n(101);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(643);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("g",{on:{mousedown:function(t){return t.stopPropagation(),e.startDrag.apply(null,arguments)},mouseup:e.endDrag,mouseenter:e.showJoints,mouseleave:e.hideJoints,dblclick:function(t){return t.stopPropagation(),e.setPropertiesEditorFor("")}}},[t("rect",{class:{draggable:!0,start:!e.model.isSelected,selected:e.model.isSelected},attrs:{width:e.model.width,height:e.model.height,x:e.model.x,y:e.model.y,rx:"6",ry:"6"}}),e._v(" "),t("use",{staticClass:"draggable",attrs:{"xlink:href":"#icon-start",x:e.model.x,y:e.model.y,width:e.model.width,height:e.model.height,fill:"#67C23A"}}),e._v(" "),e._l(e.jointPoints,(function(n){return t("joint",{key:n,attrs:{parent:e.model,position:n}})}))],2)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("g",{on:{mousedown:function(e){e.stopPropagation()}}},[t("rect",{class:{"joint-container":!0,"joint-activated":e.isActivated},attrs:{x:e.jointContainer.x,y:e.jointContainer.y,width:"20",height:"20",rx:"3",ry:"3"},on:{mousemove:function(t){return t.stopPropagation(),e.enterJoint.apply(null,arguments)},mouseout:function(t){return t.stopPropagation(),e.leaveJoint.apply(null,arguments)},mousedown:function(t){t.stopPropagation(),e.setContextMenuVisible(!1),e.setStartJoint({parent:e.parent,position:e.position})},mouseup:e.mouseup}}),e._v(" "),t("circle",{directives:[{name:"show",rawName:"v-show",value:!e.isActivated,expression:"!isActivated"}],staticClass:"joint",attrs:{cx:e.joint.x,cy:e.joint.y,r:"3"}})])};t.staticRenderFns=[]},function(e,t,n){var r=n(642);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(644);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";n.r(t);var r=n(300),o=n(105);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(645);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("g",{on:{mousedown:function(t){return t.stopPropagation(),e.startDrag.apply(null,arguments)},mouseup:e.endDrag,mouseenter:e.showJoints,mouseleave:e.hideJoints,dblclick:function(t){return t.stopPropagation(),e.setPropertiesEditorFor("")}}},[t("rect",{class:{draggable:!0,end:!e.model.isSelected,selected:e.model.isSelected},attrs:{width:e.model.width,height:e.model.height,x:e.model.x,y:e.model.y,rx:"6",ry:"6"}}),e._v(" "),t("use",{staticClass:"draggable",attrs:{"xlink:href":"#icon-end",x:e.model.x,y:e.model.y,width:e.model.width,height:e.model.height,fill:"#F56C6C"}}),e._v(" "),e._l(e.jointPoints,(function(n){return t("joint",{key:n,attrs:{parent:e.model,position:n}})}))],2)};t.staticRenderFns=[]},function(e,t,n){var r=n(646);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";n.r(t);var r=n(301),o=n(107);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("g",{on:{mousedown:function(t){return t.stopPropagation(),e.startDrag.apply(null,arguments)},mouseup:e.endDrag,mouseenter:e.showJoints,mouseleave:e.hideJoints,dblclick:function(t){return t.stopPropagation(),e.setPropertiesEditorFor("HumanTask")}}},[t("rect",{ref:"tache",class:["draggable","task-tache",{selected:e.model.isSelected}],attrs:{width:e.model.width,height:e.model.height,x:e.model.x,y:e.model.y,rx:"6",ry:"6"}}),e._v(" "),t("text",{staticClass:"draggable",attrs:{x:e.text.x,y:e.text.y,"text-anchor":"middle"}},[e._v("\n "+e._s(e.name)+"\n ")]),e._v(" "),e._l(e.jointPoints,(function(n){return t("joint",{key:n,attrs:{parent:e.model,position:n}})})),e._v(" "),e._l(e.resizers,(function(n){return t("tache-resizer",{key:n,attrs:{owner:e.model,position:n}})}))],2)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return e.owner.isSelected&&1==e.selectedTaches.length?t("rect",{staticClass:"resizer",style:{cursor:e.area.cursor},attrs:{x:e.area.x,y:e.area.y,width:e.area.width,height:e.area.height},on:{mousedown:function(t){t.stopPropagation(),e.setContextMenuVisible(!1),e.setResizerToMove({owner:e.owner,position:e.position})},mouseup:function(t){return t.stopPropagation(),e.setResizerToMove(null)}}}):e._e()};t.staticRenderFns=[]},function(e,t,n){var r=n(648);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";n.r(t);var r=n(303),o=n(111);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(649);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("g",{on:{mousedown:function(t){return t.stopPropagation(),e.startDrag.apply(null,arguments)},mouseup:e.endDrag,mouseenter:e.showJoints,mouseleave:e.hideJoints,dblclick:function(t){return t.stopPropagation(),e.setPropertiesEditorFor("Decision")}}},[t("rect",{class:{draggable:!0,decision:!e.model.isSelected,selected:e.model.isSelected},attrs:{width:e.model.width,height:e.model.height,x:e.model.x,y:e.model.y,rx:"6",ry:"6"}}),e._v(" "),t("use",{staticClass:"draggable",attrs:{"xlink:href":"#icon-decision",x:e.model.x,y:e.model.y,width:e.model.width,height:e.model.height,fill:"#999"}}),e._v(" "),t("text",{staticClass:"draggable",attrs:{x:e.text.x,y:e.text.y,"text-anchor":"middle"}},[e._v("\n "+e._s(e.name)+"\n ")]),e._v(" "),e._l(e.jointPoints,(function(n){return t("joint",{key:n,attrs:{parent:e.model,position:n}})}))],2)};t.staticRenderFns=[]},function(e,t,n){var r=n(650);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";n.r(t);var r=n(304),o=n(113);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("g",{on:{mousedown:function(t){return t.stopPropagation(),e.startDrag.apply(null,arguments)},mouseup:e.endDrag,mouseenter:e.showJoints,mouseleave:e.hideJoints,dblclick:function(t){return t.stopPropagation(),e.setPropertiesEditorFor("Subprocess")}}},[t("rect",{ref:"tache",class:{draggable:!0,"task-tache":!0,selected:e.model.isSelected},attrs:{width:e.model.width,height:e.model.height,x:e.model.x,y:e.model.y,rx:"6",ry:"6"}}),e._v(" "),t("text",{staticClass:"draggable",attrs:{x:e.text.x,y:e.text.y,"text-anchor":"middle"}},[e._v("\n "+e._s(e.name)+"\n ")]),e._v(" "),e._l(e.jointPoints,(function(n){return t("joint",{key:n,attrs:{parent:e.model,position:n}})})),e._v(" "),e._l(e.resizers,(function(n){return t("tache-resizer",{key:n,attrs:{owner:e.model,position:n}})}))],2)};t.staticRenderFns=[]},function(e,t,n){"use strict";n.r(t);var r=n(305),o=n(115);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("g",{on:{mousedown:function(t){return t.stopPropagation(),e.startDrag.apply(null,arguments)},mouseup:e.endDrag,mouseenter:e.showJoints,mouseleave:e.hideJoints,dblclick:function(t){return t.stopPropagation(),e.setPropertiesEditorFor("HumanTask")}}},[t("rect",{ref:"tache",class:{draggable:!0,"task-tache":!0,selected:e.model.isSelected},attrs:{width:e.model.width,height:e.model.height,x:e.model.x,y:e.model.y,rx:"6",ry:"6"}}),e._v(" "),t("text",{staticClass:"draggable",attrs:{x:e.text.x,y:e.text.y,"text-anchor":"middle"}},[e._v("\n "+e._s(e.model.name)+"\n ")]),e._v(" "),e._l(e.jointPoints,(function(n){return t("joint",{key:n,attrs:{parent:e.model,position:n}})})),e._v(" "),e._l(e.resizers,(function(n){return t("tache-resizer",{key:n,attrs:{owner:e.model,position:n}})}))],2)};t.staticRenderFns=[]},function(e,t,n){"use strict";n.r(t);var r=n(306),o=n(117);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(651);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("g",{on:{mousedown:function(t){return t.stopPropagation(),e.startDrag.apply(null,arguments)},mouseup:e.endDrag,mouseenter:e.showJoints,mouseleave:e.hideJoints,dblclick:function(t){return t.stopPropagation(),e.setPropertiesEditorFor("Fork")}}},[t("rect",{class:{draggable:!0,decision:!e.model.isSelected,selected:e.model.isSelected},attrs:{width:e.model.width,height:e.model.height,x:e.model.x,y:e.model.y,rx:"6",ry:"6"}}),e._v(" "),t("use",{staticClass:"draggable",attrs:{"xlink:href":"#icon-fork",x:e.model.x,y:e.model.y,width:e.model.width,height:e.model.height,fill:"#999"}}),e._v(" "),t("text",{staticClass:"draggable",attrs:{x:e.text.x,y:e.text.y,"text-anchor":"middle"}},[e._v("\n "+e._s(e.name)+"\n ")]),e._v(" "),e._l(e.jointPoints,(function(n){return t("joint",{key:n,attrs:{parent:e.model,position:n}})}))],2)};t.staticRenderFns=[]},function(e,t,n){var r=n(652);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";n.r(t);var r=n(307),o=n(119);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(653);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("g",{on:{mousedown:function(t){return t.stopPropagation(),e.startDrag.apply(null,arguments)},mouseup:e.endDrag,mouseenter:e.showJoints,mouseleave:e.hideJoints,dblclick:function(t){return t.stopPropagation(),e.setPropertiesEditorFor("Join")}}},[t("rect",{class:{draggable:!0,decision:!e.model.isSelected,selected:e.model.isSelected},attrs:{width:e.model.width,height:e.model.height,x:e.model.x,y:e.model.y,rx:"6",ry:"6"}}),e._v(" "),t("use",{staticClass:"draggable",attrs:{"xlink:href":"#icon-join",x:e.model.x,y:e.model.y,width:e.model.width,height:e.model.height,fill:"#999"}}),e._v(" "),t("text",{staticClass:"draggable",attrs:{x:e.text.x,y:e.text.y,"text-anchor":"middle"}},[e._v("\n "+e._s(e.model.name)+"\n ")]),e._v(" "),e._l(e.jointPoints,(function(n){return t("joint",{key:n,attrs:{parent:e.model,position:n}})}))],2)};t.staticRenderFns=[]},function(e,t,n){var r=n(654);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";n.r(t);var r=n(308),o=n(121);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(655);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("g",{on:{mousedown:function(t){return t.stopPropagation(),e.startDrag.apply(null,arguments)},mouseup:e.endDrag,mouseenter:e.showJoints,mouseleave:e.hideJoints,dblclick:function(t){return t.stopPropagation(),e.setPropertiesEditorFor("HumanDecision")}}},[t("rect",{class:{draggable:!0,"human-decision":!e.model.isSelected,selected:e.model.isSelected},attrs:{width:e.model.width,height:e.model.height,x:e.model.x,y:e.model.y,rx:"6",ry:"6"}}),e._v(" "),t("use",{staticClass:"draggable",attrs:{"xlink:href":"#icon-human-decision",x:e.model.x,y:e.model.y,width:e.model.width,height:e.model.height,fill:"#999"}}),e._v(" "),t("text",{staticClass:"draggable",attrs:{x:e.text.x,y:e.text.y,"text-anchor":"middle"}},[e._v("\n "+e._s(e.name)+"\n ")]),e._v(" "),e._l(e.jointPoints,(function(n){return t("joint",{key:n,attrs:{parent:e.model,position:n}})}))],2)};t.staticRenderFns=[]},function(e,t,n){var r=n(656);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";n.r(t);var r=n(309),o=n(123);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("g",{on:{mousedown:function(t){return t.stopPropagation(),e.startDrag.apply(null,arguments)},mouseup:e.endDrag,mouseenter:e.showJoints,mouseleave:e.hideJoints,dblclick:function(t){return t.stopPropagation(),e.setPropertiesEditorFor("CopyTask")}}},[t("rect",{ref:"tache",class:{draggable:!0,"task-tache":!0,selected:e.model.isSelected},attrs:{width:e.model.width,height:e.model.height,x:e.model.x,y:e.model.y,rx:"6",ry:"6"}}),e._v(" "),t("text",{staticClass:"draggable",attrs:{x:e.text.x,y:e.text.y,"text-anchor":"middle"}},[e._v("\n "+e._s(e.name)+"\n ")]),e._v(" "),e._l(e.jointPoints,(function(n){return t("joint",{key:n,attrs:{parent:e.model,position:n}})})),e._v(" "),e._l(e.resizers,(function(n){return t("tache-resizer",{key:n,attrs:{owner:e.model,position:n}})}))],2)};t.staticRenderFns=[]},function(e,t,n){"use strict";n.r(t);var r=n(310),o=n(125);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(664);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"e5a42fd4",null);t.default=s.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("g",{class:{"no-events":null!=e.draggerToMove},on:{mousedown:function(t){return t.stopPropagation(),e.select.apply(null,arguments)},dblclick:function(t){return t.stopPropagation(),e.showPropertiesEditor.apply(null,arguments)}}},[t("text",{staticClass:"draggable",attrs:{x:e.text.x,y:e.text.y,"text-anchor":"middle"}},[e._v("\n "+e._s(e.name)+"\n ")]),e._v(" "),t(e.model.lineInfo.type,{tag:"component",class:{transition:!0,selected:e.model.isSelected||e.model.startJoint.parent.isSelected&&e.model.endJoint.parent.isSelected},attrs:{owner:e.model}}),e._v(" "),e.model.isSelected?t("g",e._l(e.draggers,(function(n){return t("circle",{key:n.position,staticClass:"transition-dragger",attrs:{cx:n.x,cy:n.y,r:"4"},on:{mousedown:function(t){return t.stopPropagation(),e.startDrag(t,n.position)},mouseup:e.endDrag}})})),0):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){return(0,this._self._c)("path",{attrs:{d:this.path,"marker-end":"url(#arrow)"}})};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("g",[t("path",{attrs:{d:e.path,"marker-end":"url(#arrow)"}}),e._v(" "),e.owner.isSelected?[t("path",{staticClass:"control-line",attrs:{d:e.pathToStartPoint}}),e._v(" "),t("path",{staticClass:"control-line",attrs:{d:e.pathToEndPoint}}),e._v(" "),t("circle",{staticClass:"control-point",attrs:{cx:e.controlPoint.x,cy:e.controlPoint.y,r:"3"},on:{mousedown:function(t){return t.stopPropagation(),e.startDrag.apply(null,arguments)},mouseup:function(t){return t.stopPropagation(),e.endDrag.apply(null,arguments)}}})]:e._e()],2)};t.staticRenderFns=[]},function(e,t,n){var r=n(660);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("g",[t("path",{attrs:{d:e.path,"marker-end":"url(#arrow)"}}),e._v(" "),e.owner.isSelected?[e.controlPoint?e._l(e.controlPoint,(function(n,r){return t("circle",{key:n.x+n.y,staticClass:"control-point",attrs:{cx:n.x,cy:n.y,r:"3"},on:{mousedown:function(t){return t.stopPropagation(),e.startDrag(r,t)},mouseup:function(t){return t.stopPropagation(),e.endDrag.apply(null,arguments)}}})})):e._e()]:e._e()],2)};t.staticRenderFns=[]},function(e,t,n){var r=n(663);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(665);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this._self._c;return e("g",[e("path",{directives:[{name:"show",rawName:"v-show",value:this.path,expression:"path"}],staticClass:"virtual-transition",attrs:{d:this.path,"marker-end":"url(#arrow)"}})])};t.staticRenderFns=[]},function(e,t,n){var r=n(668);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("g",[e.region?t("rect",{class:{draggable:!0,"selection-region":!0,dashed:e.selectedTaches.length<1},attrs:{x:e.region.x,y:e.region.y,width:e.region.width,height:e.region.height},on:{mousedown:function(t){return t.stopPropagation(),e.startDrag.apply(null,arguments)},mouseup:function(t){return t.stopPropagation(),e.endDrag.apply(null,arguments)}}}):e._e()])};t.staticRenderFns=[]},function(e,t,n){var r=n(671);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:"",top:"10vh",title:e.$t("workflowEditor.task.linkAttribute"),center:!0,"append-to-body":"","custom-class":"properties-editor"},on:{open:function(t){return e.$emit("open")},opend:function(t){return e.$emit("opend")},close:function(t){return e.$emit("close")},closed:function(t){return e.$emit("closed")}}},[t("el-tabs",{attrs:{type:"border-card"},on:{"tab-click":e.handleClick},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},[t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.task.basicProperties"),name:"basicProperties"}},[t("basic-properties",{attrs:{id:e.model.ref.attr.id,name:e.model.ref.attr.name,model:e.model.ref.basicProperties},on:{"update:id":function(t){return e.$set(e.model.ref.attr,"id",t)},"update:name":function(t){return e.$set(e.model.ref.attr,"name",t)}}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.task.settingOfHandler"),name:"transactors"}},[t("transactor-settings",{attrs:{model:e.model.ref.transactorSettings}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.task.permissionSettings"),name:"permissions"}},[t("permission-settings",{model:{value:e.model.ref.permissionSettings,callback:function(t){e.$set(e.model.ref,"permissionSettings",t)},expression:"model.ref.permissionSettings"}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.task.autoFillInFieldSettings"),name:"autoFilledFields"}},[t("auto-filled-fields",{model:{value:e.model.ref.autoFilledFields,callback:function(t){e.$set(e.model.ref,"autoFilledFields",t)},expression:"model.ref.autoFilledFields"}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.task.reminderSettings"),name:"reminders"}},[t("reminder",{model:{value:e.model.ref.reminder,callback:function(t){e.$set(e.model.ref,"reminder",t)},expression:"model.ref.reminder"}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.task.eventProcessing"),name:"events"}},[t("events",{model:{value:e.model.ref.events,callback:function(t){e.$set(e.model.ref,"events",t)},expression:"model.ref.events"}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.task.linkVariable"),name:"variables"}},[t("variables",{model:{value:e.model.ref.variables,callback:function(t){e.$set(e.model.ref,"variables",t)},expression:"model.ref.variables"}})],1)],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.formModel,"label-width":"110px"}},[t("el-row",[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.name")}},[t("i18n-input",{attrs:{"i18n-key":e.tache.i18nKey?e.tache.i18nKey:"name."+e.formModel.id},on:{setI18n:e.setI18nValue},model:{value:e.formModel.name,callback:function(t){e.$set(e.formModel,"name",t)},expression:"formModel.name"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.code")}},[t("el-input",{on:{blur:e.validateId},model:{value:e.formModel.id,callback:function(t){e.$set(e.formModel,"id",t)},expression:"formModel.id"}})],1)],1)],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.taskTitle")}},[t("task-title",{model:{value:e.tache.taskTitle,callback:function(t){e.$set(e.tache,"taskTitle",t)},expression:"tache.taskTitle"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.canItBeRejected")}},[t("el-switch",{model:{value:e.tache.rebuttable,callback:function(t){e.$set(e.tache,"rebuttable",t)},expression:"tache.rebuttable"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.emailNotification")}},[t("el-switch",{model:{value:e.tache.mailNotice,callback:function(t){e.$set(e.tache,"mailNotice",t)},expression:"tache.mailNotice"}})],1),e._v(" "),e.tache.mailNotice?t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.selectMailTemplate")}},[t("select-mail-templates",{on:{"set-value":e.setMailTemplateCode},model:{value:e.tache.mailTemplateCode,callback:function(t){e.$set(e.tache,"mailTemplateCode",t)},expression:"tache.mailTemplateCode"}})],1):e._e(),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.HandlingMethod")}},[t("el-radio-group",{model:{value:e.tache.processingMode.type,callback:function(t){e.$set(e.tache.processingMode,"type",t)},expression:"tache.processingMode.type"}},[t("el-radio",{attrs:{label:"EDIT"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.editorial"))+"\n ")]),e._v(" "),t("el-radio",{attrs:{label:"APPROVE"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.approvalType"))+"\n ")]),e._v(" "),t("el-radio",{attrs:{label:"COUNTERSIGN"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.countersign"))+"\n ")]),e._v(" "),t("el-radio",{attrs:{label:"VOTE"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.voting"))+"\n ")])],1)],1),e._v(" "),"EDIT"===e.tache.processingMode.type||"APPROVE"===e.tache.processingMode.type?t("el-form-item",{attrs:{label:e.$t("workflowEditorMessage.whenThereAreMultipleManagers")}},[t("el-radio-group",{model:{value:e.tache.processingMode.moreTransactor,callback:function(t){e.$set(e.tache.processingMode,"moreTransactor",t)},expression:"tache.processingMode.moreTransactor"}},[t("el-radio",{attrs:{label:!1}},[e._v("\n "+e._s(e.$t("workflowEditor.task.anyOneCanHandleIt"))+"\n ")]),e._v(" "),t("el-radio",{attrs:{label:!0}},[e._v("\n "+e._s(e.$t("workflowEditor.task.forAll"))+"\n ")])],1)],1):e._e(),e._v(" "),"COUNTERSIGN"===e.tache.processingMode.type||"VOTE"===e.tache.processingMode.type?t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.passRate")}},[t("el-input-number",{attrs:{step:10,size:"small",min:0,max:100},model:{value:e.tache.processingMode.passRate,callback:function(t){e.$set(e.tache.processingMode,"passRate",t)},expression:"tache.processingMode.passRate"}}),e._v(" "),t("span",{staticClass:"percent"},[e._v("\n %\n ")])],1):e._e(),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.modifyOperationName")}},[t("el-switch",{model:{value:e.showActions,callback:function(t){e.showActions=t},expression:"showActions"}}),e._v(" "),e.showActions?t("custom-actions",{model:{value:e.tache.processingMode.actions,callback:function(t){e.$set(e.tache.processingMode,"actions",t)},expression:"tache.processingMode.actions"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.handlingPage")}},[t("el-input",{model:{value:e.tache.taskUrl,callback:function(t){e.$set(e.tache,"taskUrl",t)},expression:"tache.taskUrl"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.remarks")}},[t("el-input",{attrs:{type:"textarea",autosize:""},model:{value:e.tache.remark,callback:function(t){e.$set(e.tache,"remark",t)},expression:"tache.remark"}})],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";n.r(t);var r=n(318),o=n(141);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(675);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"f88237fa",null);t.default=s.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",[e._l(e.dynamicTags,(function(n,r){return t("el-tag",{key:r+n,attrs:{type:e.getType(n),closable:"","disable-transitions":!1},on:{close:function(t){return e.handleClose(n)}}},[e._v("\n "+e._s(e._f("showText")(n))+"\n ")])})),e._v(" "),e.inputVisible||e.showFormFields?t("el-input",{ref:"saveTagInput",staticClass:"input-new-tag",attrs:{size:"small"},on:{blur:e.handleInputConfirm},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleInputConfirm.apply(null,arguments)}},model:{value:e.inputValue,callback:function(t){e.inputValue=t},expression:"inputValue"}}):e._e(),e._v(" "),e.inputVisible?e._e():t("el-button-group",[t("el-button",{staticClass:"button-new-tag",attrs:{size:"small",icon:"el-icon-edit"},on:{click:e.showInput}},[e._v("\n "+e._s(e.$t("workflowEditorMessage.enterText"))+"\n ")]),e._v(" "),t("el-button",{staticClass:"button-new-tag",attrs:{size:"small",icon:"el-icon-search"},on:{click:function(t){e.showFormFields=!0}}},[e._v("\n "+e._s(e.$t("workflowEditorMessage.selectField"))+"\n ")])],1),e._v(" "),e.showFormFields?t("form-fields",{on:{close:e.setField}}):e._e()],2)};t.staticRenderFns=[]},function(e,t,n){"use strict";var r=n(21),o=n(38),i=n(260),a=n(261);n(263)("match",1,(function(e,t,n,s){return[function(n){var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=s(n,e,this);if(t.done)return t.value;var l=r(e),c=String(this);if(!l.global)return a(l,c);var u=l.unicode;l.lastIndex=0;for(var d,f=[],p=0;null!==(d=a(l,c));){var h=String(d[0]);f[p]=h,""===h&&(l.lastIndex=i(c,o(l.lastIndex),u)),p++}return 0===p?null:f}]}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{width:"60%",title:e.$t("workflowEditor.common.selectFormField"),visible:"",center:"",top:"5vh","append-to-body":"","custom-class":"properties-editor-noTab"},on:{close:function(t){return e.$emit("close")}}},[t("div",{staticStyle:{"padding-bottom":"10px"}},[t("span",{staticStyle:{float:"left",width:"70%"}},[t("el-input",{attrs:{placeholder:e.$t("workflowEditorMessage.pleaseEnterTheNameOrCode")},model:{value:e.searchFormCode,callback:function(t){e.searchFormCode=t},expression:"searchFormCode"}})],1),e._v(" "),t("span",[t("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary"},on:{click:e.searchForm}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.search"))+"\n ")])],1)]),e._v(" "),t("div",{staticClass:"item-content"},[t("el-radio-group",{staticClass:"group",model:{value:e.selectedField,callback:function(t){e.selectedField=t},expression:"selectedField"}},[t("ul",e._l(e.showFields,(function(n){return t("li",{key:n.name,staticClass:"item"},[t("el-radio",{attrs:{label:n.name}},[e._v("\n "+e._s(n.label)+"\n ")])],1)})),0)])],1),e._v(" "),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.setField}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.determine"))+"\n ")]),e._v(" "),t("el-button",{attrs:{size:"small"},on:{click:function(t){return e.$emit("close")}}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.cancel"))+"\n ")])],1)])};t.staticRenderFns=[]},function(e,t,n){},function(e,t,n){var r=n(676);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",[t("el-row",[t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-circle-plus-outline"},on:{click:e.add}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.add"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-delete"},on:{click:e.remove}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.delete"))+"\n ")]),e._v(" "),t("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{data:e.actions,"row-key":"type",border:"","highlight-current-row":""},on:{"current-change":e.handleCurrentChange}},[t("el-table-column",{attrs:{type:"index"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("workflowEditor.task.operationType"),width:"180"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{on:{change:e.isDuplicated},model:{value:n.row.type,callback:function(t){e.$set(n.row,"type",t)},expression:"scope.row.type"}},e._l(e.actionTypes,(function(e){return t("el-option",{key:e.id,attrs:{value:e.type,label:e.label}})})),1)]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"label",label:e.$t("workflowEditor.task.name"),width:"180"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-input",{model:{value:n.row.label,callback:function(t){e.$set(n.row,"label",t)},expression:"scope.row.label"}})]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"visible",label:e.$t("workflowEditor.task.visibleOrNot")},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-checkbox",{model:{value:n.row.visible,callback:function(t){e.$set(n.row,"visible",t)},expression:"scope.row.visible"}})]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"condition",label:e.$t("workflowEditor.task.condition")},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-input",{attrs:{value:e.formatCondition(n.row.condition),type:"textarea",autosize:""},on:{focus:function(t){return e.selectCondition(n.row)}}})]}}])})],1)],1),e._v(" "),e.showAdditionalCondition?t("additional-condition-dialog",{on:{close:function(t){e.showAdditionalCondition=!1}},model:{value:e.currentRow.condition,callback:function(t){e.$set(e.currentRow,"condition",t)},expression:"currentRow.condition"}}):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";n.r(t);var r=n(321),o=n(147);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"65a358ca",null);t.default=s.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{width:"50%",title:e.$t("workflowEditor.task.setConditions"),visible:!0,top:"10vh","append-to-body":"","custom-class":"properties-editor-noTab",center:""},on:{close:function(t){return e.$emit("close")}}},[t("el-form-item",[t("additional-condition",{model:{value:e.condition,callback:function(t){e.condition=t},expression:"condition"}})],1),e._v(" "),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.setConditions}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.determine"))+"\n ")]),e._v(" "),t("el-button",{attrs:{size:"small"},on:{click:function(t){return e.$emit("close")}}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.cancel"))+"\n ")])],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("div",[t("el-row",[t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-circle-plus-outline"},on:{click:e.add}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.add"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-arrow-right"},on:{click:e.insert}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.insert"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-delete"},on:{click:e.remove}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.delete"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-view"},on:{click:e.view}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.viewConditions"))+"\n ")])],1),e._v(" "),t("el-table",{ref:"table",staticStyle:{width:"100%","padding-top":"10px"},attrs:{data:e.tableData,"row-key":"id",border:"","highlight-current-row":""},on:{"current-change":e.handleCurrentChange}},[t("el-table-column",{attrs:{prop:"leftBracket",label:"(",width:"90"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{placeholder:""},on:{focus:function(t){return e.selectRow(n.row)}},model:{value:n.row.leftBracket,callback:function(t){e.$set(n.row,"leftBracket",t)},expression:"scope.row.leftBracket"}},[t("el-option",{attrs:{label:"",value:""}}),e._v(" "),t("el-option",{attrs:{label:"(",value:"("}}),e._v(" "),t("el-option",{attrs:{label:"((",value:"(("}}),e._v(" "),t("el-option",{attrs:{label:"(((",value:"((("}})],1)]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("workflowEditor.common.fieldName"),width:"200"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-input",{attrs:{value:e.format(n.row.key)},on:{focus:function(t){return e.selectField(n.row)}}})]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("workflowEditor.common.operator"),width:"110"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{placeholder:""},on:{focus:function(t){return e.selectRow(n.row)}},model:{value:n.row.operator,callback:function(t){e.$set(n.row,"operator",t)},expression:"scope.row.operator"}},e._l(e.getOperatorOptions(n.row.key),(function(e){return t("el-option",{key:e.name,attrs:{label:e.label,value:e.name}})})),1)]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("workflowEditor.common.value")},scopedSlots:e._u([{key:"default",fn:function(n){return[n.row.key.indexOf("${field[")>=0||e.isTransitionOtherField(n.row.key)?t("el-input",{model:{value:n.row.value,callback:function(t){e.$set(n.row,"value","string"==typeof t?t.trim():t)},expression:"scope.row.value"}}):"${approvalResult}"===n.row.key?t("el-select",{model:{value:n.row.value,callback:function(t){e.$set(n.row,"value","string"==typeof t?t.trim():t)},expression:"scope.row.value"}},[t("el-option",{attrs:{value:"同意",label:e.$t("workflowEditorPublicModel.agree")}}),e._v(" "),t("el-option",{attrs:{value:"不同意",label:e.$t("workflowEditorPublicModel.disagree")}})],1):t("el-input",{attrs:{value:e.format(n.row.value,n.row),readonly:""},on:{focus:e.selectValue}})]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"rightBracket",label:")",width:"90"},on:{focus:function(t){return e.selectRow(e.scope.row)}},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{placeholder:""},model:{value:n.row.rightBracket,callback:function(t){e.$set(n.row,"rightBracket",t)},expression:"scope.row.rightBracket"}},[t("el-option",{attrs:{label:"",value:""}}),e._v(" "),t("el-option",{attrs:{label:")",value:")"}}),e._v(" "),t("el-option",{attrs:{label:"))",value:"))"}}),e._v(" "),t("el-option",{attrs:{label:")))",value:")))"}})],1)]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"logicOperator",label:e.$t("workflowEditorPublicModel.andOr"),width:"110"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{placeholder:e.$t("workflowEditorMessage.pleaseSelect")},on:{focus:function(t){return e.selectRow(n.row)}},model:{value:n.row.logicOperator,callback:function(t){e.$set(n.row,"logicOperator",t)},expression:"scope.row.logicOperator"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.process.perhaps"),value:"condition.operator.or"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.process.also"),value:"condition.operator.and"}})],1)]}}])})],1),e._v(" "),e.currentInput?t("value-selection-dialog",{attrs:{title:e.valueDialogTitle,"show-organization":e.showOrganization,"standard-fields":e.availableStandardFields,"org-type":e.orgType},on:{close:e.closeValueDialog}}):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";n.r(t);var r=n(323),o=n(151);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(680);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"903790ea",null);t.default=s.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:e.titleName,visible:!0,top:"10vh","append-to-body":"","custom-class":"properties-editor-valueSelect",center:""},on:{close:function(t){return e.$emit("close")}}},[t("el-tabs",{attrs:{id:"custTabOne",type:"border-card"},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},[e.options.length>0?t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.process.standardFields"),name:"standardFields"}},e._l(e.options,(function(n){return t("el-row",{key:n.name},[t("el-radio",{attrs:{label:n.name,border:""},model:{value:e.selectedValue,callback:function(t){e.selectedValue=t},expression:"selectedValue"}},[e._v("\n "+e._s(n.label)+"\n ")])],1)})),1):e._e(),e._v(" "),e.showOrganization?t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.common.organizationStructure"),name:"organization"}},["user"===e.orgType?t("inline-department-user-tree",{ref:"organizationTree",attrs:{multiple:!1},on:{result:e.orgSelect}}):e._e(),e._v(" "),"department"===e.orgType?t("inline-department-tree",{ref:"organizationTree",attrs:{multiple:!1},on:{result:e.orgSelect}}):e._e(),e._v(" "),"workgroup"===e.orgType?t("inline-workgroup-tree",{ref:"organizationTree",attrs:{multiple:!1},on:{result:e.orgSelect}}):e._e(),e._v(" "),"role"===e.orgType?t("inline-system-role-tree",{ref:"organizationTree",attrs:{multiple:!1},on:{result:e.orgSelect}}):e._e()],1):e._e(),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.common.formField"),name:"formFields"}},[t("el-radio-group",{staticClass:"group",model:{value:e.selectedValue,callback:function(t){e.selectedValue=t},expression:"selectedValue"}},e._l(e.formFields,(function(n){return t("div",{key:n.name,staticClass:"item"},[t("el-radio",{attrs:{label:"${field["+n.name+"]}"}},[e._v("\n "+e._s(n.label)+"\n ")])],1)})),0)],1)],1),e._v(" "),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.setValue}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.determine"))+"\n ")]),e._v(" "),t("el-button",{attrs:{size:"small"},on:{click:function(t){return e.$emit("close")}}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.cancel"))+"\n ")])],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";n.r(t);var r=n(324),o=n(153);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(678);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",[t("el-input",{attrs:{placeholder:e.$t("workflowEditorMessage.pleaseEnterTheRoleName")},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.clickSearch.apply(null,arguments)}},model:{value:e.filterText,callback:function(t){e.filterText=t},expression:"filterText"}},[t("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.clickSearch},slot:"append"})],1),e._v(" "),t("el-tree",{ref:"roleTree",attrs:{props:e.defaultProps,load:e.loadNode,lazy:"","highlight-current":!0,"node-key":"nodeId","show-checkbox":e.multiple,"check-strictly":"","render-content":e.renderContent,"filter-node-method":e.filterNode},on:{check:e.handleCheckNode,"node-click":e.handleNodeClick}})],1)};t.staticRenderFns=[]},function(e,t,n){var r=n(679);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(681);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("span",[t("div",{staticStyle:{float:"left","padding-right":"5px"}},[t("el-input",{model:{value:e.zh,callback:function(t){e.zh=t},expression:"zh"}},[t("i",{staticClass:"el-icon-setting",attrs:{slot:"append"},on:{click:e.i18nSet},slot:"append"})])],1),e._v(" "),e.isShowI18n?t("i18n-set",{attrs:{value:{values:{zh_CN:e.zh},key:e.myI18nKey}},on:{close:e.closeI18nSet}}):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(5),n(3),n(3),n(23),n(25),n(5);t.render=function(){var e=this,t=e._self._c;return e.isShow?t("el-dialog",{attrs:{"close-on-click-modal":!1,width:"30%",title:e.$t("workflowEditorPublicModel.i18nSet"),"append-to-body":"",visible:"",top:"5vh"},on:{open:function(t){return e.$emit("open")},opend:function(t){return e.$emit("opend")},close:function(t){return e.$emit("close")},closed:function(t){return e.$emit("closed")}}},[t("div",{staticClass:"operation-area"},[t("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.saveI18nSet("form")}}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.determine"))+"\n ")]),e._v(" "),t("el-button",{attrs:{size:"small"},on:{click:e.goBack}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.return"))+"\n ")])],1),e._v(" "),t("el-form",{ref:"form",attrs:{model:e.i18nModel,"label-width":"100px"}},[t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.$t("workflowEditorPublicModel.i18nKey"),prop:"key",rules:[e.requiredRule]}},[t("el-input",{staticStyle:{width:"80%"},model:{value:e.i18nModel.key,callback:function(t){e.$set(e.i18nModel,"key",t)},expression:"i18nModel.key"}})],1)],1)],1),e._v(" "),e._l(Object.keys(e.languages),(function(n){return t("el-row",{key:n},[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.languages[n],prop:n}},[t("el-input",{model:{value:e.i18nModel.values[n],callback:function(t){e.$set(e.i18nModel.values,n,t)},expression:"i18nModel.values[language]"}})],1)],1)],1)}))],2)],1):e._e()};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("span",{staticStyle:{width:"100%"}},[t("el-input",{model:{value:e.code,callback:function(t){e.code=t},expression:"code"}},[t("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"suffix"},on:{click:function(t){e.showMailTemplateFlag=!0}},slot:"suffix"})]),e._v(" "),t("el-dialog",{attrs:{width:"40%",title:e.$t("workflowEditor.task.selectTemplate"),visible:e.showMailTemplateFlag,center:"",top:"5vh","append-to-body":"","custom-class":"properties-editor-noTab"},on:{"update:visible":function(t){e.showMailTemplateFlag=t}}},[t("super-grid",{ref:"reportGrid",attrs:{url:e.baseURL+e.optionUrl,code:"BS_EMAIL_TEMPLATE",options:e.options},on:{select:e.selectData}}),e._v(" "),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:function(t){e.showMailTemplateFlag=!1}}},[e._v(e._s(e.$t("workflowEditorPublicModel.cancel")))]),e._v(" "),t("el-button",{attrs:{type:"primary"},on:{click:e.selectTemplate}},[e._v(e._s(e.$t("workflowEditorPublicModel.determine")))])],1)],1)],1)};t.staticRenderFns=[]},function(e,t,n){var r=n(684);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.formModel}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.allowEditingForms")}},[t("el-switch",{model:{value:e.formModel.editForm.permission,callback:function(t){e.$set(e.formModel.editForm,"permission",t)},expression:"formModel.editForm.permission"}}),e._v(" "),e.formModel.editForm.permission?t("editable-fields",{model:{value:e.formModel.editForm.field,callback:function(t){e.$set(e.formModel.editForm,"field",t)},expression:"formModel.editForm.field"}}):e._e(),e._v(" "),e.formModel.editForm.permission?t("editable-child-fields",{model:{value:e.formModel.editForm.subTablePermission,callback:function(t){e.$set(e.formModel.editForm,"subTablePermission",t)},expression:"formModel.editForm.subTablePermission"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.allowViews")}},[t("el-switch",{model:{value:e.formModel.viewOpinion.permission,callback:function(t){e.$set(e.formModel.viewOpinion,"permission",t)},expression:"formModel.viewOpinion.permission"}}),e._v(" "),e.formModel.viewOpinion.permission?t("el-checkbox",{model:{value:e.formModel.viewOpinionCheckbox,callback:function(t){e.$set(e.formModel,"viewOpinionCheckbox",t)},expression:"formModel.viewOpinionCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.viewOpinion.permission&&e.formModel.viewOpinionCheckbox?t("additional-condition",{model:{value:e.formModel.viewOpinion.condition,callback:function(t){e.$set(e.formModel.viewOpinion,"condition",t)},expression:"formModel.viewOpinion.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.commentsAllowed")}},[t("el-switch",{model:{value:e.formModel.editOpinion.permission,callback:function(t){e.$set(e.formModel.editOpinion,"permission",t)},expression:"formModel.editOpinion.permission"}}),e._v(" "),e.formModel.editOpinion.permission?t("el-checkbox",{model:{value:e.formModel.editOpinionCheckbox,callback:function(t){e.$set(e.formModel,"editOpinionCheckbox",t)},expression:"formModel.editOpinionCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.editOpinion.permission&&e.formModel.editOpinionCheckbox?t("additional-condition",{model:{value:e.formModel.editOpinion.condition,callback:function(t){e.$set(e.formModel.editOpinion,"condition",t)},expression:"formModel.editOpinion.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.commentsAreRequired")}},[t("el-switch",{model:{value:e.formModel.requireOpinion.permission,callback:function(t){e.$set(e.formModel.requireOpinion,"permission",t)},expression:"formModel.requireOpinion.permission"}}),e._v(" "),e.formModel.requireOpinion.permission?t("el-checkbox",{model:{value:e.formModel.requireOpinionCheckbox,callback:function(t){e.$set(e.formModel,"requireOpinionCheckbox",t)},expression:"formModel.requireOpinionCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.requireOpinion.permission&&e.formModel.requireOpinionCheckbox?t("additional-condition",{model:{value:e.formModel.requireOpinion.condition,callback:function(t){e.$set(e.formModel.requireOpinion,"condition",t)},expression:"formModel.requireOpinion.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.allowToViewCountersignatureResults")}},[t("el-switch",{model:{value:e.formModel.viewMeetingResult.permission,callback:function(t){e.$set(e.formModel.viewMeetingResult,"permission",t)},expression:"formModel.viewMeetingResult.permission"}}),e._v(" "),e.formModel.viewMeetingResult.permission?t("el-checkbox",{model:{value:e.formModel.viewMeetingResultCheckbox,callback:function(t){e.$set(e.formModel,"viewMeetingResultCheckbox",t)},expression:"formModel.viewMeetingResultCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.viewMeetingResult.permission&&e.formModel.viewMeetingResultCheckbox?t("additional-condition",{model:{value:e.formModel.viewMeetingResult.condition,callback:function(t){e.$set(e.formModel.viewMeetingResult,"condition",t)},expression:"formModel.viewMeetingResult.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.allowToViewVotingResults")}},[t("el-switch",{model:{value:e.formModel.viewVoteResult.permission,callback:function(t){e.$set(e.formModel.viewVoteResult,"permission",t)},expression:"formModel.viewVoteResult.permission"}}),e._v(" "),e.formModel.viewVoteResult.permission?t("el-checkbox",{model:{value:e.formModel.viewVoteResultCheckbox,callback:function(t){e.$set(e.formModel,"viewVoteResultCheckbox",t)},expression:"formModel.viewVoteResultCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.viewVoteResult.permission&&e.formModel.viewVoteResultCheckbox?t("additional-condition",{model:{value:e.formModel.viewVoteResult.condition,callback:function(t){e.$set(e.formModel.viewVoteResult,"condition",t)},expression:"formModel.viewVoteResult.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.allowToViewFlowHistory")}},[t("el-switch",{model:{value:e.formModel.viewFlowHistory.permission,callback:function(t){e.$set(e.formModel.viewFlowHistory,"permission",t)},expression:"formModel.viewFlowHistory.permission"}}),e._v(" "),e.formModel.viewFlowHistory.permission?t("el-checkbox",{model:{value:e.formModel.viewFlowHistoryCheckbox,callback:function(t){e.$set(e.formModel,"viewFlowHistoryCheckbox",t)},expression:"formModel.viewFlowHistoryCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.viewFlowHistory.permission&&e.formModel.viewFlowHistoryCheckbox?t("additional-condition",{model:{value:e.formModel.viewFlowHistory.condition,callback:function(t){e.$set(e.formModel.viewFlowHistory,"condition",t)},expression:"formModel.viewFlowHistory.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.allowFormsToPrint")}},[t("el-switch",{model:{value:e.formModel.printForm.permission,callback:function(t){e.$set(e.formModel.printForm,"permission",t)},expression:"formModel.printForm.permission"}}),e._v(" "),e.formModel.printForm.permission?t("el-checkbox",{model:{value:e.formModel.printFormCheckbox,callback:function(t){e.$set(e.formModel,"printFormCheckbox",t)},expression:"formModel.printFormCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.printForm.permission&&e.formModel.printFormCheckbox?t("additional-condition",{model:{value:e.formModel.printForm.condition,callback:function(t){e.$set(e.formModel.printForm,"condition",t)},expression:"formModel.printForm.condition"}}):e._e()],1),e._v(" "),t("user-selection",{attrs:{label:e.$t("workflowEditor.task.deletePermission"),"label-width":"100px","current-transactor":!0},model:{value:e.formModel.deleteInstance.userCondition,callback:function(t){e.$set(e.formModel.deleteInstance,"userCondition",t)},expression:"formModel.deleteInstance.userCondition"}}),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.attachmentAuthority")}},[t("el-switch",{model:{value:e.formModel.attachment.permission,callback:function(t){e.$set(e.formModel.attachment,"permission",t)},expression:"formModel.attachment.permission"}})],1),e._v(" "),e.formModel.attachment.permission?t("el-card",{staticClass:"box-card"},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.addAttachment")}},[t("el-switch",{model:{value:e.formModel.attachment.add.permission,callback:function(t){e.$set(e.formModel.attachment.add,"permission",t)},expression:"formModel.attachment.add.permission"}}),e._v(" "),e.formModel.attachment.add.permission?t("el-checkbox",{model:{value:e.formModel.attachment.addCheckbox,callback:function(t){e.$set(e.formModel.attachment,"addCheckbox",t)},expression:"formModel.attachment.addCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.attachment.add.permission&&e.formModel.attachment.addCheckbox?t("additional-condition",{model:{value:e.formModel.attachment.add.condition,callback:function(t){e.$set(e.formModel.attachment.add,"condition",t)},expression:"formModel.attachment.add.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.deleteAttachment")}},[t("el-switch",{model:{value:e.formModel.attachment.delete.permission,callback:function(t){e.$set(e.formModel.attachment.delete,"permission",t)},expression:"formModel.attachment.delete.permission"}}),e._v(" "),e.formModel.attachment.delete.permission?t("el-checkbox",{model:{value:e.formModel.attachment.deleteCheckbox,callback:function(t){e.$set(e.formModel.attachment,"deleteCheckbox",t)},expression:"formModel.attachment.deleteCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.attachment.delete.permission&&e.formModel.attachment.deleteCheckbox?t("additional-condition",{model:{value:e.formModel.attachment.delete.condition,callback:function(t){e.$set(e.formModel.attachment.delete,"condition",t)},expression:"formModel.attachment.delete.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.downloadAttachment")}},[t("el-switch",{model:{value:e.formModel.attachment.download.permission,callback:function(t){e.$set(e.formModel.attachment.download,"permission",t)},expression:"formModel.attachment.download.permission"}}),e._v(" "),e.formModel.attachment.download.permission?t("el-checkbox",{model:{value:e.formModel.attachment.downloadCheckbox,callback:function(t){e.$set(e.formModel.attachment,"downloadCheckbox",t)},expression:"formModel.attachment.downloadCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.attachment.download.permission&&e.formModel.attachment.downloadCheckbox?t("additional-condition",{model:{value:e.formModel.attachment.download.condition,callback:function(t){e.$set(e.formModel.attachment.download,"condition",t)},expression:"formModel.attachment.download.condition"}}):e._e()],1)],1):e._e(),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.bodyPermission")}},[t("el-switch",{model:{value:e.formModel.officialText.permission,callback:function(t){e.$set(e.formModel.officialText,"permission",t)},expression:"formModel.officialText.permission"}})],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("div",[t("el-row",[t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-circle-plus-outline"},on:{click:e.add}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.add"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-delete"},on:{click:e.remove}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.delete"))+"\n ")])],1),e._v(" "),t("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{data:e.selectedFields,border:"","highlight-current-row":""},on:{"selection-change":e.handleSelectionChange,"current-change":e.handleCurrentChange}},[t("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),t("el-table-column",{attrs:{type:"index",width:"50"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("workflowEditor.common.name"),width:"180"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("span",{style:{color:n.row.name&&0===n.row.name.indexOf("$")?"#409EFF":""}},[e._v(e._s(e.getFieldLabel(n.row)))])]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"name",label:e.$t("workflowEditor.task.propertyName"),width:"180"}}),e._v(" "),t("el-table-column",{attrs:{prop:"constraintRule",label:e.$t("workflowEditor.task.editingMethod")},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-radio-group",{model:{value:n.row.constraintRule,callback:function(t){e.$set(n.row,"constraintRule",t)},expression:"scope.row.constraintRule"}},[t("el-radio",{attrs:{label:"REQUIRED"}},[e._v("\n "+e._s(e.$t("workflowEditorMessage.mustFill"))+"\n ")]),e._v(" "),t("el-radio",{attrs:{label:"READ_ONLY"}},[e._v("\n "+e._s(e.$t("workflowEditorMessage.readOnly"))+"\n ")])],1)]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"condition",label:e.$t("workflowEditor.task.condition")},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-input",{attrs:{value:e.formatCondition(n.row.condition),type:"textarea",autosize:""},on:{focus:function(t){return e.selectCondition(n.row)}}})]}}])})],1),e._v(" "),e.showFieldSelection?t("editable-field-selection",{attrs:{"disabled-fields":e.disabledFields},on:{input:e.setSelectedFields,close:function(t){e.showFieldSelection=!1}}}):e._e(),e._v(" "),e.showAdditionalCondition?t("additional-condition-dialog",{on:{close:function(t){e.showAdditionalCondition=!1}},model:{value:e.currentRow.condition,callback:function(t){e.$set(e.currentRow,"condition",t)},expression:"currentRow.condition"}}):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{id:"appContainer",width:"50%",title:e.$t("workflowEditor.task.selectEditableField"),visible:!0,top:"10vh","append-to-body":"","custom-class":"properties-editor-noTab",center:""},on:{close:function(t){return e.$emit("close")}}},[t("el-form",{attrs:{model:e.formModel}},[t("el-checkbox-group",{model:{value:e.formModel.selectedFields,callback:function(t){e.$set(e.formModel,"selectedFields",t)},expression:"formModel.selectedFields"}},e._l(e.availableFieldsCount,(function(n,r){return t("span",{key:n.prop},[t("el-row",[e.availableFields[3*r+0]?t("el-col",{attrs:{span:8}},[-1===e.availableFields[3*r+0].name.indexOf("$")?t("el-checkbox",{attrs:{label:e.availableFields[3*r+0].name},on:{change:function(t){return e.pinSelect(e.availableFields[3*r+0].name,e.availableFields[3*r+0].index)}}},[t("span",{attrs:{title:e.availableFields[3*r+0].label}},[e._v(e._s(e.availableFields[3*r+0].label))])]):t("el-checkbox",{attrs:{label:e.availableFields[3*r+0].name},on:{change:function(t){return e.pinSelect(e.availableFields[3*r+0].name,e.availableFields[3*r+0].index)}}},[t("span",{staticClass:"ellipsis",staticStyle:{color:"#409EFF"},attrs:{title:e.availableFields[3*r+0].label}},[e._v(e._s(e.availableFields[3*r+0].label))])])],1):e._e(),e._v(" "),e.availableFields[3*r+1]?t("el-col",{attrs:{span:8}},[-1===e.availableFields[3*r+1].name.indexOf("$")?t("el-checkbox",{attrs:{label:e.availableFields[3*r+1].name},on:{change:function(t){return e.pinSelect(e.availableFields[3*r+1].name,e.availableFields[3*r+1].index)}}},[t("span",{attrs:{title:e.availableFields[3*r+1].label}},[e._v(e._s(e.availableFields[3*r+1].label))])]):t("el-checkbox",{attrs:{label:e.availableFields[3*r+1].name},on:{change:function(t){return e.pinSelect(e.availableFields[3*r+1].name,e.availableFields[3*r+1].index)}}},[t("span",{staticClass:"ellipsis",staticStyle:{color:"#409EFF"},attrs:{title:e.availableFields[3*r+1].label}},[e._v(e._s(e.availableFields[3*r+1].label))])])],1):e._e(),e._v(" "),e.availableFields[3*r+2]?t("el-col",{attrs:{span:8}},[-1===e.availableFields[3*r+2].name.indexOf("$")?t("el-checkbox",{attrs:{label:e.availableFields[3*r+2].name},on:{change:function(t){return e.pinSelect(e.availableFields[3*r+2].name,e.availableFields[3*r+2].index)}}},[t("span",{attrs:{title:e.availableFields[3*r+2].label}},[e._v(e._s(e.availableFields[3*r+2].label))])]):t("el-checkbox",{attrs:{label:e.availableFields[3*r+2].name},on:{change:function(t){return e.pinSelect(e.availableFields[3*r+2].name,e.availableFields[3*r+2].index)}}},[t("span",{staticClass:"ellipsis",staticStyle:{color:"#409EFF"},attrs:{title:e.availableFields[3*r+2].label}},[e._v(e._s(e.availableFields[3*r+2].label))])])],1):e._e()],1)],1)})),0),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.editingMethod")}},[t("el-radio-group",{model:{value:e.formModel.constraintRule,callback:function(t){e.$set(e.formModel,"constraintRule",t)},expression:"formModel.constraintRule"}},[t("el-radio",{attrs:{label:"REQUIRED"}},[e._v("\n "+e._s(e.$t("workflowEditorMessage.mustFill"))+"\n ")]),e._v(" "),t("el-radio",{attrs:{label:"READ_ONLY"}},[e._v("\n "+e._s(e.$t("workflowEditorMessage.readOnly"))+"\n ")])],1)],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.additionalConditions")}},[t("el-switch",{model:{value:e.formModel.showCondition,callback:function(t){e.$set(e.formModel,"showCondition",t)},expression:"formModel.showCondition"}}),e._v(" "),e.formModel.showCondition?t("additional-condition",{model:{value:e.formModel.condition,callback:function(t){e.$set(e.formModel,"condition",t)},expression:"formModel.condition"}}):e._e()],1)],1),e._v(" "),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.setSelectedFields}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.determine"))+"\n ")]),e._v(" "),t("el-button",{attrs:{size:"small"},on:{click:function(t){return e.$emit("close")}}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.cancel"))+"\n ")])],1)],1)};t.staticRenderFns=[]},function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",[t("el-card",{staticClass:"box-card"},e._l(e.subtableConditionMap,(function(n,r){return t("span",{key:r},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("el-row",[t("el-col",{attrs:{span:12}},[t("span",[e._v(e._s(r))])]),e._v(" "),e.selectedFieldMap[r]?t("el-col",{attrs:{span:12}},[t("el-switch",{attrs:{"inactive-text":e.$t("workflowEditor.condition.accessControl")},on:{change:function(t){return e.changeSumPermission(r)}},model:{value:e.selectedFieldMap[r].sumPermission,callback:function(t){e.$set(e.selectedFieldMap[r],"sumPermission",t)},expression:"selectedFieldMap[key].sumPermission"}})],1):e._e()],1),e._v(" "),t("el-row",[t("el-col",[e.selectedFieldMap[r]&&e.selectedFieldMap[r].sumPermission?t("span",[t("span",{staticStyle:{color:"cornflowerblue"}},[e._v(e._s(e.$t("workflowEditor.condition.formBindingModel"))+":")]),e._v(" "),t("span",{staticStyle:{"padding-left":"5px"}},[t("el-input",{staticStyle:{width:"300px"},model:{value:e.selectedFieldMap[r].modelName,callback:function(t){e.$set(e.selectedFieldMap[r],"modelName",t)},expression:"selectedFieldMap[key].modelName"}})],1),e._v(" "),t("el-button",{attrs:{icon:"el-icon-refresh",type:"text"},on:{click:function(t){return e.refreshModelName(r)}}})],1):e._e()])],1)],1),e._v(" "),e.selectedFieldMap[r]&&e.selectedFieldMap[r].sumPermission?t("div",[t("editable-child-field-setting",{attrs:{setting:e.selectedFieldMap[r],"table-name":r},on:{combinationParameters:e.combinationParameters}})],1):e._e()])})),0)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";var r=n(22),o=n(258)(6),i="findIndex",a=!0;i in[]&&Array(1)[i]((function(){a=!1})),r(r.P+r.F*a,"Array",{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(382)(i)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("div",[t("div",[t("el-row",[t("el-checkbox-group",{on:{change:e.changeActionArr},model:{value:e.actionArr,callback:function(t){e.actionArr=t},expression:"actionArr"}},[t("el-col",{attrs:{span:8}},[t("el-checkbox",{attrs:{label:"add"}},[e._v("\n "+e._s(e.$t("workflowEditor.condition.rowsCanBeAdded"))+"\n "),e.actionArr&&-1!==e.actionArr.indexOf("add")?t("i",{staticClass:"el-icon-s-tools",on:{click:function(t){return e.showButtonVisible("add")}}}):e._e()])],1),e._v(" "),t("el-col",{attrs:{span:8}},[t("el-checkbox",{attrs:{label:"delete"}},[e._v("\n "+e._s(e.$t("workflowEditor.condition.deleteLine"))+"\n "),e.actionArr&&-1!==e.actionArr.indexOf("delete")?t("i",{staticClass:"el-icon-s-tools",on:{click:function(t){return e.showButtonVisible("delete")}}}):e._e()])],1),e._v(" "),t("el-col",{attrs:{span:8}},[t("el-checkbox",{attrs:{label:"update"}},[e._v("\n "+e._s(e.$t("workflowEditor.condition.modifiableHistoricalData"))+"\n "),e.actionArr&&-1!==e.actionArr.indexOf("update")?t("i",{staticClass:"el-icon-s-tools",on:{click:function(t){return e.showButtonVisible("update")}}}):e._e()])],1)],1)],1),e._v(" "),e.showButtonVisibleFlag?t("selection-conditions",{attrs:{"attribute-map":e.subtableConditionItem,"condition-list":e.buttonVisibleCon.condition,"parent-condition":e.buttonVisibleCon.parentCondition,"user-condition":e.buttonVisibleCon.userCondition,"is-add":e.buttonType&&"add"===e.buttonType},on:{close:e.saveButtonVisible}}):e._e()],1),e._v(" "),t("div",[t("el-row",[t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-circle-plus-outline"},on:{click:e.add}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.add"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-delete"},on:{click:e.remove}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.delete"))+"\n ")])],1),e._v(" "),t("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{data:e.fieldArr,border:"","highlight-current-row":""},on:{"selection-change":e.handleSelectionChange,"current-change":e.handleCurrentChange}},[t("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),t("el-table-column",{attrs:{type:"index",width:"50"}}),e._v(" "),t("el-table-column",{attrs:{prop:"name",label:e.$t("workflowEditor.task.propertyName"),width:"280"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{size:"small",filterable:""},on:{change:e.combinationParameters},model:{value:n.row.name,callback:function(t){e.$set(n.row,"name",t)},expression:"scope.row.name"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.condition.allFields"),value:"all_fields"}}),e._v(" "),e._l(e.attributeArr,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],2)]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"constraintRule",label:e.$t("workflowEditor.task.editingMethod"),width:"380"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-radio-group",{on:{change:e.combinationParameters},model:{value:n.row.constraintRule,callback:function(t){e.$set(n.row,"constraintRule",t)},expression:"scope.row.constraintRule"}},[t("el-radio",{attrs:{label:"REQUIRED"}},[e._v("\n "+e._s(e.$t("workflowEditorMessage.mustFill"))+"\n ")]),e._v(" "),t("el-radio",{attrs:{label:"READ_ONLY"}},[e._v("\n "+e._s(e.$t("workflowEditorMessage.readOnly"))+"\n ")])],1)]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"condition",label:e.$t("workflowEditor.task.condition")},scopedSlots:e._u([{key:"default",fn:function(n){return[t("i",{staticClass:"el-icon-s-tools",on:{click:function(t){return e.selectCondition(n.row)}}})]}}])})],1),e._v(" "),e.showAdditionalCondition?t("selection-conditions",{attrs:{"attribute-map":e.subtableConditionItem,"condition-list":e.currentRow.condition,"parent-condition":e.currentRow.parentCondition,"user-condition":e.currentRow.userCondition},on:{close:e.savebuttonSetting}}):e._e()],1)])};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{staticStyle:{width:"100%"},attrs:{"show-close":!0,"append-to-body":!0,title:e.$t("workflowEditor.condition.combinationCondition"),visible:""},on:{close:e.closeButtonSetting}},[t("div",{staticStyle:{"overflow-y":"auto","max-height":"500px"}},[t("div",{staticClass:"operation-area"},[t("el-button",{attrs:{size:"small"},on:{click:e.savebuttonSetting}},[t("span",[e._v(" "+e._s(e.$t("workflowEditorPublicModel.save")))])])],1),e._v(" "),t("div",[t("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("span",[e._v(e._s(e.$t("workflowEditor.condition.personnelScope")))])]),e._v(" "),t("div",[t("common-user-condition",{attrs:{"used-in":"transactor"},model:{value:e.myUserCondition,callback:function(t){e.myUserCondition=t},expression:"myUserCondition"}})],1)]),e._v(" "),t("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("span",[e._v(e._s(e.$t("workflowEditor.condition.mainTableConditions")))])]),e._v(" "),t("div",[t("additional-condition",{model:{value:e.myParentCondition,callback:function(t){e.myParentCondition=t},expression:"myParentCondition"}})],1)]),e._v(" "),!1===e.isAdd?t("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[t("div",{attrs:{slot:"header"},slot:"header"},[t("span",[e._v(e._s(e.$t("workflowEditor.condition.subtableCondition")))])]),e._v(" "),t("div",[t("el-row",{staticStyle:{"padding-bottom":"8px"}},[t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-circle-plus-outline"},on:{click:e.add}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.add"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-delete"},on:{click:e.remove}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.delete"))+"\n ")])],1),e._v(" "),t("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{id:"tableDataDialog",data:e.tableData,border:"","highlight-current-row":""},on:{"current-change":e.handleCurrentChange}},[t("el-table-column",{attrs:{prop:"leftBracket",label:"(",width:"90"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{size:"small",clearable:""},on:{focus:function(t){return e.selectRow(n.row)}},model:{value:n.row.leftBracket,callback:function(t){e.$set(n.row,"leftBracket",t)},expression:"scope.row.leftBracket"}},[t("el-option",{attrs:{label:"",value:""}}),e._v(" "),t("el-option",{attrs:{label:"(",value:"("}}),e._v(" "),t("el-option",{attrs:{label:"((",value:"(("}}),e._v(" "),t("el-option",{attrs:{label:"(((",value:"((("}})],1)]}}],null,!1,1991881891)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("workflowEditor.common.fieldName"),width:"200"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{"filter-method":e.searchField,size:"small",clearable:"",filterable:""},on:{focus:function(t){return e.selectRow(n.row)},change:function(t){return e.changeFieldName(n.$index)}},model:{value:n.row.propName,callback:function(t){e.$set(n.row,"propName",t)},expression:"scope.row.propName"}},e._l(e.attributeArr,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)]}}],null,!1,393197266)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("workflowEditor.common.operator"),width:"110"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{size:"small",clearable:""},on:{focus:function(t){return e.selectRow(n.row)}},model:{value:n.row.operator,callback:function(t){e.$set(n.row,"operator",t)},expression:"scope.row.operator"}},e._l(e.operationArr[n.$index],(function(e){return t("el-option",{key:e.name,attrs:{label:e.label,value:e.name}})})),1)]}}],null,!1,2037854662)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("workflowEditor.common.value")},scopedSlots:e._u([{key:"default",fn:function(n){return[n.row.propValueType?e._e():t("el-select",{attrs:{size:"small"},on:{focus:function(t){return e.selectRow(n.row)}},model:{value:n.row.propValueType,callback:function(t){e.$set(n.row,"propValueType",t)},expression:"scope.row.propValueType"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.condition.fillInManually"),value:"input"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.environmentVariable"),value:"context"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.requestParameters"),value:"request"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.mainTableField"),value:"obj"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.databaseFields"),value:"subObj"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.taskFields"),value:"task"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.systemParameter"),value:"custom"}})],1),e._v(" "),"context"===n.row.propValueType?t("el-select",{attrs:{clearable:"",size:"small",title:n.row.propValue,filterable:"","default-first-option":"","allow-create":""},on:{change:function(t){return e.changePropValue(n.$index)},focus:function(t){return e.selectRow(n.row)}},model:{value:n.row.propValue,callback:function(t){e.$set(n.row,"propValue",t)},expression:"scope.row.propValue"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentTime"),value:"${context.currentTime}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentTransactor"),value:"${context.currentTransactor}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentTransactorName"),value:"${context.currentTransactorName}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentTransactorId"),value:"${context.currentTransactorId}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentTransactorMainDepartmentId"),value:"${context.currentTransactorMainDepartmentId}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentTransactorMainDepartment"),value:"${context.currentTransactorMainDepartment}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentTransactorRoleId"),value:"${context.currentTransactorRoleId}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentTransactorRole"),value:"${context.currentTransactorRole}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentTransactorWorkGroupId"),value:"${context.currentTransactorWorkGroupId}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentTransactorWorkGroup"),value:"${context.currentTransactorWorkGroup}"}})],1):e._e(),e._v(" "),"task"===n.row.propValueType?t("el-select",{attrs:{clearable:"",size:"small",title:n.row.propValue,filterable:"","default-first-option":"","allow-create":""},on:{change:function(t){return e.changePropValue(n.$index)},focus:function(t){return e.selectRow(n.row)}},model:{value:n.row.propValue,callback:function(t){e.$set(n.row,"propValue",t)},expression:"scope.row.propValue"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentHandler"),value:"${task.transactor}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentTaskClient"),value:"${task.trustor}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.currentAssignor"),value:"${task.assigner}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.linkName"),value:"${task.name}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.condition.linkCode"),value:"${task.nodeId}"}})],1):e._e(),e._v(" "),"DATE"===n.row.dataType&&"input"===n.row.propValueType?t("el-date-picker",{attrs:{size:"small",clearable:"","value-format":"yyyy-MM-dd",title:n.row.propValue,type:"date"},on:{change:function(t){return e.changePropValue(n.$index)}},model:{value:n.row.propValue,callback:function(t){e.$set(n.row,"propValue",t)},expression:"scope.row.propValue"}}):e._e(),e._v(" "),"TIME"===n.row.dataType&&"input"===n.row.propValueType?t("el-date-picker",{attrs:{size:"small",title:n.row.propValue,clearable:"","value-format":"yyyy-MM-dd HH:mm:ss",type:"datetime"},on:{change:function(t){return e.changePropValue(n.$index)}},model:{value:n.row.propValue,callback:function(t){e.$set(n.row,"propValue",t)},expression:"scope.row.propValue"}}):e._e(),e._v(" "),"TIME"!==n.row.dataType&&"DATE"!==n.row.dataType&&"input"===n.row.propValueType?t("el-input",{attrs:{title:n.row.propValue,clearable:"",size:"small"},on:{change:function(t){return e.changePropValue(n.$index)}},model:{value:n.row.propValue,callback:function(t){e.$set(n.row,"propValue","string"==typeof t?t.trim():t)},expression:"scope.row.propValue"}}):e._e(),e._v(" "),"request"===n.row.propValueType?t("el-input",{attrs:{title:n.row.propValue,clearable:"",size:"small"},on:{change:function(t){return e.changePropValue(n.$index)}},model:{value:n.row.propValue,callback:function(t){e.$set(n.row,"propValue","string"==typeof t?t.trim():t)},expression:"scope.row.propValue"}}):e._e(),e._v(" "),"subObj"===n.row.propValueType?t("el-select",{attrs:{title:n.row.propValue,"filter-method":e.searchField,size:"small",clearable:"",filterable:""},on:{change:function(t){return e.changePropValue(n.$index)}},model:{value:n.row.propValue,callback:function(t){e.$set(n.row,"propValue",t)},expression:"scope.row.propValue"}},e._l(e.attributeArr,(function(e){return t("el-option",{key:"${subObj."+e.value+"}",attrs:{label:e.label,value:"${subObj."+e.value+"}"}})})),1):e._e(),e._v(" "),"obj"===n.row.propValueType?t("el-select",{attrs:{title:n.row.propValue,size:"small",clearable:"",filterable:""},on:{change:function(t){return e.changePropValue(n.$index)}},model:{value:n.row.propValue,callback:function(t){e.$set(n.row,"propValue",t)},expression:"scope.row.propValue"}},e._l(e.parentAttributeArr,(function(e){return t("el-option",{key:"${obj."+e.value+"}",attrs:{label:e.label,value:"${obj."+e.value+"}"}})})),1):e._e(),e._v(" "),"custom"===n.row.propValueType?t("el-select",{attrs:{title:n.row.propValue,size:"small",clearable:"",filterable:""},on:{change:function(t){return e.changePropValue(n.$index)}},model:{value:n.row.propValue,callback:function(t){e.$set(n.row,"propValue",t)},expression:"scope.row.propValue"}},e._l(e.propSettingKeyList,(function(e){return t("el-option",{key:"${custom."+e+"}",attrs:{label:e,value:"${custom."+e+"}"}})})),1):e._e()]}}],null,!1,509011058)}),e._v(" "),t("el-table-column",{attrs:{prop:"rightBracket",label:")",width:"90"},on:{focus:function(t){return e.selectRow(e.scope.row)}},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{size:"small",clearable:""},model:{value:n.row.rightBracket,callback:function(t){e.$set(n.row,"rightBracket",t)},expression:"scope.row.rightBracket"}},[t("el-option",{attrs:{label:"",value:""}}),e._v(" "),t("el-option",{attrs:{label:")",value:")"}}),e._v(" "),t("el-option",{attrs:{label:"))",value:"))"}}),e._v(" "),t("el-option",{attrs:{label:")))",value:")))"}})],1)]}}],null,!1,485013013)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("workflowEditorPublicModel.andOr"),prop:"logicOperator",width:"110"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{size:"small",clearable:""},on:{focus:function(t){return e.selectRow(n.row)}},model:{value:n.row.logicOperator,callback:function(t){e.$set(n.row,"logicOperator",t)},expression:"scope.row.logicOperator"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.process.perhaps"),value:"condition.operator.or"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.process.also"),value:"condition.operator.and"}})],1)]}}],null,!1,3653802580)})],1)],1)]):e._e()],1)])])};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",[t("el-row",[t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-circle-plus-outline"},on:{click:e.add}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.add"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-arrow-right"},on:{click:e.insert}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.insert"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-delete"},on:{click:e.remove}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.delete"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-view"},on:{click:e.view}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.viewConditions"))+"\n ")])],1),e._v(" "),t("el-table",{ref:"table",staticStyle:{width:"100%","padding-top":"10px"},attrs:{data:e.users,"row-key":"id",border:"","highlight-current-row":""},on:{"current-change":e.handleCurrentChange}},[t("el-table-column",{attrs:{prop:"leftBracket",label:"(",width:"90"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{placeholder:""},on:{focus:function(t){return e.selectRow(n.row)}},model:{value:n.row.leftBracket,callback:function(t){e.$set(n.row,"leftBracket",t)},expression:"scope.row.leftBracket"}},[t("el-option",{attrs:{label:"",value:""}}),e._v(" "),t("el-option",{attrs:{label:"(",value:"("}}),e._v(" "),t("el-option",{attrs:{label:"((",value:"(("}}),e._v(" "),t("el-option",{attrs:{label:"(((",value:"((("}})],1)]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("workflowEditor.common.type"),width:"110"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{placeholder:""},on:{focus:function(t){return e.selectRow(n.row)},change:e.handleKeyChange},model:{value:n.row.key,callback:function(t){e.$set(n.row,"key",t)},expression:"scope.row.key"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.common.user"),value:"${user}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.common.role"),value:"${role}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.common.department"),value:"${department}"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.common.workgroup"),value:"${workgroup}"}})],1)]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("workflowEditor.common.operator"),width:"110"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{placeholder:""},on:{focus:function(t){return e.selectRow(n.row)}},model:{value:n.row.operator,callback:function(t){e.$set(n.row,"operator",t)},expression:"scope.row.operator"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.process.beEqualTo"),value:"operator.text.eq"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.process.notEqualTo"),value:"operator.text.neq"}})],1)]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("workflowEditor.common.value")},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-input",{attrs:{value:e.format(n.row.value),readonly:""},on:{focus:function(t){return e.openValueDialog(n.row)}}})]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"rightBracket",label:")",width:"90"},on:{focus:function(t){return e.selectRow(e.scope.row)}},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{placeholder:""},model:{value:n.row.rightBracket,callback:function(t){e.$set(n.row,"rightBracket",t)},expression:"scope.row.rightBracket"}},[t("el-option",{attrs:{label:"",value:""}}),e._v(" "),t("el-option",{attrs:{label:")",value:")"}}),e._v(" "),t("el-option",{attrs:{label:"))",value:"))"}}),e._v(" "),t("el-option",{attrs:{label:")))",value:")))"}})],1)]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"logicOperator",label:e.$t("workflowEditorPublicModel.andOr"),width:"110"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{placeholder:e.$t("workflowEditorMessage.pleaseSelect")},on:{focus:function(t){return e.selectRow(n.row)}},model:{value:n.row.logicOperator,callback:function(t){e.$set(n.row,"logicOperator",t)},expression:"scope.row.logicOperator"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.process.perhaps"),value:"condition.operator.or"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.process.also"),value:"condition.operator.and"}})],1)]}}])})],1),e._v(" "),e.showValueDialog?t("value-selection-dialog",{attrs:{"standard-fields":e.standardFields,"org-type":e.currentRow.key.substring(e.currentRow.key.indexOf("{")+1,e.currentRow.key.lastIndexOf("}"))},on:{close:e.closeValueDialog}}):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-form-item",{attrs:{label:e.label,"label-width":e.labelWidth}},[t("el-col",[t("el-checkbox-group",{model:{value:e.checkList,callback:function(t){e.checkList=t},expression:"checkList"}},[t("el-checkbox",{attrs:{label:"${instanceCreator}"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.processInitiator"))+"\n ")]),e._v(" "),t("el-checkbox",{attrs:{label:"${processAdmin}"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.processAdministrator"))+"\n ")]),e._v(" "),e.currentTransactor?t("el-checkbox",{attrs:{label:"${currentTransactor}"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.currentHandler"))+"\n ")]):t("el-checkbox",{attrs:{label:"${allHandleTransactors}"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.allHandlingPersonnel"))+"\n ")]),e._v(" "),t("el-checkbox",{attrs:{label:"assignUser"},on:{change:e.toggleUserList}},[e._v("\n "+e._s(e.$t("workflowEditor.process.designatedPersonnel"))+"\n ")])],1)],1),e._v(" "),e.showUserList?t("div",[t("el-col",[t("el-row",[t("el-col",{attrs:{span:4}},[e._v("\n "+e._s(e.$t("workflowEditor.process.listOfDesignatedPersons"))+"\n ")]),e._v(" "),t("el-col",{attrs:{span:5}},[t("el-dropdown",{attrs:{size:"mini","split-button":"",type:"primary",plain:""},on:{command:e.handleCommand}},[t("span",{staticClass:"el-dropdown-link"},[t("i",{staticClass:"el-icon-search"}),e._v(" "+e._s(e.$t("workflowEditorPublicModel.choice"))+"\n ")]),e._v(" "),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{attrs:{command:"selectUser"},on:{click:function(t){return e.selectPointUser()}}},[e._v("\n "+e._s(e.$t("workflowEditor.common.selectusers"))+"\n ")]),e._v(" "),t("el-dropdown-item",{attrs:{command:"selectDepartment"},on:{click:function(t){return e.selectPointDepartment()}}},[e._v("\n "+e._s(e.$t("workflowEditor.common.selectDepartment"))+"\n ")]),e._v(" "),t("el-dropdown-item",{attrs:{command:"selectWorkgroup"},on:{click:function(t){return e.selectPointWorkgroup()}}},[e._v("\n "+e._s(e.$t("workflowEditor.common.selectTeam"))+"\n ")]),e._v(" "),t("el-dropdown-item",{attrs:{command:"selectRole"},on:{click:function(t){return e.selectPointRole()}}},[e._v("\n "+e._s(e.$t("workflowEditor.common.selectRole"))+"\n ")]),e._v(" "),t("el-dropdown-item",{attrs:{command:"selectField"},on:{click:function(t){return e.selectPointField()}}},[e._v("\n "+e._s(e.$t("workflowEditor.common.selectField"))+"\n ")])],1)],1)],1),e._v(" "),t("el-col",{attrs:{span:3}},[t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-delete"},on:{click:e.resetSelectedUsers}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.empty"))+"\n ")])],1)],1),e._v(" "),t("el-row",[t("el-col",[t("el-input",{attrs:{type:"textarea",rows:2,placeholder:e.$t("workflowEditorMessage.pleaseSelectPersonnel")},model:{value:e.selectedUsersShowValue,callback:function(t){e.selectedUsersShowValue=t},expression:"selectedUsersShowValue"}})],1)],1)],1),e._v(" "),e.showSelectUser?t("department-user-tree",{attrs:{width:"60%",multiple:!0},on:{close:e.addPointUsers}}):e._e(),e._v(" "),e.showSelectDepartment?t("department-tree",{attrs:{width:"30%",multiple:!0},on:{close:e.addPointDepartments}}):e._e(),e._v(" "),e.showSelectWorkgroup?t("workgroup-tree",{attrs:{width:"30%",multiple:!0},on:{close:e.addPointWorkgroups}}):e._e(),e._v(" "),e.showSelectRole?t("system-role-tree",{attrs:{multiple:!0},on:{close:e.addPointRoles}}):e._e(),e._v(" "),e.showSelectField?t("form-fields",{on:{close:e.setField}}):e._e()],1):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:"",title:e.$t("workflowEditorMessage.selectRole"),width:"30%",top:"10vh","append-to-body":"","custom-class":"properties-editor-noTab","close-on-click-modal":!1},on:{close:function(t){return e.$emit("close")}}},[t("inline-system-role-tree",{ref:"systemRoleTree",attrs:{multiple:e.multiple},on:{result:e.roleResult}}),e._v(" "),e.multiple?t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.selectRoles}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.determine"))+"\n ")]),e._v(" "),t("el-button",{attrs:{size:"small"},on:{click:function(t){return e.$emit("close")}}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.cancel"))+"\n ")])],1):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){var r=n(695);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(697);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.formModel}},[t("el-form-item",{attrs:{label:""}},[t("el-radio-group",{model:{value:e.formModel.transactor,callback:function(t){e.$set(e.formModel,"transactor",t)},expression:"formModel.transactor"}},[t("el-radio",{attrs:{label:"${instanceCreator}"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.processInitiator"))+"\n ")]),e._v(" "),"HumanTask"===e.usedIn?t("el-radio",{attrs:{label:"${previousTransactorAssignment}"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.appointmentOfHandlerInThePreviousLink"))+"\n ")]):e._e(),e._v(" "),t("el-radio",{attrs:{label:"byField"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.personSpecifiedInFormField"))+"\n ")]),e._v(" "),t("el-radio",{attrs:{label:"byCondition"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.filterByCriteria"))+"\n ")])],1),e._v(" "),"byCondition"===e.formModel.transactor?t("div",[t("common-user-condition",{attrs:{"used-in":"transactor"},model:{value:e.formModel.userCondition,callback:function(t){e.$set(e.formModel,"userCondition",t)},expression:"formModel.userCondition"}})],1):e._e(),e._v(" "),"byField"===e.formModel.transactor?t("el-form-item",{attrs:{prop:"selectedField",required:"",label:e.$t("workflowEditor.process.fieldName"),"label-width":"80px"}},[t("el-input",{attrs:{value:e.formatLabel(e.formModel.selectedField)},on:{focus:function(t){e.showFormFields=!0}}}),e._v(" "),e.showFormFields?t("form-fields",{on:{close:e.setField}}):e._e()],1):e._e(),e._v(" "),"byCondition"===e.formModel.transactor||"byField"===e.formModel.transactor?t("div",[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.additionalConditions")}},[t("el-checkbox",{model:{value:e.formModel.additionalCondition.onlyInCreatorDepartment,callback:function(t){e.$set(e.formModel.additionalCondition,"onlyInCreatorDepartment",t)},expression:"formModel.additionalCondition.onlyInCreatorDepartment"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.handlingYyThePersonnelOfTheDepartmentOfTheInitiator"))+"\n ")]),e._v(" "),t("el-checkbox",{model:{value:e.formModel.additionalCondition.withCreatorDepartment,callback:function(t){e.$set(e.formModel.additionalCondition,"withCreatorDepartment",t)},expression:"formModel.additionalCondition.withCreatorDepartment"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.personnelOfTheDepartmentWhereTheInitiatorWorksParticipateInTheHandling"))+"\n ")]),e._v(" "),t("el-checkbox",{model:{value:e.formModel.additionalCondition.selectOneFromMultiple,callback:function(t){e.$set(e.formModel.additionalCondition,"selectOneFromMultiple",t)},expression:"formModel.additionalCondition.selectOneFromMultiple"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.selectSpecificHandler"))+"\n ")]),e._v(" "),t("el-checkbox",{model:{value:e.formModel.additionalCondition.selectOneFromDept,callback:function(t){e.$set(e.formModel.additionalCondition,"selectOneFromDept",t)},expression:"formModel.additionalCondition.selectOneFromDept"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.selectOneFromDept"))+"\n ")]),e._v(" "),e.isSubprocess?t("el-checkbox",{model:{value:e.formModel.additionalCondition.generateOneInstanceFromDept,callback:function(t){e.$set(e.formModel.additionalCondition,"generateOneInstanceFromDept",t)},expression:"formModel.additionalCondition.generateOneInstanceFromDept"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.generateOneInstanceFromDept"))+"\n ")]):e._e()],1),e._v(" "),e.formModel.additionalCondition.selectOneFromMultiple?t("div",[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.selectionMethod")}},[t("el-radio-group",{model:{value:e.formModel.additionalCondition.selectType,callback:function(t){e.$set(e.formModel.additionalCondition,"selectType",t)},expression:"formModel.additionalCondition.selectType"}},[t("el-radio",{attrs:{label:"customType"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.manualSelection"))+"\n ")]),e._v(" "),t("el-radio",{attrs:{label:"autoType"}},[e._v("\n "+e._s(e.$t("workflowEditor.process.autoSelect"))+"\n ")])],1)],1),e._v(" "),t("el-form-item",{directives:[{name:"show",rawName:"v-show",value:"autoType"===e.formModel.additionalCondition.selectType,expression:"formModel.additionalCondition.selectType==='autoType'"}],attrs:{prop:"additionalCondition.selectUrl",label:e.$t("workflowEditor.process.callbackURL"),rules:[{required:!0,message:this.$t("workflowEditor.process.cannotBeEmpty"),trigger:"blur"}]}},[t("el-input",{model:{value:e.formModel.additionalCondition.selectUrl,callback:function(t){e.$set(e.formModel.additionalCondition,"selectUrl",t)},expression:"formModel.additionalCondition.selectUrl"}})],1)],1):e._e()],1):e._e()],1),e._v(" "),"HumanTask"===e.usedIn&&"${previousTransactorAssignment}"===e.formModel.transactor?t("el-form-item",{attrs:{prop:"url",rules:[{required:!0,message:this.$t("workflowEditor.process.cannotBeEmpty"),trigger:"blur"}],label:e.$t("workflowEditor.process.selectURL"),"label-width":"80px"}},[t("el-input",{on:{change:e.handleUrlChange},model:{value:e.formModel.url,callback:function(t){e.$set(e.formModel,"url","string"==typeof t?t.trim():t)},expression:"formModel.url"}})],1):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";n.r(t);var r=n(338),o=n(181);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(5),n(1),n(1),n(23),n(25),n(5);t.render=function(){var e=this,t=e._self._c;return t("div",[t("el-row",{staticStyle:{"margin-bottom":"5px"}},[t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-circle-plus-outline"},on:{click:e.add}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.add"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-delete"},on:{click:e.remove}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.delete"))+"\n ")])],1),e._v(" "),t("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{data:e.tableData,border:"","highlight-current-row":""},on:{"current-change":e.handleCurrentChange}},[t("el-table-column",{attrs:{type:"index",width:"50"}}),e._v(" "),t("el-table-column",{attrs:{prop:"name",label:e.$t("workflowEditor.common.name"),width:"150"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-input",{attrs:{value:e.getFieldLabel(n.row.name),placeholder:e.$t("workflowEditorMessage.pleaseEnterContent"),readonly:""},on:{focus:function(t){e.showFormFields=!0},blur:function(t){return e.checkName(n.row.name)}}})]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"value",label:e.$t("workflowEditor.common.fieldValue"),width:"200"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{attrs:{multiple:"",filterable:"","allow-create":"","default-first-option":"",placeholder:e.$t("workflowEditorMessage.pleaseSelect")},on:{blur:function(t){return e.checkValue(n.row.value)}},model:{value:n.row.value,callback:function(t){e.$set(n.row,"value",t)},expression:"scope.row.value"}},e._l(e.keys,(function(n){return t("el-option",{key:n,attrs:{label:e.standardValues[n],value:n}})})),1)]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"separator",label:e.$t("workflowEditor.common.separator")},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-input",{model:{value:n.row.separator,callback:function(t){e.$set(n.row,"separator","string"==typeof t?t.trim():t)},expression:"scope.row.separator"}})]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"fillType",label:e.$t("workflowEditor.common.fillInMethod")},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{model:{value:n.row.fillType,callback:function(t){e.$set(n.row,"fillType",t)},expression:"scope.row.fillType"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.common.cover"),value:"cover"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.common.append"),value:"append"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.common.insertToFront"),value:"prepend"}})],1)]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"fillTime",label:e.$t("workflowEditor.common.fillInTime")},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-select",{model:{value:n.row.fillTime,callback:function(t){e.$set(n.row,"fillTime",t)},expression:"scope.row.fillTime"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.common.fillInBeforeHandling"),value:"before"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.common.fillInAfterHandling"),value:"after"}})],1)]}}])})],1),e._v(" "),e.showFormFields?t("form-fields",{on:{close:e.setField}}):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";n.r(t);var r=n(339),o=n(183);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(700);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"7e8353be",null);t.default=s.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(90),n(90);t.render=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.model,"label-width":"80px"}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.needToBeUrged")}},[t("el-switch",{model:{value:e.showReminder,callback:function(t){e.showReminder=t},expression:"showReminder"}})],1),e._v(" "),e.showReminder?t("div",[t("common-notice-tool",{attrs:{label:e.$t("workflowEditor.task.urgingMethod")},model:{value:e.model.remindType,callback:function(t){e.$set(e.model,"remindType",t)},expression:"model.remindType"}}),e._v(" "),e.model.remindType&&e.model.remindType.length>0&&-1!==e.model.remindType.indexOf("mail")?t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.selectMailTemplate")}},[t("select-mail-templates",{on:{"set-value":e.setMailTemplateCode},model:{value:e.model.noticeMailTemplateCode,callback:function(t){e.$set(e.model,"noticeMailTemplateCode",t)},expression:"model.noticeMailTemplateCode"}})],1):e._e(),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.timeLimitForHandling"),size:"mini"}},[t("el-input-number",{staticStyle:{width:"90px"},attrs:{"controls-position":"right",min:1,max:30},model:{value:e.model.dueDate,callback:function(t){e.$set(e.model,"dueDate",t)},expression:"model.dueDate"}}),e._v(" "),t("el-select",{staticStyle:{width:"70px"},model:{value:e.model.dueTimeUnit,callback:function(t){e.$set(e.model,"dueTimeUnit",t)},expression:"model.dueTimeUnit"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.task.day"),value:"day"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.task.hour"),value:"hour"}})],1),e._v(" "),t("span",[e._v(e._s(e.$t("workflowEditor.task.urgingInterval")))]),t("el-input-number",{staticStyle:{width:"90px"},attrs:{"controls-position":"right",min:1,max:30},model:{value:e.model.repeat,callback:function(t){e.$set(e.model,"repeat",t)},expression:"model.repeat"}}),e._v(" "),t("el-select",{staticStyle:{width:"70px"},model:{value:e.model.timeUnit,callback:function(t){e.$set(e.model,"timeUnit",t)},expression:"model.timeUnit"}},[t("el-option",{attrs:{label:e.$t("workflowEditor.task.day"),value:"day"}}),e._v(" "),t("el-option",{attrs:{label:e.$t("workflowEditor.task.hour"),value:"hour"}})],1)],1),e._v(" "),t("el-form-item",[t("el-radio",{attrs:{label:!1},model:{value:e.showNotice,callback:function(t){e.showNotice=t},expression:"showNotice"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.alwaysUrging"))+"\n ")]),e._v(" "),t("el-radio",{attrs:{label:!0},model:{value:e.showNotice,callback:function(t){e.showNotice=t},expression:"showNotice"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.limitedUrging"))+"\n ")])],1),e._v(" "),e.showNotice?t("div",[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.timesOfUrging"),size:"mini"}},[t("el-input-number",{staticStyle:{width:"90px"},attrs:{"controls-position":"right",min:1,max:99},model:{value:e.model.remindTimes,callback:function(t){e.$set(e.model,"remindTimes",t)},expression:"model.remindTimes"}})],1),e._v(" "),t("common-notice-tool",{attrs:{label:e.$t("workflowEditor.common.notificationMethod")},model:{value:e.model.noticeType,callback:function(t){e.$set(e.model,"noticeType",t)},expression:"model.noticeType"}}),e._v(" "),t("el-form-item",{staticStyle:{"margin-bottom":"5px"},attrs:{label:e.$t("workflowEditor.common.notifyPersonnel")}},[t("el-checkbox",{model:{value:e.model.containTransferUser,callback:function(t){e.$set(e.model,"containTransferUser",t)},expression:"model.containTransferUser"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.includingHandoverPersonnel"))+"\n ")])],1),e._v(" "),t("el-form-item",{attrs:{"label-width":"0"}},[t("common-user-condition",{model:{value:e.model.noticeUserCondition,callback:function(t){e.$set(e.model,"noticeUserCondition",t)},expression:"model.noticeUserCondition"}})],1),e._v(" "),t("el-form-item",{staticStyle:{"margin-bottom":"5px"},attrs:{label:e.$t("workflowEditor.task.handoverPersonnel")}},[t("el-checkbox",{model:{value:e.model.containNoticeUser,callback:function(t){e.$set(e.model,"containNoticeUser",t)},expression:"model.containNoticeUser"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.includeNotifyPeople"))+"\n ")])],1),e._v(" "),t("el-form-item",{attrs:{"label-width":"0"}},[t("common-user-condition",{model:{value:e.model.transferUserCondition,callback:function(t){e.$set(e.model,"transferUserCondition",t)},expression:"model.transferUserCondition"}})],1)],1):e._e()],1):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";n.r(t);var r=n(340),o=n(185);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-form-item",{attrs:{label:e.label}},[t("el-checkbox-group",{model:{value:e.tools,callback:function(t){e.tools=t},expression:"tools"}},[t("el-checkbox",{attrs:{label:"mail"}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.mail"))+"\n ")]),e._v(" "),t("el-checkbox",{attrs:{label:"sms"}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.message"))+"\n ")]),e._v(" "),t("el-checkbox",{attrs:{label:"app"}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.App"))+"\n ")]),e._v(" "),t("el-checkbox",{attrs:{label:"dingding"}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.dingding"))+"\n ")])],1)],1)};t.staticRenderFns=[]},function(e,t,n){var r=n(701);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";n.r(t);var r=n(341),o=n(187);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("div",[t("el-row",[t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-circle-plus-outline"},on:{click:e.add}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.add"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-delete"},on:{click:e.remove}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.delete"))+"\n ")])],1),e._v(" "),t("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{data:e.variables,border:"","highlight-current-row":""},on:{"current-change":e.handleCurrentChange}},[t("el-table-column",{attrs:{type:"index",width:"50"}}),e._v(" "),t("el-table-column",{attrs:{prop:"name",label:e.$t("workflowEditor.common.variableName")},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-input",{attrs:{placeholder:e.$t("workflowEditorMessage.pleaseEnterContent")},on:{blur:function(t){return e.checkName(n.row.name)}},model:{value:n.row.name,callback:function(t){e.$set(n.row,"name","string"==typeof t?t.trim():t)},expression:"scope.row.name"}})]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"value",label:e.$t("workflowEditor.common.variableValue")},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-input",{attrs:{placeholder:e.$t("workflowEditorMessage.pleaseEnterContent")},on:{blur:function(t){return e.checkValue(n.row.value)}},model:{value:n.row.value,callback:function(t){e.$set(n.row,"value","string"==typeof t?t.trim():t)},expression:"scope.row.value"}})]}}])})],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.formModel,"label-width":"80px"}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.beforeSubmission")}},[t("el-switch",{model:{value:e.formModel.beforeSubmitEnabled,callback:function(t){e.$set(e.formModel,"beforeSubmitEnabled",t)},expression:"formModel.beforeSubmitEnabled"}})],1),e._v(" "),e.formModel.beforeSubmitEnabled?t("div",[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.executionURL")}},[t("el-input",{model:{value:e.formModel.beforeSubmit.url,callback:function(t){e.$set(e.formModel.beforeSubmit,"url",t)},expression:"formModel.beforeSubmit.url"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.errorMessage")}},[t("el-input",{model:{value:e.formModel.beforeSubmit.errorMessage,callback:function(t){e.$set(e.formModel.beforeSubmit,"errorMessage",t)},expression:"formModel.beforeSubmit.errorMessage"}})],1)],1):e._e(),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.afterSubmission")}},[t("el-switch",{model:{value:e.formModel.afterComplete,callback:function(t){e.$set(e.formModel,"afterComplete",t)},expression:"formModel.afterComplete"}})],1)],1)};t.staticRenderFns=[]},function(e,t,n){var r=n(704);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:"",title:e.$t("workflowEditor.process.processProperties"),center:!0,top:"10vh","append-to-body":"","custom-class":"properties-editor"},on:{open:function(t){return e.$emit("open")},opend:function(t){return e.$emit("opend")},close:function(t){return e.$emit("close")},closed:function(t){return e.$emit("closed")}}},[t("el-tabs",{attrs:{type:"border-card"},on:{"tab-click":e.handleClick},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},[t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.process.basicProperties"),name:"basicProperties"}},[t("basic-properties",{attrs:{name:e.model.attr.name,code:e.model.attr.code,model:e.model.properties.basicProperties},on:{"update:name":function(t){return e.$set(e.model.attr,"name",t)},"update:code":function(t){return e.$set(e.model.attr,"code",t)}}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.process.permissionSettings"),name:"permissions"}},[t("permission-settings",{attrs:{model:e.model.properties.permissionSettings}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.process.notificationSettings"),name:"inform"}},[t("notice-settings",{model:{value:e.model.properties.inform,callback:function(t){e.$set(e.model.properties,"inform",t)},expression:"model.properties.inform"}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.process.reminderSettings"),name:"reminders"}},[t("reminder",{model:{value:e.model.properties.reminder,callback:function(t){e.$set(e.model.properties,"reminder",t)},expression:"model.properties.reminder"}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.process.parameterSsetting"),name:"parameterSettings"}},[t("parameter-settings",{attrs:{model:e.model.properties.parameterSettings}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.process.event"),name:"events"}},[t("events",{model:{value:e.model.properties.events,callback:function(t){e.$set(e.model.properties,"events",t)},expression:"model.properties.events"}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.process.processVariables"),name:"variables"}},[t("variables",{model:{value:e.model.properties.variables,callback:function(t){e.$set(e.model.properties,"variables",t)},expression:"model.properties.variables"}})],1)],1)],1)};t.staticRenderFns=[]},function(e,t,n){var r,o,i=n(706),a=n(289),s=n(290).isArray;function l(e){var t=Number(e);if(!isNaN(t))return t;var n=e.toLowerCase();return"true"===n||"false"!==n&&e}function c(e,t){var n;if(r.compact){if(!o[r[e+"Key"]]&&(s(r.alwaysArray)?-1!==r.alwaysArray.indexOf(r[e+"Key"]):r.alwaysArray)&&(o[r[e+"Key"]]=[]),o[r[e+"Key"]]&&!s(o[r[e+"Key"]])&&(o[r[e+"Key"]]=[o[r[e+"Key"]]]),e+"Fn"in r&&"string"==typeof t&&(t=r[e+"Fn"](t,o)),"instruction"===e&&("instructionFn"in r||"instructionNameFn"in r))for(n in t)if(t.hasOwnProperty(n))if("instructionFn"in r)t[n]=r.instructionFn(t[n],n,o);else{var i=t[n];delete t[n],t[r.instructionNameFn(n,i,o)]=i}s(o[r[e+"Key"]])?o[r[e+"Key"]].push(t):o[r[e+"Key"]]=t}else{o[r.elementsKey]||(o[r.elementsKey]=[]);var a={};if(a[r.typeKey]=e,"instruction"===e){for(n in t)if(t.hasOwnProperty(n))break;a[r.nameKey]="instructionNameFn"in r?r.instructionNameFn(n,t,o):n,r.instructionHasAttributes?(a[r.attributesKey]=t[n][r.attributesKey],"instructionFn"in r&&(a[r.attributesKey]=r.instructionFn(a[r.attributesKey],n,o))):("instructionFn"in r&&(t[n]=r.instructionFn(t[n],n,o)),a[r.instructionKey]=t[n])}else e+"Fn"in r&&(t=r[e+"Fn"](t,o)),a[r[e+"Key"]]=t;r.addParent&&(a[r.parentKey]=o),o[r.elementsKey].push(a)}}function u(e){var t;if("attributesFn"in r&&e&&(e=r.attributesFn(e,o)),(r.trim||"attributeValueFn"in r||"attributeNameFn"in r||r.nativeTypeAttributes)&&e)for(t in e)if(e.hasOwnProperty(t)&&(r.trim&&(e[t]=e[t].trim()),r.nativeTypeAttributes&&(e[t]=l(e[t])),"attributeValueFn"in r&&(e[t]=r.attributeValueFn(e[t],t,o)),"attributeNameFn"in r)){var n=e[t];delete e[t],e[r.attributeNameFn(t,e[t],o)]=n}return e}function d(e){var t={};if(e.body&&("xml"===e.name.toLowerCase()||r.instructionHasAttributes)){for(var n,i=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;null!==(n=i.exec(e.body));)t[n[1]]=n[2]||n[3]||n[4];t=u(t)}if("xml"===e.name.toLowerCase()){if(r.ignoreDeclaration)return;o[r.declarationKey]={},Object.keys(t).length&&(o[r.declarationKey][r.attributesKey]=t),r.addParent&&(o[r.declarationKey][r.parentKey]=o)}else{if(r.ignoreInstruction)return;r.trim&&(e.body=e.body.trim());var a={};r.instructionHasAttributes&&Object.keys(t).length?(a[e.name]={},a[e.name][r.attributesKey]=t):a[e.name]=e.body,c("instruction",a)}}function f(e,t){var n;if("object"==typeof e&&(t=e.attributes,e=e.name),t=u(t),"elementNameFn"in r&&(e=r.elementNameFn(e,o)),r.compact){var i;if(n={},!r.ignoreAttributes&&t&&Object.keys(t).length)for(i in n[r.attributesKey]={},t)t.hasOwnProperty(i)&&(n[r.attributesKey][i]=t[i]);!(e in o)&&(s(r.alwaysArray)?-1!==r.alwaysArray.indexOf(e):r.alwaysArray)&&(o[e]=[]),o[e]&&!s(o[e])&&(o[e]=[o[e]]),s(o[e])?o[e].push(n):o[e]=n}else o[r.elementsKey]||(o[r.elementsKey]=[]),(n={})[r.typeKey]="element",n[r.nameKey]=e,!r.ignoreAttributes&&t&&Object.keys(t).length&&(n[r.attributesKey]=t),r.alwaysChildren&&(n[r.elementsKey]=[]),o[r.elementsKey].push(n);n[r.parentKey]=o,o=n}function p(e){r.ignoreText||(e.trim()||r.captureSpacesBetweenElements)&&(r.trim&&(e=e.trim()),r.nativeType&&(e=l(e)),r.sanitize&&(e=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")),c("text",e))}function h(e){r.ignoreComment||(r.trim&&(e=e.trim()),c("comment",e))}function m(e){var t=o[r.parentKey];r.addParent||delete o[r.parentKey],o=t}function v(e){r.ignoreCdata||(r.trim&&(e=e.trim()),c("cdata",e))}function g(e){r.ignoreDoctype||(e=e.replace(/^ /,""),r.trim&&(e=e.trim()),c("doctype",e))}function b(e){e.note=e}e.exports=function(e,t){var n=i.parser(!0,{}),s={};if(o=s,r=function(e){return r=a.copyOptions(e),a.ensureFlagExists("ignoreDeclaration",r),a.ensureFlagExists("ignoreInstruction",r),a.ensureFlagExists("ignoreAttributes",r),a.ensureFlagExists("ignoreText",r),a.ensureFlagExists("ignoreComment",r),a.ensureFlagExists("ignoreCdata",r),a.ensureFlagExists("ignoreDoctype",r),a.ensureFlagExists("compact",r),a.ensureFlagExists("alwaysChildren",r),a.ensureFlagExists("addParent",r),a.ensureFlagExists("trim",r),a.ensureFlagExists("nativeType",r),a.ensureFlagExists("nativeTypeAttributes",r),a.ensureFlagExists("sanitize",r),a.ensureFlagExists("instructionHasAttributes",r),a.ensureFlagExists("captureSpacesBetweenElements",r),a.ensureAlwaysArrayExists(r),a.ensureKeyExists("declaration",r),a.ensureKeyExists("instruction",r),a.ensureKeyExists("attributes",r),a.ensureKeyExists("text",r),a.ensureKeyExists("comment",r),a.ensureKeyExists("cdata",r),a.ensureKeyExists("doctype",r),a.ensureKeyExists("type",r),a.ensureKeyExists("name",r),a.ensureKeyExists("elements",r),a.ensureKeyExists("parent",r),a.checkFnExists("doctype",r),a.checkFnExists("instruction",r),a.checkFnExists("cdata",r),a.checkFnExists("comment",r),a.checkFnExists("text",r),a.checkFnExists("instructionName",r),a.checkFnExists("elementName",r),a.checkFnExists("attributeName",r),a.checkFnExists("attributeValue",r),a.checkFnExists("attributes",r),r}(t),n.opt={strictEntities:!0},n.onopentag=f,n.ontext=p,n.oncomment=h,n.onclosetag=m,n.onerror=b,n.oncdata=v,n.ondoctype=g,n.onprocessinginstruction=d,n.write(e).close(),s[r.elementsKey]){var l=s[r.elementsKey];delete s[r.elementsKey],s[r.elementsKey]=l,delete s.text}return s}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){"use strict";(function(t,r){var o=n(92);e.exports=w;var i,a=n(502);w.ReadableState=b;n(284).EventEmitter;var s=function(e,t){return e.listeners(t).length},l=n(504),c=n(286).Buffer,u=(void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var d=Object.create(n(75));d.inherits=n(63);var f=n(710),p=void 0;p=f&&f.debuglog?f.debuglog("stream"):function(){};var h,m=n(711),v=n(505);d.inherits(w,l);var g=["error","close","destroy","pause","resume"];function b(e,t){e=e||{};var r=t instanceof(i=i||n(51));this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var o=e.highWaterMark,a=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:r&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(h||(h=n(288).StringDecoder),this.decoder=new h(e.encoding),this.encoding=e.encoding)}function w(e){if(i=i||n(51),!(this instanceof w))return new w(e);this._readableState=new b(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),l.call(this)}function y(e,t,n,r,o){var i,a=e._readableState;null===t?(a.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,O(e)}(e,a)):(o||(i=function(e,t){var n;r=t,c.isBuffer(r)||r instanceof u||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));var r;return n}(a,t)),i?e.emit("error",i):a.objectMode||t&&t.length>0?("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=function(e){return c.from(e)}(t)),r?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):_(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?_(e,a,t,!1):x(e,a)):_(e,a,t,!1))):r||(a.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(a)}function _(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&O(e)),x(e,t)}Object.defineProperty(w.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),w.prototype.destroy=v.destroy,w.prototype._undestroy=v.undestroy,w.prototype._destroy=function(e,t){this.push(null),t(e)},w.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=c.from(e,t),t=""),n=!0),y(this,e,t,!1,n)},w.prototype.unshift=function(e){return y(this,e,null,!0,!1)},w.prototype.isPaused=function(){return!1===this._readableState.flowing},w.prototype.setEncoding=function(e){return h||(h=n(288).StringDecoder),this._readableState.decoder=new h(e),this._readableState.encoding=e,this};function k(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function O(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(p("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?o.nextTick(T,e):T(e))}function T(e){p("emit readable"),e.emit("readable"),P(e)}function x(e,t){t.readingMore||(t.readingMore=!0,o.nextTick(E,e,t))}function E(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(p("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function S(e){p("readable nexttick read 0"),e.read(0)}function F(e,t){t.reading||(p("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),P(e),t.flowing&&!t.reading&&e.read(0)}function P(e){var t=e._readableState;for(p("flow",t.flowing);t.flowing&&null!==e.read(););}function C(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?function(e,t){var n=t.head,r=1,o=n.data;e-=o.length;for(;n=n.next;){var i=n.data,a=e>i.length?i.length:e;if(a===i.length?o+=i:o+=i.slice(0,e),0===(e-=a)){a===i.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=i.slice(a));break}++r}return t.length-=r,o}(e,t):function(e,t){var n=c.allocUnsafe(e),r=t.head,o=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var i=r.data,a=e>i.length?i.length:e;if(i.copy(n,n.length-e,0,a),0===(e-=a)){a===i.length?(++o,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=i.slice(a));break}++o}return t.length-=o,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function M(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,o.nextTick(R,t,e))}function R(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function I(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}w.prototype.read=function(e){p("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return p("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?M(this):O(this),null;if(0===(e=k(e,t))&&t.ended)return 0===t.length&&M(this),null;var r,o=t.needReadable;return p("need readable",o),(0===t.length||t.length-e<t.highWaterMark)&&p("length less than watermark",o=!0),t.ended||t.reading?p("reading or ended",o=!1):o&&(p("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=k(n,t))),null===(r=e>0?C(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&M(this)),null!==r&&this.emit("data",r),r},w.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},w.prototype.pipe=function(e,t){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,p("pipe count=%d opts=%j",i.pipesCount,t);var l=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?u:w;function c(t,r){p("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,p("cleanup"),e.removeListener("close",g),e.removeListener("finish",b),e.removeListener("drain",d),e.removeListener("error",v),e.removeListener("unpipe",c),n.removeListener("end",u),n.removeListener("end",w),n.removeListener("data",m),f=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||d())}function u(){p("onend"),e.end()}i.endEmitted?o.nextTick(l):n.once("end",l),e.on("unpipe",c);var d=function(e){return function(){var t=e._readableState;p("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,P(e))}}(n);e.on("drain",d);var f=!1;var h=!1;function m(t){p("ondata"),h=!1,!1!==e.write(t)||h||((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==I(i.pipes,e))&&!f&&(p("false write response, pause",i.awaitDrain),i.awaitDrain++,h=!0),n.pause())}function v(t){p("onerror",t),w(),e.removeListener("error",v),0===s(e,"error")&&e.emit("error",t)}function g(){e.removeListener("finish",b),w()}function b(){p("onfinish"),e.removeListener("close",g),w()}function w(){p("unpipe"),n.unpipe(e)}return n.on("data",m),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",v),e.once("close",g),e.once("finish",b),e.emit("pipe",n),i.flowing||(p("pipe resume"),n.resume()),e},w.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<o;i++)r[i].emit("unpipe",this,{hasUnpiped:!1});return this}var a=I(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},w.prototype.on=function(e,t){var n=l.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&O(this):o.nextTick(S,this))}return n},w.prototype.addListener=w.prototype.on,w.prototype.resume=function(){var e=this._readableState;return e.flowing||(p("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,o.nextTick(F,e,t))}(this,e)),this},w.prototype.pause=function(){return p("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(p("pause"),this._readableState.flowing=!1,this.emit("pause")),this},w.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var o in e.on("end",(function(){if(p("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(o){(p("wrapped data"),n.decoder&&(o=n.decoder.write(o)),n.objectMode&&null==o)||(n.objectMode||o&&o.length)&&(t.push(o)||(r=!0,e.pause()))})),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var i=0;i<g.length;i++)e.on(g[i],this.emit.bind(this,g[i]));return this._read=function(t){p("wrapped _read",t),r&&(r=!1,e.resume())},this},Object.defineProperty(w.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),w._fromList=C}).call(this,n(46),n(91))},function(e,t,n){e.exports=n(284).EventEmitter},function(e,t,n){"use strict";var r=n(92);function o(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var n=this,i=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return i||a?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,r.nextTick(o,this,e)):r.nextTick(o,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?n._writableState?n._writableState.errorEmitted||(n._writableState.errorEmitted=!0,r.nextTick(o,n,e)):r.nextTick(o,n,e):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(e,t,n){"use strict";e.exports=a;var r=n(51),o=Object.create(n(75));function i(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function a(e){if(!(this instanceof a))return new a(e);r.call(this,e),this._transformState={afterTransform:i.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"==typeof this._flush?this._flush((function(t,n){l(e,t,n)})):l(this,null,null)}function l(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}o.inherits=n(63),o.inherits(a,r),a.prototype.push=function(e,t){return this._transformState.needTransform=!1,r.prototype.push.call(this,e,t)},a.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},a.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var o=this._readableState;(r.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},a.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},a.prototype._destroy=function(e,t){var n=this;r.prototype._destroy.call(this,e,(function(e){t(e),n.emit("close")}))}},function(e,t,n){var r,o,i=n(289),a=n(290).isArray;function s(e,t,n){return(!n&&e.spaces?"\n":"")+Array(t+1).join(e.spaces)}function l(e,t,n){if(t.ignoreAttributes)return"";"attributesFn"in t&&(e=t.attributesFn(e,o,r));var i,a,l,c,u=[];for(i in e)e.hasOwnProperty(i)&&null!==e[i]&&void 0!==e[i]&&(c=t.noQuotesForNativeAttributes&&"string"!=typeof e[i]?"":'"',a=(a=""+e[i]).replace(/"/g,"&quot;"),l="attributeNameFn"in t?t.attributeNameFn(i,a,o,r):i,u.push(t.spaces&&t.indentAttributes?s(t,n+1,!1):" "),u.push(l+"="+c+("attributeValueFn"in t?t.attributeValueFn(a,i,o,r):a)+c));return e&&Object.keys(e).length&&t.spaces&&t.indentAttributes&&u.push(s(t,n,!1)),u.join("")}function c(e,t,n){return r=e,o="xml",t.ignoreDeclaration?"":"<?xml"+l(e[t.attributesKey],t,n)+"?>"}function u(e,t,n){if(t.ignoreInstruction)return"";var i;for(i in e)if(e.hasOwnProperty(i))break;var a="instructionNameFn"in t?t.instructionNameFn(i,e[i],o,r):i;if("object"==typeof e[i])return r=e,o=a,"<?"+a+l(e[i][t.attributesKey],t,n)+"?>";var s=e[i]?e[i]:"";return"instructionFn"in t&&(s=t.instructionFn(s,i,o,r)),"<?"+a+(s?" "+s:"")+"?>"}function d(e,t){return t.ignoreComment?"":"\x3c!--"+("commentFn"in t?t.commentFn(e,o,r):e)+"--\x3e"}function f(e,t){return t.ignoreCdata?"":"<![CDATA["+("cdataFn"in t?t.cdataFn(e,o,r):e.replace("]]>","]]]]><![CDATA[>"))+"]]>"}function p(e,t){return t.ignoreDoctype?"":"<!DOCTYPE "+("doctypeFn"in t?t.doctypeFn(e,o,r):e)+">"}function h(e,t){return t.ignoreText?"":(e=(e=(e=""+e).replace(/&amp;/g,"&")).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),"textFn"in t?t.textFn(e,o,r):e)}function m(e,t,n,i){return e.reduce((function(e,a){var c=s(t,n,i&&!e);switch(a.type){case"element":return e+c+function(e,t,n){r=e,o=e.name;var i=[],a="elementNameFn"in t?t.elementNameFn(e.name,e):e.name;i.push("<"+a),e[t.attributesKey]&&i.push(l(e[t.attributesKey],t,n));var s=e[t.elementsKey]&&e[t.elementsKey].length||e[t.attributesKey]&&"preserve"===e[t.attributesKey]["xml:space"];return s||(s="fullTagEmptyElementFn"in t?t.fullTagEmptyElementFn(e.name,e):t.fullTagEmptyElement),s?(i.push(">"),e[t.elementsKey]&&e[t.elementsKey].length&&(i.push(m(e[t.elementsKey],t,n+1)),r=e,o=e.name),i.push(t.spaces&&function(e,t){var n;if(e.elements&&e.elements.length)for(n=0;n<e.elements.length;++n)switch(e.elements[n][t.typeKey]){case"text":if(t.indentText)return!0;break;case"cdata":if(t.indentCdata)return!0;break;case"instruction":if(t.indentInstruction)return!0;break;case"doctype":case"comment":case"element":default:return!0}return!1}(e,t)?"\n"+Array(n+1).join(t.spaces):""),i.push("</"+a+">")):i.push("/>"),i.join("")}(a,t,n);case"comment":return e+c+d(a[t.commentKey],t);case"doctype":return e+c+p(a[t.doctypeKey],t);case"cdata":return e+(t.indentCdata?c:"")+f(a[t.cdataKey],t);case"text":return e+(t.indentText?c:"")+h(a[t.textKey],t);case"instruction":var v={};return v[a[t.nameKey]]=a[t.attributesKey]?a:a[t.instructionKey],e+(t.indentInstruction?c:"")+u(v,t,n)}}),"")}function v(e,t,n){var r;for(r in e)if(e.hasOwnProperty(r))switch(r){case t.parentKey:case t.attributesKey:break;case t.textKey:if(t.indentText||n)return!0;break;case t.cdataKey:if(t.indentCdata||n)return!0;break;case t.instructionKey:if(t.indentInstruction||n)return!0;break;case t.doctypeKey:case t.commentKey:default:return!0}return!1}function g(e,t,n,i,a){r=e,o=t;var c="elementNameFn"in n?n.elementNameFn(t,e):t;if(null==e||""===e)return"fullTagEmptyElementFn"in n&&n.fullTagEmptyElementFn(t,e)||n.fullTagEmptyElement?"<"+c+"></"+c+">":"<"+c+"/>";var u=[];if(t){if(u.push("<"+c),"object"!=typeof e)return u.push(">"+h(e,n)+"</"+c+">"),u.join("");e[n.attributesKey]&&u.push(l(e[n.attributesKey],n,i));var d=v(e,n,!0)||e[n.attributesKey]&&"preserve"===e[n.attributesKey]["xml:space"];if(d||(d="fullTagEmptyElementFn"in n?n.fullTagEmptyElementFn(t,e):n.fullTagEmptyElement),!d)return u.push("/>"),u.join("");u.push(">")}return u.push(b(e,n,i+1,!1)),r=e,o=t,t&&u.push((a?s(n,i,!1):"")+"</"+c+">"),u.join("")}function b(e,t,n,r){var o,i,l,m=[];for(i in e)if(e.hasOwnProperty(i))for(l=a(e[i])?e[i]:[e[i]],o=0;o<l.length;++o){switch(i){case t.declarationKey:m.push(c(l[o],t,n));break;case t.instructionKey:m.push((t.indentInstruction?s(t,n,r):"")+u(l[o],t,n));break;case t.attributesKey:case t.parentKey:break;case t.textKey:m.push((t.indentText?s(t,n,r):"")+h(l[o],t));break;case t.cdataKey:m.push((t.indentCdata?s(t,n,r):"")+f(l[o],t));break;case t.doctypeKey:m.push(s(t,n,r)+p(l[o],t));break;case t.commentKey:m.push(s(t,n,r)+d(l[o],t));break;default:m.push(s(t,n,r)+g(l[o],i,t,n,v(l[o],t)))}r=r&&!m.length}return m.join("")}e.exports=function(e,t){t=function(e){var t=i.copyOptions(e);return i.ensureFlagExists("ignoreDeclaration",t),i.ensureFlagExists("ignoreInstruction",t),i.ensureFlagExists("ignoreAttributes",t),i.ensureFlagExists("ignoreText",t),i.ensureFlagExists("ignoreComment",t),i.ensureFlagExists("ignoreCdata",t),i.ensureFlagExists("ignoreDoctype",t),i.ensureFlagExists("compact",t),i.ensureFlagExists("indentText",t),i.ensureFlagExists("indentCdata",t),i.ensureFlagExists("indentAttributes",t),i.ensureFlagExists("indentInstruction",t),i.ensureFlagExists("fullTagEmptyElement",t),i.ensureFlagExists("noQuotesForNativeAttributes",t),i.ensureSpacesExists(t),"number"==typeof t.spaces&&(t.spaces=Array(t.spaces+1).join(" ")),i.ensureKeyExists("declaration",t),i.ensureKeyExists("instruction",t),i.ensureKeyExists("attributes",t),i.ensureKeyExists("text",t),i.ensureKeyExists("comment",t),i.ensureKeyExists("cdata",t),i.ensureKeyExists("doctype",t),i.ensureKeyExists("type",t),i.ensureKeyExists("name",t),i.ensureKeyExists("elements",t),i.checkFnExists("doctype",t),i.checkFnExists("instruction",t),i.checkFnExists("cdata",t),i.checkFnExists("comment",t),i.checkFnExists("text",t),i.checkFnExists("instructionName",t),i.checkFnExists("elementName",t),i.checkFnExists("attributeName",t),i.checkFnExists("attributeValue",t),i.checkFnExists("attributes",t),i.checkFnExists("fullTagEmptyElement",t),t}(t);var n=[];return r=e,o="_root_",t.compact?n.push(b(e,t,0,!0)):(e[t.declarationKey]&&n.push(c(e[t.declarationKey],t,0)),e[t.elementsKey]&&e[t.elementsKey].length&&n.push(m(e[t.elementsKey],t,0,!n.length))),n.join("")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.formModel,"label-width":"100px"}},[t("el-row",[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.processName"),prop:"name",rules:[e.requiredRule]}},[t("i18n-input",{attrs:{"i18n-key":e.model.i18nKey?e.model.i18nKey:"processName"},on:{setI18n:e.setI18nValue},model:{value:e.formModel.name,callback:function(t){e.$set(e.formModel,"name","string"==typeof t?t.trim():t)},expression:"formModel.name"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.processCode"),prop:"code",rules:[e.requiredRule]}},[t("el-input",{model:{value:e.formModel.code,callback:function(t){e.$set(e.formModel,"code","string"==typeof t?t.trim():t)},expression:"formModel.code"}})],1)],1)],1),e._v(" "),t("el-row",[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.processAdministrator"),rules:[e.requiredRule]}},[t("el-input",{attrs:{readonly:"","suffix-icon":"el-icon-search"},on:{focus:e.selectAdmin},model:{value:e.formModel.adminName,callback:function(t){e.$set(e.formModel,"adminName",t)},expression:"formModel.adminName"}}),e._v(" "),e.isSelectAdmin?t("department-user-tree",{attrs:{width:"30%",multiple:!1},on:{close:e.addAdmin}}):e._e()],1)],1),e._v(" "),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.creater")}},[t("el-input",{attrs:{readonly:""},model:{value:e.model.creator,callback:function(t){e.$set(e.model,"creator",t)},expression:"model.creator"}})],1)],1)],1),e._v(" "),t("el-row",[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.correspondingForm"),rules:[e.requiredRule]}},[t("el-cascader",{attrs:{"show-all-levels":!1,options:e.allForms},on:{change:e.handleChange},model:{value:e.selectedForm,callback:function(t){e.selectedForm=t},expression:"selectedForm"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.processType")}},[t("el-select",{attrs:{placeholder:e.$t("workflowEditorMessage.pleaseSelect")},model:{value:e.model.processTypeCode,callback:function(t){e.$set(e.model,"processTypeCode",t)},expression:"model.processTypeCode"}},e._l(e.allProcessTypes,(function(e){return t("el-option",{key:e.code,attrs:{label:e.name,value:e.code}})})),1)],1)],1)],1),e._v(" "),t("el-row",[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.system"),prop:"model.systemCode",rules:[e.requiredRule]}},[t("el-select",{attrs:{placeholder:e.$t("workflowEditorMessage.pleaseSelect")},model:{value:e.model.systemCode,callback:function(t){e.$set(e.model,"systemCode",t)},expression:"model.systemCode"}},e._l(e.allSystems,(function(e){return t("el-option",{key:e.code,attrs:{label:e.name,value:e.code}})})),1)],1)],1),e._v(" "),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.affiliatedBranch")}},[t("el-select",{attrs:{clearable:"",placeholder:e.$t("workflowEditorMessage.pleaseSelect")},model:{value:e.model.branchCode,callback:function(t){e.$set(e.model,"branchCode",t)},expression:"model.branchCode"}},e._l(e.allBranches,(function(e){return t("el-option",{key:e.code,attrs:{label:e.name,value:e.code}})})),1)],1)],1)],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.customCategory")}},[t("el-input",{model:{value:e.model.customType,callback:function(t){e.$set(e.model,"customType",t)},expression:"model.customType"}})],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.model,"label-width":"80px"}},[t("user-selection",{attrs:{label:e.$t("workflowEditor.process.ViewFlowHistoryPersonnel"),"label-width":"130px"},model:{value:e.model.viewFlowHistory,callback:function(t){e.$set(e.model,"viewFlowHistory",t)},expression:"model.viewFlowHistory"}}),e._v(" "),t("user-selection",{attrs:{label:e.$t("workflowEditor.process.ViewCountersignatureResultPersonnel"),"label-width":"130px"},model:{value:e.model.viewSubscribeResult,callback:function(t){e.$set(e.model,"viewSubscribeResult",t)},expression:"model.viewSubscribeResult"}}),e._v(" "),t("user-selection",{attrs:{label:e.$t("workflowEditor.process.ViewVotingResultsBy"),"label-width":"130px"},model:{value:e.model.viewVoteResult,callback:function(t){e.$set(e.model,"viewVoteResult",t)},expression:"model.viewVoteResult"}})],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.model,"label-width":"150px"}},[t("el-card",[t("div",{attrs:{slot:"header"},slot:"header"},[t("span",[e._v(e._s(e.$t("workflowEditor.process.processTaskParameterSettings")))])]),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.uRLForProcessingTask")}},[t("el-input",{model:{value:e.model.doTask.url,callback:function(t){e.$set(e.model.doTask,"url",t)},expression:"model.doTask.url"}},[t("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"suffix"},on:{click:e.openSelectPage},slot:"suffix"})])],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.parametersForReceivingTaskID")}},[t("el-input",{model:{value:e.model.doTask.parameterName,callback:function(t){e.$set(e.model.doTask,"parameterName",t)},expression:"model.doTask.parameterName"}})],1)],1),e._v(" "),t("el-card",[t("div",{attrs:{slot:"header"},slot:"header"},[t("span",[e._v(e._s(e.$t("workflowEditor.process.viewFormParameterSettings")))])]),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.viewTheURLOfTheForm")}},[t("el-input",{model:{value:e.model.viewForm.url,callback:function(t){e.$set(e.model.viewForm,"url",t)},expression:"model.viewForm.url"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.parametersOfReceivingEntityID")}},[t("el-input",{model:{value:e.model.viewForm.parameterName,callback:function(t){e.$set(e.model.viewForm,"parameterName",t)},expression:"model.viewForm.parameterName"}})],1)],1),e._v(" "),t("el-card",[t("div",{attrs:{slot:"header"},slot:"header"},[t("span",[e._v(e._s(e.$t("workflowEditor.process.emergencyTreatmentParameterSetting")))])]),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.uRLOfEmergencyHandling")}},[t("el-input",{model:{value:e.model.handleEmergency.url,callback:function(t){e.$set(e.model.handleEmergency,"url",t)},expression:"model.handleEmergency.url"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.parametersOfReceivingEntityID")}},[t("el-input",{model:{value:e.model.handleEmergency.parameterName,callback:function(t){e.$set(e.model.handleEmergency,"parameterName",t)},expression:"model.handleEmergency.parameterName"}})],1)],1),e._v(" "),t("el-card",[t("div",{attrs:{slot:"header"},slot:"header"},[t("span",[e._v(e._s(e.$t("workflowEditor.process.initiateProcessParameterSettings")))])]),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.uRLOfTheInitiatingProcess")}},[t("el-input",{model:{value:e.model.startProcess.url,callback:function(t){e.$set(e.model.startProcess,"url",t)},expression:"model.startProcess.url"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.parametersForReceivingProcessName")}},[t("el-input",{model:{value:e.model.startProcess.parameterName,callback:function(t){e.$set(e.model.startProcess,"parameterName",t)},expression:"model.startProcess.parameterName"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.customParameterValue")}},[t("el-input",{model:{value:e.model.startProcess.parameterValue,callback:function(t){e.$set(e.model.startProcess,"parameterValue",t)},expression:"model.startProcess.parameterValue"}})],1)],1),e._v(" "),e.selectPageFlag?t("select-page",{attrs:{"page-form-code":e.pageFormCode},on:{setPage:e.setPage}}):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{"show-close":!0,"append-to-body":!0,title:e.$t("workflowEditorPublicModel.selectPage"),width:"60%",visible:""},on:{close:e.savePage}},[t("div",{staticStyle:{"overflow-y":"auto","max-height":"500px"}},[t("div",{staticClass:"operation-area"},[t("el-button",{attrs:{size:"small"},on:{click:e.savePage}},[t("span",[e._v(e._s(e.$t("workflowEditorPublicModel.close")))])])],1),e._v(" "),t("div",[t("super-grid",{ref:"grid",attrs:{url:e.baseURL+e.listURL,code:"MMS_MODULE_PAGE"},on:{select:e.select}})],1)])])};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-checkbox-group",{model:{value:e.selectedEvents,callback:function(t){e.selectedEvents=t},expression:"selectedEvents"}},[t("el-row",{attrs:{gutter:12}},e._l(e.events,(function(n){return t("el-col",{key:n.name,staticStyle:{"margin-bottom":"12px"},attrs:{span:8}},[t("el-card",{attrs:{shadow:"always"}},[t("el-checkbox",{attrs:{label:n.name}},[e._v("\n "+e._s(n.label)+"\n ")])],1)],1)})),1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return e.model?t("el-form",{attrs:{model:e.model,"label-width":"100px"}},[t("notice",{attrs:{"switch-label":e.$t("workflowEditor.process.sendNotificationAfterProcessEnds")},model:{value:e.model,callback:function(t){e.model=t},expression:"model"}}),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.defaultMailTemplate")}},[t("select-mail-templates",{on:{"set-value":e.setMailTemplateCode},model:{value:e.model.defaultMailTemplateCode,callback:function(t){e.$set(e.model,"defaultMailTemplateCode",t)},expression:"model.defaultMailTemplateCode"}})],1)],1):e._e()};t.staticRenderFns=[]},function(e,t,n){"use strict";n.r(t);var r=n(350),o=n(205);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.model,"label-width":"80px"}},[t("el-form-item",{attrs:{label:e.switchLabel,"label-width":"130"}},[t("el-switch",{model:{value:e.showNotice,callback:function(t){e.showNotice=t},expression:"showNotice"}})],1),e._v(" "),e.showNotice?t("div",[t("common-notice-tool",{attrs:{label:e.$t("workflowEditor.common.notificationMethod")},model:{value:e.model.informType,callback:function(t){e.$set(e.model,"informType",t)},expression:"model.informType"}}),e._v(" "),e.model.informType&&e.model.informType.length>0&&-1!==e.model.informType.indexOf("mail")?t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.selectMailTemplate")}},[t("select-mail-templates",{on:{"set-value":e.setMailTemplateCode},model:{value:e.model.noticeMailTemplateCode,callback:function(t){e.$set(e.model,"noticeMailTemplateCode",t)},expression:"model.noticeMailTemplateCode"}})],1):e._e(),e._v(" "),t("user-selection",{attrs:{label:e.$t("workflowEditor.common.addressee")},model:{value:e.model.userCondition,callback:function(t){e.$set(e.model,"userCondition",t)},expression:"model.userCondition"}}),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.common.theme")}},[t("el-input",{attrs:{placeholder:e.$t("workflowEditorMessage.pleaseEnterASubject")},model:{value:e.model.subject,callback:function(t){e.$set(e.model,"subject",t)},expression:"model.subject"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.common.content")}},[t("el-input",{attrs:{type:"textarea",autosize:{minRows:4,maxRows:10},placeholder:e.$t("workflowEditorMessage.pleaseEnterContent")},model:{value:e.model.content,callback:function(t){e.$set(e.model,"content",t)},expression:"model.content"}})],1)],1):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:"",title:e.$t("workflowEditor.task.attributeOfConditionJudgment"),center:!0,"append-to-body":""},on:{open:function(t){return e.$emit("open")},opend:function(t){return e.$emit("opend")},close:function(t){return e.$emit("close")},closed:function(t){return e.$emit("closed")}}},[t("el-form",[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.name"),"label-width":"40px"}},[t("i18n-input",{attrs:{"i18n-key":e.formModel.basicProperties&&e.formModel.basicProperties.i18nKey?e.formModel.basicProperties.i18nKey:"name."+e.formModel.attr.id},on:{setI18n:e.setI18nValue},model:{value:e.formModel.attr.name,callback:function(t){e.$set(e.formModel.attr,"name","string"==typeof t?t.trim():t)},expression:"formModel.attr.name"}})],1),e._v(" "),t("el-form-item",[t("span",[e._v(e._s(e.$t("workflowEditor.task.allBranchFlows")))]),e._v(" "),t("el-table",{staticStyle:{width:"100%"},attrs:{border:"",data:e.transitions}},[t("el-table-column",{attrs:{type:"index",width:"50"}}),e._v(" "),t("el-table-column",{attrs:{prop:"to",label:e.$t("workflowEditor.task.targetLink")}}),e._v(" "),t("el-table-column",{attrs:{prop:"condition",label:e.$t("workflowEditor.task.condition")}})],1)],1)],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:"",title:e.$t("workflowEditor.transition.flowProperties"),center:!0,top:"10vh","append-to-body":"","custom-class":"properties-editor"},on:{open:function(t){return e.$emit("open")},opend:function(t){return e.$emit("opend")},close:function(t){return e.$emit("close")},closed:function(t){return e.$emit("closed")}}},[t("el-tabs",{attrs:{type:"border-card"},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},[t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.transition.basicProperties"),name:"basicProperties"}},[t("basic-properties",{attrs:{id:e.model.ref.attr.id,model:e.model.ref.basicProperties,"source-tache-type":e.model.startJoint.parent.type}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.transition.notificationSettings"),name:"inform"}},[t("notice",{attrs:{"switch-label":e.$t("workflowEditor.transition.sendNotificationAfterFlow")},model:{value:e.model.ref.inform,callback:function(t){e.$set(e.model.ref,"inform",t)},expression:"model.ref.inform"}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.transition.autoFillInFieldSettings"),name:"autoFilledFields"}},[t("auto-filled-fields",{model:{value:e.model.ref.autoFilledFields,callback:function(t){e.$set(e.model.ref,"autoFilledFields",t)},expression:"model.ref.autoFilledFields"}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.transition.eventProcessing"),name:"events"}},[t("el-form",[t("el-form-item",{attrs:{label:e.$t("workflowEditor.transition.triggerFlowThroughEvent")}},[t("el-switch",{model:{value:e.model.ref.onTransit,callback:function(t){e.$set(e.model.ref,"onTransit",t)},expression:"model.ref.onTransit"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.transition.beanName")}},[t("el-input",{model:{value:e.model.ref.beanName,callback:function(t){e.$set(e.model.ref,"beanName",t)},expression:"model.ref.beanName"}})],1)],1)],1)],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-form",[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.keepTheHandlerUnchangedWhenTheTargetLinkIsHandledRepeatedly"),"label-width":"240px"}},[t("el-switch",{model:{value:e.model.isOriginalUser,callback:function(t){e.$set(e.model,"isOriginalUser",t)},expression:"model.isOriginalUser"}})],1),e._v(" "),"Decision"===e.sourceTacheType?t("el-form-item",[t("span",[e._v(e._s(e.$t("workflowEditor.process.branchingCondition")))]),e._v(" "),t("additional-condition",{attrs:{"is-transition":!0},model:{value:e.model.condition,callback:function(t){e.$set(e.model,"condition",t)},expression:"model.condition"}})],1):e._e(),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.remarks"),"label-width":"40px"}},[t("i18n-input",{attrs:{"i18n-key":e.model.i18nKey?e.model.i18nKey:"name."+e.id},on:{setI18n:e.setI18nValue},model:{value:e.model.remark,callback:function(t){e.$set(e.model,"remark",t)},expression:"model.remark"}})],1)],1)};t.staticRenderFns=[]},function(e,t,n){var r=n(734);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:"",title:e.$t("workflowEditor.task.propertiesOfBranches"),center:!0,"append-to-body":""},on:{open:function(t){return e.$emit("open")},opend:function(t){return e.$emit("opend")},close:function(t){return e.$emit("close")},closed:function(t){return e.$emit("closed")}}},[t("el-form",[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.name"),"label-width":"40px"}},[t("el-input",{model:{value:e.formModel.attr.name,callback:function(t){e.$set(e.formModel.attr,"name",t)},expression:"formModel.attr.name"}})],1),e._v(" "),t("el-form-item",[t("span",[e._v(e._s(e.$t("workflowEditor.task.allBranchFlows")))]),e._v(" "),t("el-table",{staticStyle:{width:"100%"},attrs:{border:"",data:e.transitions}},[t("el-table-column",{attrs:{type:"index",width:"50"}}),e._v(" "),t("el-table-column",{attrs:{prop:"to",label:e.$t("workflowEditor.task.targetLink")}})],1)],1)],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:"",title:e.$t("workflowEditor.task.convergedProperties"),center:!0,"append-to-body":""},on:{open:function(t){return e.$emit("open")},opend:function(t){return e.$emit("opend")},close:function(t){return e.$emit("close")},closed:function(t){return e.$emit("closed")}}},[t("el-form",[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.name"),"label-width":"40px"}},[t("el-input",{model:{value:e.formModel.attr.name,callback:function(t){e.$set(e.formModel.attr,"name",t)},expression:"formModel.attr.name"}})],1)],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:"",title:e.$t("workflowEditor.task.attributesOfManualJudgment"),center:!0,"append-to-body":""},on:{open:function(t){return e.$emit("open")},opend:function(t){return e.$emit("opend")},close:function(t){return e.$emit("close")},closed:function(t){return e.$emit("closed")}}},[t("el-form",[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.name"),"label-width":"40px"}},[t("el-input",{model:{value:e.formModel.attr.name,callback:function(t){e.$set(e.formModel.attr,"name",t)},expression:"formModel.attr.name"}})],1)],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:"",title:e.$t("workflowEditor.task.propertiesOfCCTask"),center:!0,top:"10vh","append-to-body":"","custom-class":"properties-editor"},on:{open:function(t){return e.$emit("open")},opend:function(t){return e.$emit("opend")},close:function(t){return e.$emit("close")},closed:function(t){return e.$emit("closed")}}},[t("el-tabs",{attrs:{type:"border-card"},on:{"tab-click":e.handleClick},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},[t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.task.basicProperties"),name:"basicProperties"}},[t("basic-properties",{attrs:{id:e.model.ref.attr.id,name:e.model.ref.attr.name,model:e.model.ref.basicProperties},on:{"update:id":function(t){return e.$set(e.model.ref.attr,"id",t)},"update:name":function(t){return e.$set(e.model.ref.attr,"name",t)}}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.task.settingOfHandler"),name:"transactors"}},[t("transactor-settings",{attrs:{model:e.model.ref.transactorSettings,"used-in":"CopyTask"}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.task.permissionSettings"),name:"permissions"}},[t("permission-settings",{model:{value:e.model.ref.permissionSettings,callback:function(t){e.$set(e.model.ref,"permissionSettings",t)},expression:"model.ref.permissionSettings"}})],1)],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.formModel,"label-width":"110px"}},[t("el-row",[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.name")}},[t("i18n-input",{attrs:{"i18n-key":e.tache.i18nKey?e.tache.i18nKey:"name."+e.formModel.id},on:{setI18n:e.setI18nValue},model:{value:e.formModel.name,callback:function(t){e.$set(e.formModel,"name",t)},expression:"formModel.name"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.code")}},[t("el-input",{on:{blur:e.validateId},model:{value:e.formModel.id,callback:function(t){e.$set(e.formModel,"id",t)},expression:"formModel.id"}})],1)],1)],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.taskTitle")}},[t("task-title",{model:{value:e.tache.taskTitle,callback:function(t){e.$set(e.tache,"taskTitle",t)},expression:"tache.taskTitle"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.emailNotification")}},[t("el-switch",{model:{value:e.tache.mailNotice,callback:function(t){e.$set(e.tache,"mailNotice",t)},expression:"tache.mailNotice"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.handlingPage")}},[t("el-input",{model:{value:e.tache.taskUrl,callback:function(t){e.$set(e.tache,"taskUrl",t)},expression:"tache.taskUrl"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.remarks")}},[t("el-input",{attrs:{type:"textarea",autosize:""},model:{value:e.tache.remark,callback:function(t){e.$set(e.tache,"remark",t)},expression:"tache.remark"}})],1)],1)};t.staticRenderFns=[]},function(e,t,n){var r=n(741);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.formModel}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.allowViews")}},[t("el-switch",{model:{value:e.formModel.viewOpinion.permission,callback:function(t){e.$set(e.formModel.viewOpinion,"permission",t)},expression:"formModel.viewOpinion.permission"}}),e._v(" "),e.formModel.viewOpinion.permission?t("el-checkbox",{model:{value:e.formModel.viewOpinionCheckbox,callback:function(t){e.$set(e.formModel,"viewOpinionCheckbox",t)},expression:"formModel.viewOpinionCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.viewOpinion.permission&&e.formModel.viewOpinionCheckbox?t("additional-condition",{model:{value:e.formModel.viewOpinion.condition,callback:function(t){e.$set(e.formModel.viewOpinion,"condition",t)},expression:"formModel.viewOpinion.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.allowToViewCountersignatureResults")}},[t("el-switch",{model:{value:e.formModel.viewMeetingResult.permission,callback:function(t){e.$set(e.formModel.viewMeetingResult,"permission",t)},expression:"formModel.viewMeetingResult.permission"}}),e._v(" "),e.formModel.viewMeetingResult.permission?t("el-checkbox",{model:{value:e.formModel.viewMeetingResultCheckbox,callback:function(t){e.$set(e.formModel,"viewMeetingResultCheckbox",t)},expression:"formModel.viewMeetingResultCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.viewMeetingResult.permission&&e.formModel.viewMeetingResultCheckbox?t("additional-condition",{model:{value:e.formModel.viewMeetingResult.condition,callback:function(t){e.$set(e.formModel.viewMeetingResult,"condition",t)},expression:"formModel.viewMeetingResult.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.allowToViewVotingResults")}},[t("el-switch",{model:{value:e.formModel.viewVoteResult.permission,callback:function(t){e.$set(e.formModel.viewVoteResult,"permission",t)},expression:"formModel.viewVoteResult.permission"}}),e._v(" "),e.formModel.viewVoteResult.permission?t("el-checkbox",{model:{value:e.formModel.viewVoteResultCheckbox,callback:function(t){e.$set(e.formModel,"viewVoteResultCheckbox",t)},expression:"formModel.viewVoteResultCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.viewVoteResult.permission&&e.formModel.viewVoteResultCheckbox?t("additional-condition",{model:{value:e.formModel.viewVoteResult.condition,callback:function(t){e.$set(e.formModel.viewVoteResult,"condition",t)},expression:"formModel.viewVoteResult.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.allowToViewFlowHistory")}},[t("el-switch",{model:{value:e.formModel.viewFlowHistory.permission,callback:function(t){e.$set(e.formModel.viewFlowHistory,"permission",t)},expression:"formModel.viewFlowHistory.permission"}}),e._v(" "),e.formModel.viewFlowHistory.permission?t("el-checkbox",{model:{value:e.formModel.viewFlowHistoryCheckbox,callback:function(t){e.$set(e.formModel,"viewFlowHistoryCheckbox",t)},expression:"formModel.viewFlowHistoryCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.viewFlowHistory.permission&&e.formModel.viewFlowHistoryCheckbox?t("additional-condition",{model:{value:e.formModel.viewFlowHistory.condition,callback:function(t){e.$set(e.formModel.viewFlowHistory,"condition",t)},expression:"formModel.viewFlowHistory.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.allowFormsToPrint")}},[t("el-switch",{model:{value:e.formModel.printForm.permission,callback:function(t){e.$set(e.formModel.printForm,"permission",t)},expression:"formModel.printForm.permission"}}),e._v(" "),e.formModel.printForm.permission?t("el-checkbox",{model:{value:e.formModel.printFormCheckbox,callback:function(t){e.$set(e.formModel,"printFormCheckbox",t)},expression:"formModel.printFormCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.printForm.permission&&e.formModel.printFormCheckbox?t("additional-condition",{model:{value:e.formModel.printForm.condition,callback:function(t){e.$set(e.formModel.printForm,"condition",t)},expression:"formModel.printForm.condition"}}):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.attachmentAuthority")}},[t("el-switch",{model:{value:e.formModel.attachment.permission,callback:function(t){e.$set(e.formModel.attachment,"permission",t)},expression:"formModel.attachment.permission"}})],1),e._v(" "),e.formModel.attachment.permission?t("el-card",{staticClass:"box-card"},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.downloadAttachment")}},[t("el-switch",{model:{value:e.formModel.attachment.download.permission,callback:function(t){e.$set(e.formModel.attachment.download,"permission",t)},expression:"formModel.attachment.download.permission"}}),e._v(" "),e.formModel.attachment.download.permission?t("el-checkbox",{model:{value:e.formModel.attachment.downloadCheckbox,callback:function(t){e.$set(e.formModel.attachment,"downloadCheckbox",t)},expression:"formModel.attachment.downloadCheckbox"}},[e._v("\n "+e._s(e.$t("workflowEditor.task.additionalConditions"))+"\n ")]):e._e(),e._v(" "),e.formModel.attachment.download.permission&&e.formModel.attachment.downloadCheckbox?t("additional-condition",{model:{value:e.formModel.attachment.download.condition,callback:function(t){e.$set(e.formModel.attachment.download,"condition",t)},expression:"formModel.attachment.download.condition"}}):e._e()],1)],1):e._e(),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.task.bodyPermission")}},[t("el-switch",{model:{value:e.formModel.officialText.permission,callback:function(t){e.$set(e.formModel.officialText,"permission",t)},expression:"formModel.officialText.permission"}})],1)],1)};t.staticRenderFns=[]},function(e,t,n){var r=n(744);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(746);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:"",title:e.$t("workflowEditor.process.propertiesOfSubprocesses"),center:!0,top:"10vh","append-to-body":"","custom-class":"properties-editor"},on:{open:function(t){return e.$emit("open")},opend:function(t){return e.$emit("opend")},close:function(t){return e.$emit("close")},closed:function(t){return e.$emit("closed")}}},[t("el-tabs",{attrs:{type:"border-card"},on:{"tab-click":e.handleClick},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},[t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.process.basicProperties"),name:"basicProperties"}},[t("basic-properties",{attrs:{id:e.model.ref.attr.id,name:e.model.ref.attr.name,model:e.model.ref},on:{"update:id":function(t){return e.$set(e.model.ref.attr,"id",t)},"update:name":function(t){return e.$set(e.model.ref.attr,"name",t)}}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.process.settingOfHandler"),name:"transactors"}},[t("subprocess-transactor-settings",{model:{value:e.model.ref.transactorSettings,callback:function(t){e.$set(e.model.ref,"transactorSettings",t)},expression:"model.ref.transactorSettings"}})],1),e._v(" "),t("el-tab-pane",{attrs:{label:e.$t("workflowEditor.process.eventProcessing"),name:"events"}},[t("events",{attrs:{model:e.model.ref.events}})],1)],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.formModel}},[t("el-row",[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.name"),"label-width":"50px"}},[t("i18n-input",{attrs:{"i18n-key":e.formModel.tache.i18nKey?e.formModel.tache.i18nKey:"name."+e.formModel.id},on:{setI18n:e.setI18nValue},model:{value:e.formModel.name,callback:function(t){e.$set(e.formModel,"name",t)},expression:"formModel.name"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.code"),"label-width":"50px"}},[t("el-input",{on:{blur:e.validateId},model:{value:e.formModel.id,callback:function(t){e.$set(e.formModel,"id",t)},expression:"formModel.id"}})],1)],1)],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.subprocess"),"label-width":"60px"}},[t("el-cascader",{attrs:{"show-all-levels":!1,options:e.processes},on:{change:e.handleChange},model:{value:e.selectedProcess,callback:function(t){e.selectedProcess=t},expression:"selectedProcess"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.subprocessIsSharedForm"),"label-width":"60px"}},[t("el-switch",{model:{value:e.formModel.tache.isSharedForm,callback:function(t){e.$set(e.formModel.tache,"isSharedForm",t)},expression:"formModel.tache.isSharedForm"}})],1),e._v(" "),t("el-radio-group",{model:{value:e.formModel.tache.moreTransactor,callback:function(t){e.$set(e.formModel.tache,"moreTransactor",t)},expression:"formModel.tache.moreTransactor"}},[t("el-radio",{attrs:{label:!1}},[e._v("\n "+e._s(e.$t("workflowEditor.task.anyOneCanHandleIt"))+"\n ")]),e._v(" "),t("el-radio",{attrs:{label:!0}},[e._v("\n "+e._s(e.$t("workflowEditor.task.forAll"))+"\n ")])],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.transferValueFromMainFormToSubForm")}},[t("field-mappings",{attrs:{"src-label":e.$t("workflowEditor.process.fieldsOfTheMainForm"),"target-label":e.$t("workflowEditor.process.fieldsOfSubform"),"target-fields":e.subprocessFormFields},model:{value:e.formModel.tache.parameters,callback:function(t){e.$set(e.formModel.tache,"parameters",t)},expression:"formModel.tache.parameters"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.subformReturnsResultsToMainForm")}},[t("field-mappings",{attrs:{"src-label":e.$t("workflowEditor.process.fieldsOfSubform"),"target-label":e.$t("workflowEditor.process.fieldsOfTheMainForm"),"src-fields":e.subprocessFormFields},model:{value:e.formModel.tache.result,callback:function(t){e.$set(e.formModel.tache,"result",t)},expression:"formModel.tache.result"}})],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",[t("el-row",[t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-circle-plus-outline"},on:{click:e.add}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.add"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-delete"},on:{click:e.remove}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.delete"))+"\n ")])],1),e._v(" "),t("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{data:e.tableData,border:"","highlight-current-row":""},on:{"current-change":e.handleCurrentChange}},[t("el-table-column",{attrs:{type:"index",width:"50"}}),e._v(" "),t("el-table-column",{attrs:{prop:"source",label:e.srcLabel},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-input",{attrs:{value:e.showSourceFieldLabel(n.row.source),placeholder:e.$t("workflowEditorMessage.pleaseSelect")},on:{focus:function(t){e.showSourceFields=!0}}})]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"target",label:e.targetLabel},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-input",{attrs:{value:e.showTargetFieldLabel(n.row.target),placeholder:e.$t("workflowEditorMessage.pleaseSelect")},on:{focus:function(t){e.showTargetFields=!0}}})]}}])})],1),e._v(" "),e.showSourceFields||e.showTargetFields?t("form-fields",{attrs:{fields:e.formFields},on:{close:e.selectField}}):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-form",[t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.eventsTriggeredBeforeStartingASubprocess"),"label-width":"150px"}},[t("el-switch",{model:{value:e.model.beforeStart,callback:function(t){e.$set(e.model,"beforeStart",t)},expression:"model.beforeStart"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("workflowEditor.process.triggerSubprocessEndEvent")}},[t("el-switch",{model:{value:e.model.end,callback:function(t){e.$set(e.model,"end",t)},expression:"model.end"}})],1)],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",[t("el-row",[e._v("\n "+e._s(e.$t("workflowEditor.process.setTheHandlerOfTheFirstPhaseOfTheSubProcess"))),t("el-switch",{model:{value:e.model.showTransactorSettings,callback:function(t){e.$set(e.model,"showTransactorSettings",t)},expression:"model.showTransactorSettings"}})],1),e._v(" "),e.model.showTransactorSettings?t("transactor-settings",{attrs:{"is-subprocess":!0,model:e.model.transactorSettings}}):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){var r=n(753);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";n.r(t);var r=n(365),o=n(235);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(754);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"dd12406c",null);t.default=s.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this._self._c;return e("div",{staticClass:"tooltip"},[e("div",{domProps:{innerHTML:this._s(this.content)}})])};t.staticRenderFns=[]},function(e,t,n){},function(e,t,n){var r=n(756);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,n(1),n(1);t.render=function(){var e=this,t=e._self._c;return t("ul",{staticClass:"context-menu"},e._l(e.menus,(function(n){return t("li",{key:n.name,on:{mousedown:function(t){return t.stopPropagation(),e.execute(n.name)}}},[t("icon-svg",{attrs:{icon:n.icon}}),t("span",[e._v(e._s(n.label))])],1)})),0)};t.staticRenderFns=[]},function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:"",title:e.$t("workflowEditorPublicModel.tipTitle"),center:!0,top:"10vh","append-to-body":""},on:{open:function(t){return e.$emit("open")},opend:function(t){return e.$emit("opend")},close:function(t){return e.$emit("close")},closed:function(t){return e.$emit("closed")}}},[t("div",[e._v("\n "+e._s(e.$t("workflowEditorMessage.adminSaveTip"))+"\n ")]),e._v(" "),t("ul",[t("li",[e._v("\n "+e._s(e.$t("workflowEditorMessage.adminSaveTip1"))+"\n ")]),e._v(" "),t("li",[e._v("\n "+e._s(e.$t("workflowEditorMessage.adminSaveTip2"))+"\n ")]),e._v(" "),t("li",[e._v("\n "+e._s(e.$t("workflowEditorMessage.adminSaveTip3"))+"\n ")]),e._v(" "),t("li",[e._v("\n "+e._s(e.$t("workflowEditorMessage.adminSaveTip4"))+"\n ")])]),e._v(" "),t("div",[e._v("\n "+e._s(e.$t("workflowEditorMessage.adminSaveTip5"))+"\n ")]),e._v(" "),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:e.updateWfVersion}},[e._v("\n "+e._s(e.$t("workflowEditorMessage.updateVersion"))+"\n ")]),e._v(" "),t("el-button",{attrs:{type:"primary"},on:{click:e.addWfVersion}},[e._v("\n "+e._s(e.$t("workflowEditorMessage.addVersion"))+"\n ")]),e._v(" "),t("el-button",{on:{click:function(t){return e.$emit("close")}}},[e._v("\n "+e._s(e.$t("workflowEditorPublicModel.cancel"))+"\n ")])],1)])};t.staticRenderFns=[]},function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",{ref:"wfEditor",staticStyle:{position:"relative",height:"100%"}},[t("div",{staticClass:"main"},[t("section",[t("wf-history-canvas",{staticClass:"canvas",attrs:{onselectstart:"return false",process:e.process,histories:e.histories,"current-tasks":e.currentTasks,"all-process-i18n":e.allProcessI18n,"show-history":!0},nativeOn:{contextmenu:function(t){return t.preventDefault(),e.showContextMenu.apply(null,arguments)}}})],1)])])};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",{ref:"svgContainer",staticStyle:{position:"relative"}},[t("svg",{attrs:{id:"svg",width:"2000",height:"2000"},on:{mousedown:e.mousedown,mousemove:e.mousemove,mouseup:e.mouseup,mouseleave:e.mouseleave}},[t("defs",[t("marker",{attrs:{id:"arrow",markerWidth:"10",markerHeight:"10",refX:"6",refY:"2",orient:"auto",markerUnits:"strokeWidth"}},[t("path",{attrs:{d:"M0,0 L0,4 L6,2 z",fill:"#666"}})])]),e._v(" "),e._l(e.taches,(function(n){return t(n.type,{key:n.id,tag:"component",class:[e.getTacheClass(n)],attrs:{model:n,"display-mode":n.displayMode},nativeOn:{mouseenter:function(t){return e.showTacheHistoryTooltip(n,t)},mouseleave:function(t){return e.hideTacheHistoryTooltip(n)},mousemove:function(t){return e.updateTacheHistoryTooltipPosition.apply(null,arguments)},click:function(t){return e.showSubprocessHistory(n)}}})})),e._v(" "),e._l(e.transitions,(function(e){return t("transition",{key:e.id,attrs:{model:e}})}))],2),e._v(" "),e.showHistory&&e.tacheHistoryInfo?t("tache-history-tooltip",{style:e.tooltipPosition,attrs:{content:e.tacheHistoryInfo}}):e._e(),e._v(" "),e.showSubprocessDialog?t("tache-subprocess-history-dialog",{attrs:{"workflow-id":e.subWorkflowId},on:{close:e.closeSubprocessHistory}}):e._e()],1)};t.staticRenderFns=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{visible:"",title:e.$t("workflowEditorPublicModel.subprocessTitle"),"close-on-click-modal":!1,"append-to-body":"",width:"90%",top:"5vh"},on:{open:function(t){return e.$emit("open")},opend:function(t){return e.$emit("opend")},close:function(t){return e.$emit("close")},closed:function(t){return e.$emit("closed")}}},[t("iframe",{attrs:{id:"_subprocess-content",src:"#/show-sub-wf-history?workflowId="+e.workflowId,name:"_subprocess-content",title:"Subprocess Content",frameborder:"0"}})])};t.staticRenderFns=[]},function(e,t,n){},function(e,t,n){var r=n(780);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){},function(e,t,n){"use strict";t.__esModule=!0,t.default={el:{colorpicker:{confirm:"OK",clear:"Clear"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:""},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},iconselect:{inputPlaceholder:"Click Select Icon",searchPlaceholder:"Search...",noMatchIcon:"No Match Icons"}}}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return executeExpression}));var _calculator_factory__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(551),_calculator_factory_wf__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(552),_util__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(33);function executeExpression(e,t,n,r){return new(Object(_calculator_factory__WEBPACK_IMPORTED_MODULE_0__.a)(r))(e,t,n).result}function parseSubTablePermissionCondition(express,dataTypeMap,parentEntity,subEntity,additionalParamMap,task,contextParameterMap){const expressTrueVal="true";if(!express)return!0;if(expressTrueVal.toLowerCase()===express.trim())return!0;const SQUARE_BRACKETS_LEFT="[",SQUARE_BRACKETS_RIGHT="]",AND="&&",OR="||";let temp=express;const strs=splitExpression(express);console.log("分割后的原子表达式为:",strs);let result=!1;for(let e=0;e<strs.length;e++){console.log("开始分析原子表达式:",strs[e]);const t=strs[e];if(t&&t.trim()){const e=t.substring(t.indexOf(SQUARE_BRACKETS_LEFT)+SQUARE_BRACKETS_LEFT.length,t.indexOf(SQUARE_BRACKETS_RIGHT));let n="TEXT";null!=dataTypeMap&&null!=dataTypeMap[e]&&(n=dataTypeMap[e]),result=parseFieldCondition(t,n,parentEntity,subEntity,additionalParamMap,task,contextParameterMap),console.log("原子表达式:",t,"的分析结果为 ",result),temp=temp.replace(t.trim(),result+""),console.log("将原子表达式替换为它的结果后:",temp)}}return temp=temp.replace(/condition.operator.and/g,AND),temp=temp.replace(/condition.operator.or/g,OR),temp.trim().endsWith(OR)&&(temp=temp.substring(0,temp.lastIndexOf(OR))),temp.trim().endsWith(AND)&&(temp=temp.substring(0,temp.lastIndexOf(AND))),console.log("最终该流向的表达式为:",temp),eval("("+temp+")")}function parseFieldCondition(e,t,n,r,o,i,a){if(!e)return!1;const s=(e=e.trim()).substring(e.indexOf("[")+"[".length,e.indexOf("]")),l=e.substring(0,e.indexOf(" ")),c=e.substring(e.indexOf(" ")+1),u=c.substring(c.indexOf(" ")+1).trim(),d=Object(_util__WEBPACK_IMPORTED_MODULE_2__.getPropValue)(u,n,o,a,null,r,i);null!=d&&(e=e.replace(u,d.toString()));const f=getValue(r,s);if(!(null!=f&&""!==f||"DATE"!==t&&"TIME"!==t))return!1;console.log("对应值为:",f);const p=new(Object(_calculator_factory_wf__WEBPACK_IMPORTED_MODULE_1__.a)(t))(e.replace(l,f)).result;return console.log("判断结果为:",p),p}function splitExpression(e){return(e=(e=(e=(e=e.replace(/condition.operator.and/g,"\\*")).replace(/condition.operator.or/g,"\\*")).replace(/\(/g,"")).replace(/\)/g,"")).split("\\*")}function getValue(e,t){const n=Object(_util__WEBPACK_IMPORTED_MODULE_2__.getEntityFieldValue)(e,t);return void 0===n||null==n?"":n+""}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));class r{constructor(){if(new.target===r)throw new Error("抽象类不能实例化!")}isNullValue(e,t){return(null==e||e+""=="")&&"IS_NULL"===t}isNotNullValue(e,t){return null!=e&&e+""!=""&&"IS_NOT_NULL"===t}isEQEmptyValue(e,t,n){return!(null!=e&&e+""!=""||null!=n&&n+""!=""||"EQ"!==t&&"CONTAIN"!==t)}}class o extends r{constructor(e,t,n){if(super(),this.isNotNullValue(e,t))this.result=!0;else if(this.isNullValue(e,t))this.result=!0;else if(this.isEQEmptyValue(e,t,n))this.result=!0;else if(null==e)this.result=!1;else{const r=Number(e+""),o=Number(n+"");if("GET"===t)this.result=r>=o;else if("LET"===t)this.result=r<=o;else if("GT"===t)this.result=r>o;else if("LT"===t)this.result=r<o;else if("NET"===t)this.result=r!==o;else if("EQ"===t)this.result=r===o;else if("IS_NULL"===t)this.result=null==e;else{if("IS_NOT_NULL"!==t)throw new Error("表达式不合法:"+e+" "+t+" "+n);this.result=null!=e}}}}class i extends r{constructor(e,t,n){if(super(),this.isNullValue(e,t))this.result=!0;else if(this.isEQEmptyValue(e,t,n))this.result=!0;else if(this.isNotNullValue(e,t))this.result=!0;else if(null==e)this.result=!1;else if("NET"===t)this.result=e!==n;else if("EQ"===t)this.result=e===n;else if("NOT_CONTAIN"===t)this.result=!e.includes(n);else if("CONTAIN"===t)this.result=e.includes(n);else if("IS_NULL"===t)this.result=null==e||""===e;else{if("IS_NOT_NULL"!==t)throw new Error("表达式不合法:"+e+" "+t+" "+n);this.result=null!=e&&""!==e}}}function a(e){switch(e){case"TEXT":return i;case"DOUBLE":case"FLOAT":case"INTEGER":case"LONG":case"DATE":case"TIME":return o;default:return i}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));class r{constructor(){if(new.target===r)throw new Error("抽象类不能实例化!")}isEQEmptyValue(e,t,n){return!(null!=e&&e+""!=""||null!=n&&n+""!=""||"operator.number.eq"!==t&&"operator.text.eq"!==t&&"operator.text.contain"!==t)}}class o extends r{constructor(e){super();const t="operator.number.ge",n="operator.number.le",r="operator.number.gt",o="operator.number.lt",i="operator.number.ne",a="operator.number.eq",s="operator.text.neq",l="operator.text.eq";if(e.indexOf(t)>0){const n=t,r=e.substring(0,e.indexOf(n)).trim(),o=e.substring(e.indexOf(n)+n.length).trim(),i=Number(r),a=Number(o);this.result=null!==i&&i>=a}else if(e.indexOf(n)>0){const t=n,r=e.substring(0,e.indexOf(t)).trim(),o=e.substring(e.indexOf(t)+t.length).trim(),i=Number(r),a=Number(o);this.result=null!==i&&i<=a}else if(e.indexOf(r)>0){const t=r,n=e.substring(0,e.indexOf(t)).trim(),o=e.substring(e.indexOf(t)+t.length).trim(),i=Number(n),a=Number(o);this.result=null!==i&&i>a}else if(e.indexOf(o)>0){const t=o,n=e.substring(0,e.indexOf(t)).trim(),r=e.substring(e.indexOf(t)+t.length).trim(),i=Number(n),a=Number(r);this.result=null!==i&&i<a}else if(e.indexOf(i)>0||e.indexOf(s)>0){let t=i;e.indexOf(s)>0&&(t=s);const n=e.substring(0,e.indexOf(t)).trim(),r=e.substring(e.indexOf(t)+t.length).trim(),o=Number(n),a=Number(r);this.result=null!==o&&o!==a}else if(e.indexOf(a)>0||e.indexOf(l)>0){let t=a;e.indexOf(l)>0&&(t=l);const n=e.substring(0,e.indexOf(t)).trim(),r=e.substring(e.indexOf(t)+t.length).trim(),o=Number(n),i=Number(r);this.isEQEmptyValue(o,t,i)?this.result=!0:this.result=null!==o&&o===i}}}class i extends r{constructor(e){super();const t="operator.number.ge",n="operator.number.le",r="operator.number.gt",o="operator.number.lt",i="operator.number.ne",a="operator.number.eq",s="operator.text.neq",l="operator.text.eq";if(e.indexOf(t)>0){const n=t;let r=e.substring(0,e.indexOf(n)).trim(),o=e.substring(e.indexOf(n)+n.length).trim();r||(r="0"),o=o?o.replaceAll("'",""):"0";const i=Number(r),a=Number(o);this.result=null!==i&&i>=a}else if(e.indexOf(n)>0){const t=n;let r=e.substring(0,e.indexOf(t)).trim(),o=e.substring(e.indexOf(t)+t.length).trim();r||(r="0"),o=o?o.replaceAll("'",""):"0";const i=Number(r),a=Number(o);this.result=null!==i&&i<=a}else if(e.indexOf(r)>0){const t=r;let n=e.substring(0,e.indexOf(t)).trim(),o=e.substring(e.indexOf(t)+t.length).trim();n||(n="0"),o=o?o.replaceAll("'",""):"0";const i=Number(n),a=Number(o);this.result=null!==i&&i>a}else if(e.indexOf(o)>0){const t=o;let n=e.substring(0,e.indexOf(t)).trim(),r=e.substring(e.indexOf(t)+t.length).trim();n||(n="0"),r=r?r.replaceAll("'",""):"0";const i=Number(n),a=Number(r);this.result=null!==i&&i<a}else if(e.indexOf(i)>0||e.indexOf(s)>0){let t=i;e.indexOf(s)>0&&(t=s);let n=e.substring(0,e.indexOf(t)).trim(),r=e.substring(e.indexOf(t)+t.length).trim();n||(n="0"),r=r?r.replaceAll("'",""):"0";const o=Number(n),a=Number(r);this.result=null!==o&&o!==a}else if(e.indexOf(a)>0||e.indexOf(l)>0){let t=a;e.indexOf(l)>0&&(t=l);let n=e.substring(0,e.indexOf(t)).trim(),r=e.substring(e.indexOf(t)+t.length).trim();n||(n="0"),r=r?r.replaceAll("'",""):"0";const o=Number(n),i=Number(r);this.isEQEmptyValue(o,t,i)?this.result=!0:this.result=null!==o&&o===i}}}class a extends r{constructor(e,t){super();const n="operator.date.ge",r="operator.date.le",o="operator.date.gt",i="operator.date.lt",a="operator.date.ne",s="operator.date.et";if(e.indexOf(n)>0){const r=n;let o=e.substring(0,e.indexOf(r)).trim(),i=e.substring(e.indexOf(r)+r.length).trim();t&&"DATE"===t&&o.indexOf(":")>0&&(o=o.substring(0,o.indexOf(":"))),t&&"DATE"===t&&i.indexOf(":")>0&&(i=i.substring(0,i.indexOf(":")));const a=new Date(o).getTime(),s=new Date(i).getTime();this.result=null!==a&&a>=s}else if(e.indexOf(r)>0){const n=r;let o=e.substring(0,e.indexOf(n)).trim(),i=e.substring(e.indexOf(n)+n.length).trim();t&&"DATE"===t&&o.indexOf(":")>0&&(o=o.substring(0,o.indexOf(":"))),t&&"DATE"===t&&i.indexOf(":")>0&&(i=i.substring(0,i.indexOf(":")));const a=new Date(o).getTime(),s=new Date(i).getTime();this.result=null!==a&&a<=s}else if(e.indexOf(o)>0){const n=o;let r=e.substring(0,e.indexOf(n)).trim(),i=e.substring(e.indexOf(n)+n.length).trim();t&&"DATE"===t&&r.indexOf(":")>0&&(r=r.substring(0,r.indexOf(":"))),t&&"DATE"===t&&i.indexOf(":")>0&&(i=i.substring(0,i.indexOf(":")));const a=new Date(r).getTime(),s=new Date(i).getTime();this.result=null!==a&&a>s}else if(e.indexOf(i)>0){const n=i;let r=e.substring(0,e.indexOf(n)).trim(),o=e.substring(e.indexOf(n)+n.length).trim();t&&"DATE"===t&&r.indexOf(":")>0&&(r=r.substring(0,r.indexOf(":"))),t&&"DATE"===t&&o.indexOf(":")>0&&(o=o.substring(0,o.indexOf(":")));const a=new Date(r).getTime(),s=new Date(o).getTime();this.result=null!==a&&a<s}else if(e.indexOf(a)>0){const n=a;let r=e.substring(0,e.indexOf(n)).trim(),o=e.substring(e.indexOf(n)+n.length).trim();t&&"DATE"===t&&r.indexOf(":")>0&&(r=r.substring(0,r.indexOf(":"))),t&&"DATE"===t&&o.indexOf(":")>0&&(o=o.substring(0,o.indexOf(":")));const i=new Date(r).getTime(),s=new Date(o).getTime();this.result=null!==i&&i!==s}else if(e.indexOf(s)>0){const n=s;let r=e.substring(0,e.indexOf(n)).trim(),o=e.substring(e.indexOf(n)+n.length).trim();t&&"DATE"===t&&r.indexOf(":")>0&&(r=r.substring(0,r.indexOf(":"))),t&&"DATE"===t&&o.indexOf(":")>0&&(o=o.substring(0,o.indexOf(":")));const i=new Date(r).getTime(),a=new Date(o).getTime();this.isEQEmptyValue(i,n,a)?this.result=!0:this.result=null!==i&&i===a}}}class s extends r{constructor(e){super();const t="operator.text.neq",n="operator.text.eq";if(e.indexOf(t)>0){const n=t,r=e.substring(0,e.indexOf(n)).trim(),o=e.substring(e.indexOf(n)+n.length).trim();this.result=null!==r&&r!==o}else if(e.indexOf(n)>0){const t=n,r=e.substring(0,e.indexOf(t)).trim(),o=e.substring(e.indexOf(t)+t.length).trim();this.isEQEmptyValue(r,t,o)?this.result=!0:this.result=null!==r&&r===o}else if(e.indexOf("operator.text.contain.not")>0){const t="operator.text.contain.not",n=e.substring(0,e.indexOf(t)).trim(),r=e.substring(e.indexOf(t)+t.length).trim();this.result=null!==n&&!n.includes(r)}else if(e.indexOf("operator.text.contain")>0){const t="operator.text.contain",n=e.substring(0,e.indexOf(t)).trim(),r=e.substring(e.indexOf(t)+t.length).trim();this.isEQEmptyValue(n,t,r)?this.result=!0:this.result=null!==n&&n.includes(r)}}}function l(e){switch(e){case"TEXT":return s;case"DOUBLE":case"FLOAT":return o;case"INTEGER":case"LONG":return i;case"DATE":case"TIME":return a;default:return s}}},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1),n(1);var o=r(n(554)),i=r(n(772)),a=r(n(774));o.default.install=function(e){e.component(o.default.name,o.default),e.component(a.default.name,a.default)};var s={WorkflowEditor:o.default,WorkflowHistory:a.default,wfEditorStore:i.default};t.default=s},function(e,t,n){"use strict";n.r(t);var r=n(294),o=n(93);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(771);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"37937af4",null);t.default=s.exports},function(e,t,n){var r=n(36),o=n(38),i=n(375);e.exports=function(e){return function(t,n,a){var s,l=r(t),c=o(l.length),u=i(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){e.exports=n(77)("native-function-to-string",Function.toString)},function(e,t,n){var r=n(67)("meta"),o=n(27),i=n(35),a=n(26).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(24)((function(){return l(Object.preventExtensions({}))})),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return c&&d.NEED&&l(e)&&!i(e,r)&&u(e),e}}},function(e,t,n){var r=n(64),o=n(254),i=n(255);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,s=n(e),l=i.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,n){var r=n(26),o=n(21),i=n(64);e.exports=n(28)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(561);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(27),o=n(378),i=n(16)("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var r=n(80),o=n(254),i=n(21),a=n(17).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(256),o=n(68),i=n(79),a={};n(39)(a,n(16)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(35),o=n(53),i=n(251)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(27),o=n(567).set;e.exports=function(e,t,n){var i,a=t.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(e,i),e}},function(e,t,n){var r=n(27),o=n(21),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(48)(Function.call,n(69).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){var r=n(22),o=n(54),i=n(24),a=n(569),s="["+a+"]",l=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),u=function(e,t,n){var o={},s=i((function(){return!!a[e]()||"​…"!="​…"[e]()})),l=o[e]=s?t(d):a[e];n&&(o[n]=l),r(r.P+r.F*s,"String",o)},d=u.trim=function(e,t){return e=String(o(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(c,"")),e};e.exports=u},function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(48),o=n(385),i=n(386),a=n(21),s=n(38),l=n(387),c={},u={};(t=e.exports=function(e,t,n,d,f){var p,h,m,v,g=f?function(){return e}:l(e),b=r(n,d,t?2:1),w=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(i(g)){for(p=s(e.length);p>w;w++)if((v=t?b(a(h=e[w])[0],h[1]):b(e[w]))===c||v===u)return v}else for(m=g.call(e);!(h=m.next()).done;)if((v=o(m,b,h.value,t))===c||v===u)return v}).BREAK=c,t.RETURN=u},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(17),o=n(389).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==n(37)(a);e.exports=function(){var e,t,n,c=function(){var r,o;for(l&&(r=a.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(c)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(c)}}else n=function(){o.call(r,c)};else{var d=!0,f=document.createTextNode("");new i(c).observe(f,{characterData:!0}),n=function(){f.data=d=!d}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(17).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){var r=n(21),o=n(27),i=n(390);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){var r=n(34);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(17),o=n(26),i=n(28),a=n(16)("species");e.exports=function(e){var t=r[e];i&&t&&!t[a]&&o.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t,n){n(28)&&"g"!=/./g.flags&&n(26).f(RegExp.prototype,"flags",{configurable:!0,get:n(259)})},function(e,t,n){var r=n(27),o=n(37),i=n(16)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){"use strict";var r=n(262);n(22)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t,n){n(253)("getOwnPropertyNames",(function(){return n(379).f}))},function(e,t,n){e.exports={default:n(584),__esModule:!0}},function(e,t,n){n(585),e.exports=n(43).Object.getPrototypeOf},function(e,t,n){var r=n(82),o=n(394);n(395)("getPrototypeOf",(function(){return function(e){return o(r(e))}}))},function(e,t,n){var r=n(587);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===o}(e)}(e)};var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e,t){var n;return t&&!0===t.clone&&r(e)?s((n=e,Array.isArray(n)?[]:{}),e,t):e}function a(e,t,n){var o=e.slice();return t.forEach((function(t,a){void 0===o[a]?o[a]=i(t,n):r(t)?o[a]=s(e[a],t,n):-1===e.indexOf(t)&&o.push(i(t,n))})),o}function s(e,t,n){var o=Array.isArray(t);return o===Array.isArray(e)?o?((n||{arrayMerge:a}).arrayMerge||a)(e,t,n):function(e,t,n){var o={};return r(e)&&Object.keys(e).forEach((function(t){o[t]=i(e[t],n)})),Object.keys(t).forEach((function(a){r(t[a])&&e[a]?o[a]=s(e[a],t[a],n):o[a]=i(t[a],n)})),o}(e,t,n):i(t,n)}s.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return s(e,n,t)}))};var l=s;e.exports=l},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(269),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(){return function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return 1===n.length&&"object"===(0,i.default)(n[0])&&(n=n[0]),n&&n.hasOwnProperty||(n={}),e.replace(s,(function(t,r,o,i){var s=void 0;return"{"===e[i-1]&&"}"===e[i+t.length]?o:null==(s=(0,a.hasOwn)(n,o)?n[o]:null)?"":s}))}};var a=n(616);var s=/(%|)\{([0-9a-zA-Z_]+)\}/g},function(e,t,n){e.exports={default:n(591),__esModule:!0}},function(e,t,n){n(592),n(601),e.exports=n(274).f("iterator")},function(e,t,n){"use strict";var r=n(593)(!0);n(398)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(270),o=n(264);e.exports=function(e){return function(t,n){var i,a,s=String(o(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):a-56320+(i-55296<<10)+65536}}},function(e,t,n){"use strict";var r=n(400),o=n(86),i=n(273),a={};n(56)(a,n(60)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(57),o=n(85),i=n(87);e.exports=n(58)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(402);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(59),o=n(598),i=n(599);e.exports=function(e){return function(t,n,a){var s,l=r(t),c=o(l.length),u=i(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(270),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(270),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(44).document;e.exports=r&&r.documentElement},function(e,t,n){n(602);for(var r=n(44),o=n(56),i=n(271),a=n(60)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var c=s[l],u=r[c],d=u&&u.prototype;d&&!d[a]&&o(d,a,c),i[c]=i.Array}},function(e,t,n){"use strict";var r=n(603),o=n(604),i=n(271),a=n(59);e.exports=n(398)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(606),__esModule:!0}},function(e,t,n){n(607),n(613),n(614),n(615),e.exports=n(43).Symbol},function(e,t,n){"use strict";var r=n(44),o=n(49),i=n(58),a=n(267),s=n(399),l=n(608).KEY,c=n(72),u=n(266),d=n(273),f=n(84),p=n(60),h=n(274),m=n(275),v=n(609),g=n(610),b=n(85),w=n(71),y=n(82),_=n(59),k=n(268),O=n(86),T=n(400),x=n(611),E=n(612),S=n(403),F=n(57),P=n(87),C=E.f,M=F.f,R=x.f,I=r.Symbol,D=r.JSON,$=D&&D.stringify,A=p("_hidden"),j=p("toPrimitive"),N={}.propertyIsEnumerable,L=u("symbol-registry"),V=u("symbols"),U=u("op-symbols"),B=Object.prototype,H="function"==typeof I&&!!S.f,W=r.QObject,z=!W||!W.prototype||!W.prototype.findChild,q=i&&c((function(){return 7!=T(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=C(B,t);r&&delete B[t],M(e,t,n),r&&e!==B&&M(B,t,r)}:M,J=function(e){var t=V[e]=T(I.prototype);return t._k=e,t},G=H&&"symbol"==typeof I.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof I},K=function(e,t,n){return e===B&&K(U,t,n),b(e),t=k(t,!0),b(n),o(V,t)?(n.enumerable?(o(e,A)&&e[A][t]&&(e[A][t]=!1),n=T(n,{enumerable:O(0,!1)})):(o(e,A)||M(e,A,O(1,{})),e[A][t]=!0),q(e,t,n)):M(e,t,n)},Y=function(e,t){b(e);for(var n,r=v(t=_(t)),o=0,i=r.length;i>o;)K(e,n=r[o++],t[n]);return e},X=function(e){var t=N.call(this,e=k(e,!0));return!(this===B&&o(V,e)&&!o(U,e))&&(!(t||!o(this,e)||!o(V,e)||o(this,A)&&this[A][e])||t)},Q=function(e,t){if(e=_(e),t=k(t,!0),e!==B||!o(V,t)||o(U,t)){var n=C(e,t);return!n||!o(V,t)||o(e,A)&&e[A][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=R(_(e)),r=[],i=0;n.length>i;)o(V,t=n[i++])||t==A||t==l||r.push(t);return r},ee=function(e){for(var t,n=e===B,r=R(n?U:_(e)),i=[],a=0;r.length>a;)!o(V,t=r[a++])||n&&!o(B,t)||i.push(V[t]);return i};H||(s((I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(U,n),o(this,A)&&o(this[A],e)&&(this[A][e]=!1),q(this,e,O(1,n))};return i&&z&&q(B,e,{configurable:!0,set:t}),J(e)}).prototype,"toString",(function(){return this._k})),E.f=Q,F.f=K,n(404).f=x.f=Z,n(276).f=X,S.f=ee,i&&!n(83)&&s(B,"propertyIsEnumerable",X,!0),h.f=function(e){return J(p(e))}),a(a.G+a.W+a.F*!H,{Symbol:I});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)p(te[ne++]);for(var re=P(p.store),oe=0;re.length>oe;)m(re[oe++]);a(a.S+a.F*!H,"Symbol",{for:function(e){return o(L,e+="")?L[e]:L[e]=I(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in L)if(L[t]===e)return t},useSetter:function(){z=!0},useSimple:function(){z=!1}}),a(a.S+a.F*!H,"Object",{create:function(e,t){return void 0===t?T(e):Y(T(e),t)},defineProperty:K,defineProperties:Y,getOwnPropertyDescriptor:Q,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=c((function(){S.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return S.f(y(e))}}),D&&a(a.S+a.F*(!H||c((function(){var e=I();return"[null]"!=$([e])||"{}"!=$({a:e})||"{}"!=$(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(w(t)||void 0!==e)&&!G(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,$.apply(D,r)}}),I.prototype[j]||n(56)(I.prototype,j,I.prototype.valueOf),d(I,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){var r=n(84)("meta"),o=n(71),i=n(49),a=n(57).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(72)((function(){return l(Object.preventExtensions({}))})),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return c&&d.NEED&&l(e)&&!i(e,r)&&u(e),e}}},function(e,t,n){var r=n(87),o=n(403),i=n(276);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,s=n(e),l=i.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,n){var r=n(402);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(59),o=n(404).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){var r=n(276),o=n(86),i=n(59),a=n(268),s=n(49),l=n(396),c=Object.getOwnPropertyDescriptor;t.f=n(58)?c:function(e,t){if(e=i(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t){},function(e,t,n){n(275)("asyncIterator")},function(e,t,n){n(275)("observable")},function(e,t,n){"use strict";t.__esModule=!0,t.isEmpty=t.isEqual=t.arrayEquals=t.looseEqual=t.capitalize=t.kebabCase=t.autoprefixer=t.isFirefox=t.isEdge=t.isIE=t.coerceTruthyValueToArray=t.arrayFind=t.arrayFindIndex=t.escapeRegexpString=t.valueEquals=t.generateId=t.getValueByPath=void 0;var r=l(n(617)),o=l(n(620)),i=l(n(269));t.noop=function(){},t.hasOwn=function(e,t){return c.call(e,t)},t.toObject=function(e){for(var t={},n=0;n<e.length;n++)e[n]&&u(t,e[n]);return t},t.getPropByPath=function(e,t,n){for(var r=e,o=(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),i=0,a=o.length;i<a-1&&(r||n);++i){var s=o[i];if(!(s in r)){if(n)throw new Error("please transfer a valid prop path to form item!");break}r=r[s]}return{o:r,k:o[i],v:r?r[o[i]]:null}},t.rafThrottle=function(e){var t=!1;return function(){for(var n=this,r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];t||(t=!0,window.requestAnimationFrame((function(){e.apply(n,o),t=!1})))}},t.objToArray=function(e){if(Array.isArray(e))return e;return h(e)?[]:[e]};var a=l(n(15)),s=n(622);function l(e){return e&&e.__esModule?e:{default:e}}var c=Object.prototype.hasOwnProperty;function u(e,t){for(var n in t)e[n]=t[n];return e}t.getValueByPath=function(e,t){for(var n=(t=t||"").split("."),r=e,o=null,i=0,a=n.length;i<a;i++){var s=n[i];if(!r)break;if(i===a-1){o=r[s];break}r=r[s]}return o};t.generateId=function(){return Math.floor(1e4*Math.random())},t.valueEquals=function(e,t){if(e===t)return!0;if(!(e instanceof Array))return!1;if(!(t instanceof Array))return!1;if(e.length!==t.length)return!1;for(var n=0;n!==e.length;++n)if(e[n]!==t[n])return!1;return!0},t.escapeRegexpString=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var d=t.arrayFindIndex=function(e,t){for(var n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},f=(t.arrayFind=function(e,t){var n=d(e,t);return-1!==n?e[n]:void 0},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!a.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!a.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!a.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==(void 0===e?"undefined":(0,i.default)(e)))return e;var t=["ms-","webkit-"];return["transform","transition","animation"].forEach((function(n){var r=e[n];n&&r&&t.forEach((function(t){e[t+n]=r}))})),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,s.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var n=(0,s.isObject)(e),r=(0,s.isObject)(t);return n&&r?(0,o.default)(e)===(0,o.default)(t):!n&&!r&&String(e)===String(t)}),p=t.arrayEquals=function(e,t){if(t=t||[],(e=e||[]).length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!f(e[n],t[n]))return!1;return!0},h=(t.isEqual=function(e,t){return Array.isArray(e)&&Array.isArray(t)?p(e,t):f(e,t)},t.isEmpty=function(e){if(null==e)return!0;if("boolean"==typeof e)return!1;if("number"==typeof e)return!e;if(e instanceof Error)return""===e.message;switch(Object.prototype.toString.call(e)){case"[object String]":case"[object Array]":return!e.length;case"[object File]":case"[object Map]":case"[object Set]":return!e.size;case"[object Object]":return!(0,r.default)(e).length}return!1})},function(e,t,n){e.exports={default:n(618),__esModule:!0}},function(e,t,n){n(619),e.exports=n(43).Object.keys},function(e,t,n){var r=n(82),o=n(87);n(395)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){e.exports={default:n(621),__esModule:!0}},function(e,t,n){var r=n(43),o=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return o.stringify.apply(o,arguments)}},function(e,t,n){"use strict";t.__esModule=!0,t.isDefined=t.isUndefined=t.isFunction=void 0;var r=i(n(269));t.isString=function(e){return"[object String]"===Object.prototype.toString.call(e)},t.isObject=function(e){return"[object Object]"===Object.prototype.toString.call(e)},t.isHtmlElement=function(e){return e&&e.nodeType===Node.ELEMENT_NODE};var o=i(n(15));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(e){return e&&"[object Function]"==={}.toString.call(e)};"object"===("undefined"==typeof Int8Array?"undefined":(0,r.default)(Int8Array))||!o.default.prototype.$isServer&&"function"==typeof document.childNodes||(t.isFunction=a=function(e){return"function"==typeof e||!1}),t.isFunction=a;t.isUndefined=function(e){return void 0===e},t.isDefined=function(e){return null!=e}},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,o.default)();return e.g={x:200,y:150,width:80,height:40},{attr:{name:i.default.t("workflowEditor.task.newProcess"),code:""},properties:{basicProperties:{admin:"",formVersion:1,formCode:"",processTypeCode:"",systemCode:"",creator:"",customType:"",branchCode:""},permissionSettings:{viewFlowHistory:"",viewSubscribeResult:"",viewVoteResult:""},reminder:{dueDate:1,dueTimeUnit:"day",repeat:1,containTransferUser:!1,containNoticeUser:!1,remindType:"mail",timeUnit:"day",remindTimes:1,noticeType:"",noticeUserCondition:"",transferUserCondition:""},parameterSettings:{doTask:{url:"",parameterName:""},viewForm:{url:"",parameterName:""},startProcess:{url:"",parameterName:"",parameterValue:""},handleEmergency:{url:"",parameterName:""}},events:{event:[]},variables:{variable:[]}},start:{attr:{id:"start"},g:{x:50,y:50,width:48,height:48}},humanTask:e,end:{attr:{id:"end"},g:{x:500,y:300,width:48,height:48}}}};var o=r(n(405)),i=r(n(29))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={workflowEditorPublicModel:{add:"Add",insert:"Insert",delete:"Delete",viewConditions:"View Conditions",agree:"Agree",disagree:"Disagree",andOr:"And / Or",mail:"Mail",message:"Message",App:"App",dingding:"Dingding",determine:"Determine",cancel:"Cancel",choice:"Choice",empty:"Empty",save:"Save",export:"Export",open:"Open",return:"Return",flowChart:"Flow Chart",close:"Close",selectPage:"Select Page",search:"Search",adminSave:"Admin Save",tipTitle:"Tip",i18nSet:"I18n Setting",i18nZh:"Chinese",i18nEn:"English",i18nKey:"I18n Key",subprocessTitle:"Subprocess History"},workflowEditorMessage:{requiredAndMustBeADate:"Required And Must Be A Date",requiredAndMustBeAnInteger:"Required And Must Be An Integer",requiredAndMustBeDecimal:"Required And Must Be Decimal",mustFill:"Must Fill",recordLine:"Record Line {row}",pageRecordLine:"Record in row {row} of page {pageNum}",currentHandlingPersonnel:"Current Handling Personnel",pleaseSelect:"Please Select",pleaseSelectARow:"Please Select A Row",conditionsHaveNotBeenSet:"Conditions Have Not Been Set",viewConditions:"View Conditions",fieldSettings:"Field Settings",valueSetting:"Value Setting",pleaseEnterContent:"Please Enter Content",theFieldNameOrFieldValueInLineCannotBeEmpty:"The Field Name Or Field Value In Line {row} Cannot Be Empty",fieldNameCannotBeEmpty:"Field Name Cannot Be Empty",fieldValueCannotBeEmpty:"Field Value Cannot Be Empty",pleaseEnterASubject:"Please Enter A Subject",selectStandardFields:"Select Standard Fields",pleaseEnterTheRoleName:"Please Enter The Role Name",queryResultIsEmpty:"Query Result Is Empty",selectRole:"Select Role",enterText:"Enter Text",selectField:"Select Field",pleaseSelectPersonnel:"Please Select Personnel",pleaseSelectAValue:"Please Select A Value",pleaseSelectAValueInTheCurrentTab:"Please Select A Value In The Current Tab",variableNameCannotBeEmpty:"Variable Name Cannot Be Empty",variableValueCannotBeEmpty:"Variable Value Cannot Be Empty",variableNameOrValueOnLineCannotBeEmpty:"Variable Name Or Value On Line {row} Cannot Be Empty",whenThereAreMultipleManagers:"When There Are Multiple Managers",duplicateOperationTypeWithLinePleaseReselect:"Duplicate Operation Type With Line {row}, Please Reselect",theOperationTypeOrNameInLineIsEmpty:"The Operation Type Or Name In Line {row} Is Empty",readOnly:"Read Only",pleaseEnterFieldName:"Please Enter Field Name",dataInLineCannotBeEmpty:"{data1} Or {data2} In Line {row} Cannot Be Empty",dataCannotBeEmpty:"{data} Cannot Be Empty",theStartAndEndOfTheFlowDirectionCannotBeTheSame:"The Start And End Of The Flow Direction Cannot Be The Same",onlyConditionJudgmentBranchAndManualJudgmentCanHaveMultipleOutboundFlows:"Only Condition Judgment, Branch And Manual Judgment Can Have Multiple Outbound Flows",startAndEndNodesCannotBeConnectedDirectly:"Start And End Nodes Cannot Be Connected Directly",endNodeCannotHaveOutFlowDirection:"End Node Cannot Have Out Flow Direction",itIsTheSameAsTheExistingLink:"It Is The Same As The Existing Link: {name}",updateSuccessful:"Update Successful",savedSuccessfully:"Saved Successfully",exportSucceeded:"Export Succeeded",pleaseSelectRole:"Please select role",subTableMustInputDatas:"The [{subtable}] subtable must enter data",pleaseEnterTheNameOrCode:"Please Enter The Name Or Describe",updateVersionSuccessful:"Version updated successfully",addVersionSuccessful:"Version added successfully",adminSaveTip:"The version must be added in the following cases:",adminSaveTip1:"1.The process name or code has been modified",adminSaveTip2:"2.The node name or code has been modified",adminSaveTip3:"3.Added node or flow direction",adminSaveTip4:"4.Node or flow direction removed",adminSaveTip5:'Please select "Add Version" or "Update Current Version"?',updateVersion:"Update Current Version",addVersion:"Add Version",pleaseInputCode:"Please input the code first, and then do the international configuration",blankFieldNameOrValue:"Blank Field Name Or Value"},workflowEditor:{main:{tacheType:"Tache Type",straightLine:"Straight Line",curveLine:"Curve Line",brokenLine:"Broken Line"},common:{remove:"Remove",attribute:"Attribute",fieldName:"Field Name(*)",operator:"Operator",value:"Value(*)",name:"Name",fieldValue:"Field Value",separator:"Separator",fillInMethod:"Fill In Method",cover:"Cover",append:"Append",insertToFront:"Insert To Front",fillInTime:"Fill In Time",fillInBeforeHandling:"Fill In Before Handling",fillInAfterHandling:"Fill In After Handling",type:"Type(*)",user:"User",role:"Role",department:"Department",workgroup:"Workgroup",selectFormField:"Select Form Field",notificationMethod:"Notification Method",addressee:"Addressee",theme:"Theme",content:"Content",notifyPersonnel:"Notify Personnel",selectusers:"Select Users",selectDepartment:"Select Department",selectTeam:"Select Team",selectRole:"Select Role",organizationStructure:"Organization Structure",formField:"Form Field",variableName:"Variable Name",variableValue:"Variable Value",selectField:"Select Field"},process:{processInitiator:"Process Initiator",processInitiatorRole:"Process Initiator Role",processInitiatorDepartment:"ProcessInitiator Department",processInitiatorSuperiorDepartment:"Process Initiator Superior Ddepartment",processInitiatorTopDepartment:"Process Initiator Top Department",processInitiatorWorkingGroup:"Process Initiator Working Group",nameOfTheDirectSuperiorOfTheProcessInitiator:"Name Of The Direct Superior Of The Process Initiator",processInitiatorsDirectSuperiorDepartment:"Process initiator`s Direct Superior Department",directSuperiorRoleOfProcessInitiator:"Direct Superior Role Of Process Initiator",ProcessInitiatorsImmediateSuperiorWorkingGroup:"Process Initiator`s Immediate Superior Working Group",nameOfCurrentHandler:"Name Of Current Handler",currentHandlerRole:"Current Handler Role",currentHandlerDepartment:"Current Handler Department",currentHandlerSuperiorDepartment:"Current Handler`s Superior Department",topDepartmentOfCurrentHandler:"Top Department Of current Handler",currentHandlerWorkingGroup:"Current Handler Working Group",nameOfTheImmediateSuperiorOfTheCurrentHandler:"Name Of The Immediate Superior Of The Current Handler",currentHandlerDirectSuperiorDepartment:"Current handler`s Direct Superior Department",currentManagerDirectSuperiorRole:"Current Manager`s Direct Superior Role",workingGroupDirectlyUnderTheCurrentHandler:"Working Group Directly Under The Current Handler",topDepartments:"Top Departments",approvalResults:"Approval Results",totalNnumberOfPersonsWhoDisagreeWithTheCountersignature:"Total Number O Persons Who Disagree With The Countersignature",totalNumberOfCountersignedAndAgreedPersonnel:"Total Number Of Countersigned And Agreed Personnel",percentageOfPersonsWhoDisagreeWithTheCountersignature:"Percntage Of Persons Who Disagree With The Countersignature",percentageOfCountersignedAndAgreedPersonnel:"Percentage Of Countersigned And Agreed Personnel",percentageOfAbstentions:"Percentage Of Abstentions",percentageOfVotesAgainst:"Percentage Of Votes Against",percentageOfAffirmativeVotes:"Percentage Of Affirmative Votes",totalNumberOfAbstentions:"Total Number Of Abstentions",totalVotesAgainst:"Total Votes Against",totalNumberOfAffirmativeVotes:"Total Number Of Affirmative Votes",standardFields:"Standard Fields",perhaps:"Perhaps",also:"Also",greaterThan:"Greater Than",lessThan:"Less Than",beEqualTo:"Be Equal To",notGreaterThan:"Not Greater Than",notLessThan:"Not Less Than",notEqualTo:"Not Equal To",contain:"Contain",notIncluded:"Not Included",laterThan:"Later Than",earlierThan:"Earlier Than",noLaterThan:"No Later Than",noEarlierThan:"No Earlier Than",handlingTimeOfThisLink:"Handling Time Of This Link",handlerIDOfThisLink:"Handler ID Of This Link",currentHandlerPrincipalDepartmentID:"Current Handler Principal Department ID",iDOfTheImmediateSuperiorOfTheCurrentHandler:"ID Of The Immediate Superior Of The Current Handler",iDOfTheSuperiorDepartmentDirectlyUnderTheCurrentHandler:"ID Of The Superior Department Directly Under The Current Handler",loginNameOfTheHandlerInThisLink:"Login Name Of The Handler In This Link",NameOfCurrentHandler:"Name Of Current Handler",CurrentHandlerDepartment:"Current Handler Department",CurrentHandlerDepartmentID:"Current Handler Department ID",CurrentManagersPrincipalDepartment:"Current Manager`s Principal Department",iDOfSsuperiorDepartmentOfCurrentHandler:"ID Of Superior Department Of Current Handler",CurrentHandlersSuperiorDepartment:"Current Handler`s Superior Department",TopDepartmentOfCurrentHandler:"Top Department Of Current Handler",TopDepartmentIDOfCurrentHandler:"Top Department ID Of Current Handler",CurrentHandlerRole:"Current Handler Role",CurrentHandlerRoleID:"Current Handler Role ID",CurrentHandlerWorkingGroupID:"Current Handler Working Group ID",LoginNameOfTheImmediateSuperiorOfTheCurrentHandler:"Login Name Of The Immediate Superior Of The Current Handler",currentHandlersDirectSuperiorDepartment:"Current handler`s Direct Superior Department",currentManagersDirectSuperiorDepartment:"Current Manager`s Direct Superior Department",currentManagersDirectSuperiorRole:"Current manager`s Direct Superior Role",currentHandlersDirectSuperiorRoleID:"Current Handler`s Direct Superior Role ID",currentManagersDirectSuperiorWork:"Current Manager`s Direct Superior Work",iDOfTheWorkingGroupDirectlyUnderTheCurrentHandler:"ID Of The Working Group Directly Under The Current Handler",operationsPerformedInThisPhase:"Operations Performed In This Phase",handlerIDOfThePreviousLink:"Handler ID Of The Previous Link",lastLinkHandlerLogin:"Last Link Handler Login",nameOfHandlerInThePreviousLink:"Name Of Handler In The Previous Link",currentManagersIdDirectlyUnderTheSuperior:"Current Manager`s Id Directly Under The Ssuperior",appointmentOfHandlerInThePreviousLink:"Appointment Of Handler In The Previous Link",personSpecifiedInFormField:"Person Specified In Form Field",filterByCriteria:"Filter by Criteria",additionalConditions:"Additional Conditions",handlingYyThePersonnelOfTheDepartmentOfTheInitiator:"Handling By The Personnel Of The Department Of The Initiator",personnelOfTheDepartmentWhereTheInitiatorWorksParticipateInTheHandling:"Personnel Of The Department Where The Initiator Works Participate In The Handling",selectSpecificHandler:"Select Specific Handler",selectOneFromDept:"Only one person is required to handle the same department",generateOneInstanceFromDept:"Generate an instance from the same department",selectionMethod:"Selection Method",manualSelection:"Manual Selection",autoSelect:"Auto Select",callbackURL:"Callback URL",cannotBeEmpty:"Cannot Be Empty",selectURL:"Select URL",fieldName:"Field Name",processAdministrator:"Process Administrator",currentHandler:"Current Handler",allHandlingPersonnel:"All Handling Personnel",designatedPersonnel:"Designated Personnel",listOfDesignatedPersons:"List Of Designated Persons",processName:"Process Name",processCode:"Process Code",creater:"Creater",correspondingForm:"Corresponding Form",processType:"Process Type",system:"System",affiliatedBranch:"Affiliated Branch",customCategory:"Custom Category",initiationProcess:"Initiation Process",deleteProcess:"Delete Process",cancelProcess:"Cancel Process",endProcess:"End Process",pauseProcess:"Pause Process",continueTheProcess:"Continue The Process",jumpLink:"Jump Link",modificationHandler:"Modification Handler",addHandler:"Add Handler",decreaseOofHandler:"Decrease Of Handler",appointedTask:"Appointed Task",returnTask:"Return Task",retrieveTask:"Retrieve Task",processTaskParameterSettings:"Process Task Parameter Settings",uRLForProcessingTask:"URL For Processing Task",parametersForReceivingTaskID:"Parameters For Receiving Task ID",viewFormParameterSettings:"View Form Parameter Settings",viewTheURLOfTheForm:"View The URL Of The Form",parametersOfReceivingEntityID:"Parameters Of Receiving Entity ID",emergencyTreatmentParameterSetting:"Emergency Treatment Parameter Setting",uRLOfEmergencyHandling:"URL Of Emergency Handling",initiateProcessParameterSettings:"Initiate Process Parameter Settings",uRLOfTheInitiatingProcess:"URL Of The Initiating Process",parametersForReceivingProcessName:"Parameters For Receiving Process Name",customParameterValue:"Custom Parameter Value",ViewFlowHistoryPersonnel:"View Flow History Personnel",ViewCountersignatureResultPersonnel:"View Countersignature Result Personnel",ViewVotingResultsBy:"View Voting Results By",name:"Name",code:"Code",subprocess:"Subprocess",transferValueFromMainFormToSubForm:"Transfer Value From Main Form To Sub Form",fieldsOfTheMainForm:"Fields Of The Main Form",fieldsOfSubform:"Fields Of Subform",subformReturnsResultsToMainForm:"Subform Returns Results To Main Form",eventsTriggeredBeforeStartingASubprocess:"Events Triggered Before Starting A Subprocess",triggerSubprocessEndEvent:"Trigger Subprocess End Event",setTheHandlerOfTheFirstPhaseOfTheSubProcess:"Set The Handler Of The First Phase Of The Sub Process",keepTheHandlerUnchangedWhenTheTargetLinkIsHandledRepeatedly:"Keep The Handler Unchanged When The Target Link Is Handled Repeatedly",branchingCondition:"Branching Condition",processProperties:"Process Properties",basicProperties:"Basic Properties",permissionSettings:"Permission Settings",notificationSettings:"Notification Settings",sendNotificationAfterProcessEnds:"Send Notification After Process Ends",reminderSettings:"Reminder Settings",parameterSsetting:"Parameter Setting",event:"Event",processVariables:"Process Variables",propertiesOfSubprocesses:"Properties Of Subprocesses",settingOfHandler:"Setting Of Handler",eventProcessing:"Event Processing",sponsorsImmediateSuperior:"Sponsor`s Immediate Superior",sponsorsSuperiorDepartment:"Sponsor`s Superior Department",sponsorTopDepartment:"Sponsor Top Department",superiorDepartmentDirectlyUnderTheInitiator:"Superior Department Directly Under The Initiator",sponsorsImmediateSuperiorWorkingGroup:"Sponsor`s Immediate Superior Working Group",lastLinkHandlerDepartment:"Last Link Handler Department",previousLinkHandlerSuperiorDepartment:"Previous Link Handler Superior Department",topDepartmentOfHandlerInThePreviousLink:"Top Department Of Handler In The Previous Link",previousLinkHandlersDirectSuperiorDepartment:"Previous Link Handler`s Direct Superior Department",previousLinkHandlerWorkingGroup:"Previous Link Handler Working Group",workingGroupDirectlyUnderTheManagerInThePreviousLink:"Working Group Directly Under The Manager In The Previous Link",getSubprocessEntityBean:"Get subprocess entity bean",getSubprocessEntityBeanPlaceholder:"The format is:xxxServiceImpl,for example:exampleServiceImpl",getSubprocessEntityBeanInfo:'The bean needs to implement the interface "tech.imatrix.wf.core.OnStartingSubProcess"',isNull:"Is Null",isNotNull:"Is Not Null",defaultMailTemplate:"Default Mail Template",trustTask:"Trust Task",subprocessIsSharedForm:"Main process and subprocess shared form"},task:{newCc:"New Cc",judge:"Judge",end:"End",branch:"Branch",manualJudgment:"Manual Judgment",newTask:"New Task",converge:"Converge",newProcess:"New Process",start:"Start",subprocess:"Subprocess",needToBeUrged:"Need To Be Urged",urgingMethod:"Urging Method",timeLimitForHandling:"Time Limit For Handling",day:"Day",urgingInterval:"Urging Interval",hour:"Hour",alwaysUrging:"Always Urging",limitedUrging:"Limited Urging",timesOfUrging:"Times Of Urging",includingHandoverPersonnel:"Including Handover Personnel",handoverPersonnel:"Handover Personnel",includeNotifyPeople:"Include Notify People",name:"Name",code:"Code",taskTitle:"Task Title",emailNotification:"Email Notification",handlingPage:"Handling Page",remarks:"Remarks",allowViews:"Allow Views",allowToViewCountersignatureResults:"Allow To View Countersignature Results",allowToViewVotingResults:"Allow To View Voting Results",allowToViewFlowHistory:"Allow To View Flow History",allowFormsToPrint:"Allow Forms To Print",attachmentAuthority:"Attachment Authority",downloadAttachment:"Download Attachment",bodyPermission:"Body Permission(Temporarily Closed)",additionalConditions:"Additional Conditions",setConditions:"Set Conditions",HandlingMethod:"Handling Method",editorial:"Editorial",approvalType:"Approval Type",countersign:"Countersign",voting:"Voting",anyOneCanHandleIt:"Any One Can Handle It",forAll:"For All",passRate:"Pass Rate",modifyOperationName:"Modify Operation Name",operationType:"Operation Type",visibleOrNot:"Visible Or Not",save:"Save",submission:"Submission",agree:"Agree",disagree:"Disagree",favor:"Favor",opposition:"Opposition",waiver:"Waiver",receive:"Receive",giveUp:"Give Up",additionalSignature:"Additional Signature",reductionOfSignature:"Reduction Of Signature",assignTask:"Assign Task",copyTask:"Copy Task",retrieveTask:"Retrieve Task",exportReport:"Export Report",readTask:"Read",selectEditableField:"Select Editable Field",optionalField:"Optional Field",selectedFields:"Selected Fields",editingMethod:"Editing Method",propertyName:"Property Name",condition:"Condition",nothing:"Nothing",beforeSubmission:"Before Submission",executionURL:"Execution URL",errorMessage:"Error Message",afterSubmission:"After Submission",allowEditingForms:"Allow Editing Forms",commentsAllowed:"Comments Allowed",commentsAreRequired:"Comments Are Required",deletePermission:"Delete Permission",addAttachment:"Add Attachment",deleteAttachment:"Delete Attachment",propertiesOfCCTask:"Properties Of CC Task",basicProperties:"Basic Properties",settingOfHandler:"Setting Of Handler",permissionSettings:"Permission Settings",attributeOfConditionJudgment:"Attribute Of Condition Judgment",allBranchFlows:"All Branch Flows",targetLink:"Target Link",propertiesOfBranches:"Properties Of Branches",attributesOfManualJudgment:"Attributes of manual Judgment",linkAttribute:"Link Attribute",autoFillInFieldSettings:"Auto Fill In Field Settings",reminderSettings:"Reminder Settings",eventProcessing:"Event Processing",linkVariable:"Link Variable",convergedProperties:"Converged Properties",humanTask:"Human Task",conditionJudgment:"Condition Judgment",cCtask:"CC Task",canItBeRejected:"Can It Be Rejected",selectMailTemplate:"Select Mail Template",selectTemplate:"Select Template"},transition:{flowProperties:"Flow Properties",basicProperties:"Basic Properties",notificationSettings:"Notification Settings",sendNotificationAfterFlow:"Send Notification After Flow",autoFillInFieldSettings:"Auto Fill In Field Settings",eventProcessing:"Event Processing",triggerFlowThroughEvent:"Trigger Flow Through Event",beanName:"Bean Name"},condition:{combinationCondition:"Combination Condition",currentUserId:"Current User ID",currentUserLogin:"Current User Login",currentUserName:"Current User Name",fillInManually:"Fill In Manually",environmentVariable:"Environment Variable",databaseFields:"Database fields",requestParameters:"Request Parameters",currentTime:"Current Time",currentDate:"Current Date",currentTransactor:"Current Transactor",currentTransactorName:"Current Transactor Name",currentTransactorId:"Current Transactor Id",currentTransactorMainDepartmentId:"Current Transactor Main Department Id",currentTransactorMainDepartment:"Current Transactor Main Department",currentTransactorRoleId:"Current Transactor Role Id",currentTransactorRole:"Current Transactor Role",currentTransactorWorkGroupId:"Current Transactor Work Group Id",currentTransactorWorkGroup:"Current Transactor Work Group",whenTheVariableIsEmpty:"When The Variable Is Empty",ignore11:"Ignore (1 = 1)",nonConformity:"Non Conformity (1 < > 1)",currentHandler:"Current Handler",currentTaskClient:"Current Task Client",currentAssignor:"Current Assignor",rowsCanBeAdded:"Rows Can Be Added",deleteLine:"Delete Line",modifiableHistoricalData:"Modifiable Historical Data",controlByField:"Control By Field",allReadOnly:"All Read Only",allRequired:"All Required",mainTableField:"Main Table Field",linkName:"Link Name",linkCode:"Link Code",taskFields:"Task Fields",systemParameter:"System Parameter",personnelScope:"Personnel Scope",mainTableConditions:"Main Table Conditions",subtableCondition:"Subtable Condition",accessControl:"Access Control",formBindingModel:"Form Binding Model",allFields:"All Fields"}}};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={workflowEditorPublicModel:{add:"添加",insert:"插入",delete:"删除",viewConditions:"查看条件",agree:"同意",disagree:"不同意",andOr:"并且/或者",mail:"邮件",message:"短信",App:"App",dingding:"钉钉",determine:"确定",cancel:"取消",choice:"选择",empty:"清空",save:"保存",export:"导出",open:"打开",return:"返回",flowChart:"流程图",close:"关闭",selectPage:"选择页面",search:"查询",adminSave:"管理员保存",tipTitle:"提示",i18nSet:"国际化设置",i18nZh:"中文",i18nEn:"英文",i18nKey:"国际化key",subprocessTitle:"子流程流转历史"},workflowEditorMessage:{requiredAndMustBeADate:"必填且必须为日期",requiredAndMustBeAnInteger:"必填且必须为整数",requiredAndMustBeDecimal:"必填且必须为小数",mustFill:"必填",recordLine:"第{row}行记录",pageRecordLine:"第{pageNum}页第{row}行记录",currentHandlingPersonnel:"当前办理人员",pleaseSelect:"请选择",pleaseSelectARow:"请选中一行",conditionsHaveNotBeenSet:"还未设置条件",viewConditions:"查看条件",fieldSettings:"字段设置",valueSetting:"值设置",pleaseEnterContent:"请输入内容",theFieldNameOrFieldValueInLineCannotBeEmpty:"第{row}行的字段名或者字段值不能为空",fieldNameCannotBeEmpty:"字段名不能为空",fieldValueCannotBeEmpty:"字段值不能为空",pleaseEnterASubject:"请输入主题",selectStandardFields:"选择标准字段",pleaseEnterTheRoleName:"请输入角色名称",queryResultIsEmpty:"查询结果为空",selectRole:"选择角色",enterText:"输入文字",selectField:"选择字段",pleaseSelectPersonnel:"请选择人员",pleaseSelectAValue:"请选择值",pleaseSelectAValueInTheCurrentTab:"请在当前页签中选中一个值",variableNameCannotBeEmpty:"变量名不能为空",variableValueCannotBeEmpty:"变量值不能为空",variableNameOrValueOnLineCannotBeEmpty:"第{row}行的变量名或者变量值不能为空",whenThereAreMultipleManagers:"多个办理人时",duplicateOperationTypeWithLinePleaseReselect:"与第{row}行的操作类型重复了,请重新选择",theOperationTypeOrNameInLineIsEmpty:"第{row}行的操作类型或者名称为空",readOnly:"只读",pleaseEnterFieldName:"请输入字段名",dataInLineCannotBeEmpty:"第{row}行的{data1}或{data2}不能为空",dataCannotBeEmpty:"{data}不能为空",theStartAndEndOfTheFlowDirectionCannotBeTheSame:"流向的起点和终点不能相同",onlyConditionJudgmentBranchAndManualJudgmentCanHaveMultipleOutboundFlows:"只有条件判断、分支以及人工判断才能有多条外出流向",startAndEndNodesCannotBeConnectedDirectly:"开始节点和结束节点不能直接相连",endNodeCannotHaveOutFlowDirection:"结束节点不能有外出流向",itIsTheSameAsTheExistingLink:"与已有环节:{name}的编码重复",updateSuccessful:"更新成功",savedSuccessfully:"保存成功",exportSucceeded:"导出成功",pleaseSelectRole:"请选择角色",subTableMustInputDatas:"[{subTable}] 子表必须录入数据",pleaseEnterTheNameOrCode:"请输入字段名或字段描述",updateVersionSuccessful:"成功更新版本",addVersionSuccessful:"成功增加版本",adminSaveTip:"有以下几种情况时必须增加版本:",adminSaveTip1:"1、修改了流程名称或编码",adminSaveTip2:"2、修改了节点名称或编码",adminSaveTip3:"3、增加了节点或流向",adminSaveTip4:"4、移除了节点或流向",adminSaveTip5:"请选择“增加版本”或“更新当前版本”?",updateVersion:"更新当前版本",addVersion:"增加版本",pleaseInputCode:"请先输入编码,再做国际化配置",blankFieldNameOrValue:"字段名或值有空白"},workflowEditor:{main:{tacheType:"环节类型",straightLine:"直线",curveLine:"曲线",brokenLine:"折线"},common:{remove:"移除",attribute:"属性",fieldName:"字段名(*)",operator:"操作符",value:"值(*)",name:"字段名",fieldValue:"字段值",separator:"分隔符",fillInMethod:"填写方式",cover:"覆盖",append:"追加",insertToFront:"插入到最前",fillInTime:"填写时间",fillInBeforeHandling:"办理前填写",fillInAfterHandling:"办理后填写",type:"类别(*)",user:"用户",role:"角色",department:"部门",workgroup:"工作组",selectFormField:"选择表单字段",notificationMethod:"通知方式",addressee:"收件人",theme:"主题",content:"内容",notifyPersonnel:"通知人员",selectusers:"选择用户",selectDepartment:"选择部门",selectTeam:"选择工作组",selectRole:"选择角色",organizationStructure:"组织结构",formField:"表单字段",variableName:"变量名",variableValue:"变量值",selectField:"选择字段"},process:{processInitiator:"流程发起人",processInitiatorRole:"流程发起人角色",processInitiatorDepartment:"流程发起人部门",processInitiatorSuperiorDepartment:"流程发起人上级部门",processInitiatorTopDepartment:"流程发起人顶级部门",processInitiatorWorkingGroup:"流程发起人工作组",nameOfTheDirectSuperiorOfTheProcessInitiator:"流程发起人直属上级姓名",processInitiatorsDirectSuperiorDepartment:"流程发起人直属上级部门",directSuperiorRoleOfProcessInitiator:"流程发起人直属上级角色",ProcessInitiatorsImmediateSuperiorWorkingGroup:"流程发起人直属上级工作组",nameOfCurrentHandler:"当前办理人姓名",currentHandlerRole:"当前办理人角色",currentHandlerDepartment:"当前办理人部门",currentHandlerSuperiorDepartment:"当前办理人上级部门",topDepartmentOfCurrentHandler:"当前办理人顶级部门",currentHandlerWorkingGroup:"当前办理人工作组",nameOfTheImmediateSuperiorOfTheCurrentHandler:"当前办理人直属上级姓名",currentHandlerDirectSuperiorDepartment:"当前办理人直属上级部门",currentManagerDirectSuperiorRole:"当前办理人直属上级角色",workingGroupDirectlyUnderTheCurrentHandler:"当前办理人直属上级工作组",topDepartments:"顶级部门",approvalResults:"审批结果",totalNnumberOfPersonsWhoDisagreeWithTheCountersignature:"会签不同意人员总数",totalNumberOfCountersignedAndAgreedPersonnel:"会签同意人员总数",percentageOfPersonsWhoDisagreeWithTheCountersignature:"会签不同意人员百分比",percentageOfCountersignedAndAgreedPersonnel:"会签同意人员百分比",percentageOfAbstentions:"弃权票百分比",percentageOfVotesAgainst:"反对票百分比",percentageOfAffirmativeVotes:"赞成票百分比",totalNumberOfAbstentions:"弃权票总数",totalVotesAgainst:"反对票总数",totalNumberOfAffirmativeVotes:"赞成票总数",standardFields:"标准字段",perhaps:"或者",also:"并且",greaterThan:"大于",lessThan:"小于",beEqualTo:"等于",notGreaterThan:"不大于",notLessThan:"不小于",notEqualTo:"不等于",contain:"包含",notIncluded:"不包含",laterThan:"晚于",earlierThan:"早于",noLaterThan:"不晚于",noEarlierThan:"不早于",handlingTimeOfThisLink:"本环节办理时间",handlerIDOfThisLink:"本环节办理人id",currentHandlerPrincipalDepartmentID:"当前办理人正职部门id",iDOfTheImmediateSuperiorOfTheCurrentHandler:"当前办理人直属上级id",iDOfTheSuperiorDepartmentDirectlyUnderTheCurrentHandler:"当前办理人直属上级正职部门id",loginNameOfTheHandlerInThisLink:"本环节办理人登录名",NameOfCurrentHandler:"当前办理人姓名",CurrentHandlerDepartment:"当前办理人部门",CurrentHandlerDepartmentID:"当前办理人部门id",CurrentManagersPrincipalDepartment:"当前办理人正职部门",iDOfSsuperiorDepartmentOfCurrentHandler:"当前办理人上级部门id",CurrentHandlersSuperiorDepartment:"当前办理人上级部门",TopDepartmentOfCurrentHandler:"当前办理人顶级部门",TopDepartmentIDOfCurrentHandler:"当前办理人顶级部门id",CurrentHandlerRole:"当前办理人角色",CurrentHandlerRoleID:"当前办理人角色id",CurrentHandlerWorkingGroupID:"当前办理人工作组id",LoginNameOfTheImmediateSuperiorOfTheCurrentHandler:"当前办理人直属上级登录名",currentHandlersDirectSuperiorDepartment:"当前办理人直属上级部门",currentManagersDirectSuperiorDepartment:"当前办理人直属上级正职部门",currentManagersDirectSuperiorRole:"当前办理人直属上级角色",currentHandlersDirectSuperiorRoleID:"当前办理人直属上级角色id",currentManagersDirectSuperiorWork:"当前办理人直属上级工作",iDOfTheWorkingGroupDirectlyUnderTheCurrentHandler:"当前办理人直属上级工作组id",operationsPerformedInThisPhase:"本环节执行的操作",handlerIDOfThePreviousLink:"上一环节办理人id",lastLinkHandlerLogin:"上一环节办理人登录名",nameOfHandlerInThePreviousLink:"上一环节办理人姓名",currentManagersIdDirectlyUnderTheSuperior:"当前办理人直属上级部门id",appointmentOfHandlerInThePreviousLink:"上一环节办理人指定",personSpecifiedInFormField:"表单字段中指定的人员",filterByCriteria:"按条件筛选",additionalConditions:"附加条件",handlingYyThePersonnelOfTheDepartmentOfTheInitiator:"发起人所在部门人员办理",personnelOfTheDepartmentWhereTheInitiatorWorksParticipateInTheHandling:"发起人所在部门人员参与办理",selectSpecificHandler:"选择具体办理人",selectOneFromDept:"同一部门仅需一人办理",generateOneInstanceFromDept:"同一部门生成一个实例",selectionMethod:"选择方式",manualSelection:"人工选择",autoSelect:"自动选择",callbackURL:"回调URL",cannotBeEmpty:"不能为空",selectURL:"选人URL",fieldName:"字段名称",processAdministrator:"流程管理员",currentHandler:"当前办理人",allHandlingPersonnel:"所有办理人员",designatedPersonnel:"指定人员",listOfDesignatedPersons:"指定人员列表",processName:"流程名称",processCode:"流程编码",creater:"创建人",correspondingForm:"对应表单",processType:"流程类型",system:"所属系统",affiliatedBranch:"所属分支机构",customCategory:"自定义类别",initiationProcess:"发起流程",deleteProcess:"删除流程",cancelProcess:"取消流程",endProcess:"结束流程",pauseProcess:"暂停流程",continueTheProcess:"继续流程",jumpLink:"跳转环节",modificationHandler:"修改办理人",addHandler:"增加办理人",decreaseOofHandler:"减少办理人",appointedTask:"指派任务",returnTask:"退回任务",retrieveTask:"取回任务",processTaskParameterSettings:"办理任务参数设置",uRLForProcessingTask:"办理任务的url",parametersForReceivingTaskID:"接收任务id的参数",viewFormParameterSettings:"查看表单参数设置",viewTheURLOfTheForm:"查看表单的url",parametersOfReceivingEntityID:"接收实体id的参数",emergencyTreatmentParameterSetting:"应急处理参数设置",uRLOfEmergencyHandling:"应急处理的url",initiateProcessParameterSettings:"发起流程参数设置",uRLOfTheInitiatingProcess:"发起流程的url",parametersForReceivingProcessName:"接收流程名称的参数",customParameterValue:"自定义参数值",ViewFlowHistoryPersonnel:"查看流转历史人员",ViewCountersignatureResultPersonnel:"查看会签结果人员",ViewVotingResultsBy:"查看投票结果人员",name:"名称",code:"编码",subprocess:"子流程",transferValueFromMainFormToSubForm:"主表单给子表单传值",fieldsOfTheMainForm:"主表单的字段",fieldsOfSubform:"子表单的字段",subformReturnsResultsToMainForm:"子表单返回结果给主表单",eventsTriggeredBeforeStartingASubprocess:"启动子流程前事件",triggerSubprocessEndEvent:"触发子流程结束事件",setTheHandlerOfTheFirstPhaseOfTheSubProcess:"设置子流程第一环节办理人",keepTheHandlerUnchangedWhenTheTargetLinkIsHandledRepeatedly:"目标环节重复办理时保持办理人不变",branchingCondition:"分支条件",processProperties:"流程属性",basicProperties:"基本属性",permissionSettings:"权限设置",notificationSettings:"通知设置",sendNotificationAfterProcessEnds:"流程结束后发送通知",reminderSettings:"催办设置",parameterSsetting:"参数设置",event:"事件",processVariables:"流程变量",propertiesOfSubprocesses:"子流程的属性",settingOfHandler:"办理人设置",eventProcessing:"事件处理",sponsorsImmediateSuperior:"发起人直属上级",sponsorsSuperiorDepartment:"发起人上级部门",sponsorTopDepartment:"发起人顶级部门",superiorDepartmentDirectlyUnderTheInitiator:"发起人直属上级部门",sponsorsImmediateSuperiorWorkingGroup:"发起人直属上级工作组",lastLinkHandlerDepartment:"上一环节办理人部门",previousLinkHandlerSuperiorDepartment:"上一环节办理人上级部门",topDepartmentOfHandlerInThePreviousLink:"上一环节办理人顶级部门",previousLinkHandlersDirectSuperiorDepartment:"上一环节办理人直属上级部门",previousLinkHandlerWorkingGroup:"上一环节办理人工作组",workingGroupDirectlyUnderTheManagerInThePreviousLink:"上一环节办理人直属上级工作组",getSubprocessEntityBean:"获得子流程实体bean",getSubprocessEntityBeanPlaceholder:"格式为:xxxServiceImpl,例如:exampleServiceImpl",getSubprocessEntityBeanInfo:"该bean需要实现接口tech.imatrix.wf.core.OnStartingSubProcess",isNull:"等于Null",isNotNull:"不等于Null",defaultMailTemplate:"默认邮件模板",trustTask:"委托任务",subprocessIsSharedForm:"主子流程共用表单"},task:{newCc:"新抄送",judge:"判断",end:"结束",branch:"分支",manualJudgment:"人工判断",newTask:"新任务",converge:"汇聚",newProcess:"新流程",start:"开始",subprocess:"子流程",needToBeUrged:"需要催办",urgingMethod:"催办方式",timeLimitForHandling:"办理时限",day:"天",urgingInterval:"催办间隔",hour:"小时",alwaysUrging:"一直催办",limitedUrging:"限次催办",timesOfUrging:"催办次数",includingHandoverPersonnel:"包含移交人员",handoverPersonnel:"移交人员",includeNotifyPeople:"包含通知人员",name:"名称",code:"编码",taskTitle:"任务标题",emailNotification:"邮件通知",handlingPage:"办理页面",remarks:"备注",allowViews:"允许查看意见",allowToViewCountersignatureResults:"允许查看会签结果",allowToViewVotingResults:"允许查看投票结果",allowToViewFlowHistory:"允许查看流转历史",allowFormsToPrint:"允许打印表单",attachmentAuthority:"附件权限",downloadAttachment:"下载附件",bodyPermission:"正文权限(暂不开放)",additionalConditions:"附加条件",setConditions:"设置条件",HandlingMethod:"办理方式",editorial:"编辑式",approvalType:"审批式",countersign:"会签式",voting:"投票式",anyOneCanHandleIt:"任意一人办理即可",forAll:"所有人均需办理",passRate:"通过率",modifyOperationName:"修改操作名称",operationType:"操作类型",visibleOrNot:"是否可见",save:"保存",submission:"提交",agree:"同意",disagree:"不同意",favor:"赞成",opposition:"反对",waiver:"弃权",receive:"领取",giveUp:"放弃",additionalSignature:"加签",reductionOfSignature:"减签",assignTask:"指派",copyTask:"抄送",retrieveTask:"取回",exportReport:"导出报告",readTask:"阅",selectEditableField:"选择可编辑字段",optionalField:"可选字段",selectedFields:"已选字段",editingMethod:"编辑方式",propertyName:"属性名",condition:"条件",nothing:"无",beforeSubmission:"提交前",executionURL:"执行url",errorMessage:"出错信息",afterSubmission:"提交后",allowEditingForms:"允许编辑表单",commentsAllowed:"允许填写意见",commentsAreRequired:"必须填写意见",deletePermission:"删除权限",addAttachment:"添加附件",deleteAttachment:"删除附件",propertiesOfCCTask:"抄送任务的属性",basicProperties:"基本属性",settingOfHandler:"办理人设置",permissionSettings:"权限设置",attributeOfConditionJudgment:"条件判断的属性",allBranchFlows:"所有分支流向",targetLink:"目标环节",propertiesOfBranches:"分支的属性",attributesOfManualJudgment:"人工判断的属性",linkAttribute:"环节属性",autoFillInFieldSettings:"自动填写字段设置",reminderSettings:"催办设置",eventProcessing:"事件处理",linkVariable:"环节变量",convergedProperties:"汇聚的属性",humanTask:"人工任务",conditionJudgment:"条件判断",cCtask:"抄送任务",canItBeRejected:"是否可驳回",selectMailTemplate:"选择邮件模板",selectTemplate:"选择模板"},transition:{flowProperties:"流向属性",basicProperties:"基本属性",notificationSettings:"通知设置",sendNotificationAfterFlow:"流过后发送通知",autoFillInFieldSettings:"自动填写字段设置",eventProcessing:"事件处理",triggerFlowThroughEvent:"触发流过事件",beanName:"bean名称"},condition:{combinationCondition:"组合条件",currentUserId:"当前用户ID",currentUserLogin:"当前用户登录名",currentUserName:"当前用户姓名",fillInManually:"手动填写",environmentVariable:"环境变量",databaseFields:"数据库字段",requestParameters:"请求参数",currentTime:"当前时间",currentDate:"当前日期",currentTransactor:"当前用户登录名",currentTransactorName:"当前用户姓名",currentTransactorId:"当前用户id",currentTransactorMainDepartmentId:"当前用户部门id",currentTransactorMainDepartment:"当前用户部门名称",currentTransactorRoleId:"当前用户角色id",currentTransactorRole:"当前用户角色名称",currentTransactorWorkGroupId:"当前用户工作组id",currentTransactorWorkGroup:"当前用户工作组名称",whenTheVariableIsEmpty:"变量为空时",ignore11:"忽略(1=1)",nonConformity:"不符合(1<>1)",currentHandler:"当前办理人",currentTaskClient:"当前任务委托人",currentAssignor:"当前指派人",rowsCanBeAdded:"可添加行",deleteLine:"可删除行",modifiableHistoricalData:"可修改历史数据",controlByField:"按字段控制",allReadOnly:"全部只读",allRequired:"全部必填",mainTableField:"主表字段",linkName:"环节名称",linkCode:"环节编码",taskFields:"任务字段",systemParameter:"系统参数",personnelScope:"人员范围",mainTableConditions:"主表条件",subtableCondition:"子表条件",accessControl:"进行权限控制",formBindingModel:"表单绑定model",allFields:"全部字段"}}};t.default=r},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{attr:{id:"t3",name:o.default.t("workflowEditor.task.judge")},g:{}}};var o=r(n(29))},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{attr:{id:"",name:o.default.t("workflowEditor.task.start")},g:{}}};var o=r(n(29))},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{attr:{id:"",name:o.default.t("workflowEditor.task.end")},g:{}}};var o=r(n(29))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{attr:{id:"",from:"",to:""},g:{},basicProperties:{remark:"",isOriginalUser:!1,condition:""},inform:{informType:"mail",userCondition:"",subject:"",content:""},autoFilledFields:{field:[]},onTransit:!1}}},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{attr:{id:"",name:o.default.t("workflowEditor.task.subprocess")},g:{},processCode:"",processVersion:"",events:{beforeStart:"",end:!1},transactorSettings:{userCondition:"",additionalCondition:{onlyInCreatorDepartment:!1,withCreatorDepartment:!1,selectOneFromMultiple:!1}},parameters:{field:[]},result:{field:[]}}};var o=r(n(29))},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{attr:{id:"",name:o.default.t("workflowEditor.task.branch")},g:{}}};var o=r(n(29))},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{attr:{id:"",name:o.default.t("workflowEditor.task.converge")},g:{}}};var o=r(n(29))},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{attr:{name:o.default.t("workflowEditor.task.manualJudgment")},g:{}}};var o=r(n(29))},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{attr:{id:"",name:o.default.t("workflowEditor.task.newCc")},g:{},basicProperties:{taskTitle:"",remark:"",taskUrl:""},transactorSettings:{userCondition:"",moreTransactor:!1,additionalCondition:{onlyInCreatorDepartment:!1,withCreatorDepartment:!1,selectOneFromMultiple:!1}},permissionSettings:{editForm:{permission:!1,field:[]},viewOpinion:{permission:!1,condition:""},editOpinion:{permission:!1,condition:""},requireOpinion:{permission:!1,condition:""},viewMeetingResult:{permission:!1,condition:""},viewVoteResult:{permission:!1,condition:""},viewFlowHistory:{permission:!1,condition:""},printForm:{permission:!1,condition:""},officialText:{permission:!1},attachment:{permission:!1},deleteInstance:{userCondition:""}}}};var o=r(n(29))},function(e,t,n){"use strict";n.r(t);var r=n(295),o=n(95);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(639);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"9c5970fe",null);t.default=s.exports},function(e,t,n){"use strict";n(408)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,"\n.svg-icon {\r\n width: 1em;\r\n height: 1em;\r\n vertical-align: -0.15em;\r\n fill: currentColor;\r\n overflow: hidden;\n}\r\n",""])},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}},function(e,t,n){"use strict";n(409)},function(e,t,n){"use strict";n.r(t);var r=n(297),o=n(99);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(755);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";n(414)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,"\n.joint-container{\n stroke-width: 0;\n fill: #fff;\n fill-opacity: 0\n}\n.joint{\n fill:#00f;\n stroke-width: 1px\n}\n.joint-activated{\n fill: #f00;\n stroke-width:1px;\n fill-opacity: 1;\n}\n",""])},function(e,t,n){"use strict";n(415)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,"\n.start{\n stroke-width: 0;\n fill:#fff;\n}\n",""])},function(e,t,n){"use strict";n(418)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,"\n.end{\n stroke-width: 0;\n fill:#fff;\n}\n",""])},function(e,t,n){"use strict";n(422)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,"\n.resizer{\n stroke: blue;\n stroke-width: 1;\n fill: white;\n}\n",""])},function(e,t,n){"use strict";n(425)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,"\n.decision{\n stroke-width: 0;\n fill:#fff;\n}\n",""])},function(e,t,n){"use strict";n(432)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,"\n.decision{\n stroke-width: 0;\n fill:#fff;\n}\n",""])},function(e,t,n){"use strict";n(435)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,"\n.decision{\n stroke-width: 0;\n fill:#fff;\n}\n",""])},function(e,t,n){"use strict";n(438)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,"\n.human-decision{\n stroke-width: 0;\n fill:#fff;\n}\n",""])},function(e,t,n){"use strict";n.r(t);var r=n(311),o=n(127);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(312),o=n(129);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(659);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"41f44015",null);t.default=s.exports},function(e,t,n){"use strict";n(445)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,"\n.control-point[data-v-41f44015]{\n fill: #fff;\n cursor: move;\n}\n.control-line[data-v-41f44015] {\n stroke-dasharray: 2 2\n}\n",""])},function(e,t,n){"use strict";n.r(t);var r=n(313),o=n(131);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(662);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"58d8ad5f",null);t.default=s.exports},function(e,t,n){"use strict";n(447)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,"\n.control-point[data-v-58d8ad5f]{\n fill: #fff;\n cursor: move;\n}\n.control-line[data-v-58d8ad5f] {\n stroke-dasharray: 2 2\n}\n",""])},function(e,t,n){"use strict";n(448)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,"\n.transition[data-v-e5a42fd4]{\n stroke-width: 2;\n stroke:#666;\n fill: none;\n cursor: pointer;\n}\n.selected[data-v-e5a42fd4]{\n stroke:red;\n}\n.transition-dragger[data-v-e5a42fd4]{\n stroke: red;\n stroke-width: 1;\n fill: white;\n cursor:move;\n}\n.no-events[data-v-e5a42fd4]{\n pointer-events: none;\n}\n",""])},function(e,t,n){"use strict";n.r(t);var r=n(314),o=n(133);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(667);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";n(450)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,"\n.virtual-transition{\n stroke-width: 2;\n stroke:#000;\n stroke-dasharray: 2 2;\n fill: none;\n}\n",""])},function(e,t,n){"use strict";n.r(t);var r=n(315),o=n(135);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(670);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";n(452)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,"\n.selection-region{\n stroke: blue;\n stroke-width: 1;\n fill: white;\n fill-opacity: 0;\n opacity: 1;\n cursor: move;\n}\n.dashed{\n stroke-dasharray: 10 2;\n /* 控制region在画的过程中不响应任何事件,只有画完后才能响应 */\n pointer-events:none;\n}\n",""])},function(e,t,n){"use strict";n.r(t);var r=n(316),o=n(137);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(703);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"31f14dc3",null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(317),o=n(139);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(683);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"4d6a43bf",null);t.default=s.exports},function(e,t,n){"use strict";n(459)},function(e,t,n){"use strict";n(460)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,"\n.el-tag + .el-tag[data-v-f88237fa] {\n margin-left: 10px;\n}\n.button-new-tag[data-v-f88237fa] {\n margin-left: 10px;\n height: 32px;\n line-height: 30px;\n padding-top: 0;\n padding-bottom: 0;\n}\n.input-new-tag[data-v-f88237fa] {\n width: 150px;\n margin-left: 10px;\n vertical-align: bottom;\n}\nselect[data-v-f88237fa]{\n width: 150px;\n margin-left: 10px;\n height: 32px;\n line-height: 32px;\n}\n",""])},function(e,t,n){"use strict";n.r(t);var r=n(320),o=n(145);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";n(469)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,"\n.searchResult {\r\n color:red\n}\n.inline-input-custom {\r\n width : 90%\n}\r\n",""])},function(e,t,n){"use strict";n(470)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,"\n#custTabOne[data-v-903790ea] .el-tabs__content{\r\n height:500px\n}\r\n",""])},function(e,t,n){"use strict";n.r(t);var r=n(326),o=n(157);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";n(474)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,"\n.percent[data-v-4d6a43bf]{\r\n margin-left: 10px;\r\n color:red;\r\n font-size:1.2em;\n}\r\n",""])},function(e,t,n){"use strict";n.r(t);var r=n(328),o=n(161);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(696);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"b65ebf7a",null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(329),o=n(163);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"96793d3c",null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(330),o=n(165);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(688);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"016e1d5a",null);t.default=s.exports},function(e,t,n){"use strict";n(478)},function(e,t,n){"use strict";n.r(t);var r=n(331),o=n(167);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"1c6eb52a",null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(332),o=n(169);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"2e72598c",null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(333),o=n(171);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";n(3),n(6),n(7),n(8),n(4),n(40),n(23),n(1),n(18),n(19),n(25),n(5);var r=n(2);n(41),n(6),n(19),n(18),n(1),n(42),n(4),n(5),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.departmentStandardFieldsForTransactor=t.departmentStandardFieldsForReminder=t.conditionTypes=t.allStandardFieldsForTransactor=void 0,t.displayUserCondition=function(e){var t,n="",r=a(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;""!==o.value&&(n=n+o.leftBracket+p[o.key]+" "+m[o.operator]+" "+_(o.value)+o.rightBracket+" "+h[o.logicOperator]+" ")}}catch(e){r.e(e)}finally{r.f()}var s=" "+(0,i.getI18n)().t("workflowEditor.process.perhaps")+" ",l=" "+(0,i.getI18n)().t("workflowEditor.process.also")+" ";n.lastIndexOf(s)+s.length===n.length?n=n.substring(0,n.lastIndexOf(s)):n.lastIndexOf(l)+l.length===n.length&&(n=n.substring(0,n.lastIndexOf(l)));return n},t.formatStandardValue=_,t.generateUserCondition=function(e){var t,n="",r=a(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;""!==o.value&&(n=n+o.leftBracket+o.key+" "+o.operator+" "+o.value+o.rightBracket+" "+o.logicOperator+" ")}}catch(e){r.e(e)}finally{r.f()}var i=" condition.operator.or ",s=" condition.operator.and ";n.lastIndexOf(i)+i.length===n.length?n=n.substring(0,n.lastIndexOf(i)):n.lastIndexOf(s)+s.length===n.length&&(n=n.substring(0,n.lastIndexOf(s)));return n},t.operators=t.logicOperators=void 0,t.parseCondition=function(e,t){var n,r=t.replace(/ condition.operator.or /g," condition.operator.or^_^"),o=(r=r.replace(/ condition.operator.and /g," condition.operator.and^_^")).split("^_^"),i=0,s=a(o);try{for(s.s();!(n=s.n()).done;){var l=n.value;if(""!==l){var c,u="",d="",f="",p="",h="condition.operator.or",m=l.split(" "),v=m[0].indexOf("${");v>0?(u=m[0].substring(0,v),d=m[0].substring(v)):d=m[0],c=m[1],(v=m[2].indexOf(")"))>0?(f=m[2].substring(0,v),p=m[2].substring(v)):f=m[2],4===m.length&&(h=m[3]),e.push({id:i,leftBracket:u,key:d,operator:c,value:f,rightBracket:p,logicOperator:h}),i++}}}catch(e){s.e(e)}finally{s.f()}return i},t.workgroupStandardFieldsForTransactor=t.workgroupStandardFieldsForReminder=t.userStandardFieldsForTransactor=t.userStandardFieldsForReminder=void 0,n(45),n(20),n(20),n(45);var o=r(n(9)),i=n(10);function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={"${instanceCreatorName}":(0,i.getI18n)().t("workflowEditor.process.processInitiator"),"${instanceCreatorDirectSuperiorName}":(0,i.getI18n)().t("workflowEditor.process.sponsorsImmediateSuperior"),"${currentTransactorName}":(0,i.getI18n)().t("workflowEditor.process.nameOfCurrentHandler"),"${currentTransactorDirectSuperiorName}":(0,i.getI18n)().t("workflowEditor.process.nameOfTheImmediateSuperiorOfTheCurrentHandler")};t.userStandardFieldsForReminder=u;var d={"${instanceCreatorDepartment}":(0,i.getI18n)().t("workflowEditor.process.processInitiatorDepartment"),"${instanceCreatorSuperiorDepartment}":(0,i.getI18n)().t("workflowEditor.process.sponsorsSuperiorDepartment"),"${instanceCreatorUpstageDepartment}":(0,i.getI18n)().t("workflowEditor.process.sponsorTopDepartment"),"${instanceCreatorDirectSuperiorDepartment}":(0,i.getI18n)().t("workflowEditor.process.superiorDepartmentDirectlyUnderTheInitiator"),"${currentTransactorDepartment}":(0,i.getI18n)().t("workflowEditor.process.currentHandlerDepartment"),"${currentTransactorSuperiorDepartment}":(0,i.getI18n)().t("workflowEditor.process.currentHandlerSuperiorDepartment"),"${currentTransactorUpstageDepartment}":(0,i.getI18n)().t("workflowEditor.process.topDepartmentOfCurrentHandler"),"${currentTransactorDirectSuperiorDepartment}":(0,i.getI18n)().t("workflowEditor.process.currentHandlerDirectSuperiorDepartment")};t.departmentStandardFieldsForReminder=d;var f={"${instanceCreatorrWorkGroup}":(0,i.getI18n)().t("workflowEditor.process.processInitiatorWorkingGroup"),"${instanceCreatorDirectSuperiorWorkGroup}":(0,i.getI18n)().t("workflowEditor.process.sponsorsImmediateSuperiorWorkingGroup"),"${currentTransactorWorkGroup}":(0,i.getI18n)().t("workflowEditor.process.currentHandlerWorkingGroup"),"${currentTransactorDirectSuperiorWorkGroup}":(0,i.getI18n)().t("workflowEditor.process.workingGroupDirectlyUnderTheCurrentHandler")};t.workgroupStandardFieldsForReminder=f;var p={"${user}":(0,i.getI18n)().t("workflowEditor.common.user"),"${department}":(0,i.getI18n)().t("workflowEditor.common.department"),"${role}":(0,i.getI18n)().t("workflowEditor.common.role"),"${workgroup}":(0,i.getI18n)().t("workflowEditor.common.workgroup")};t.conditionTypes=p;var h={"condition.operator.or":(0,i.getI18n)().t("workflowEditor.process.perhaps"),"condition.operator.and":(0,i.getI18n)().t("workflowEditor.process.also")};t.logicOperators=h;var m={"operator.text.eq":(0,i.getI18n)().t("workflowEditor.process.beEqualTo"),"operator.text.neq":(0,i.getI18n)().t("workflowEditor.process.notEqualTo")};t.operators=m;var v=c(c(c({},u),d),f),g={"${instanceCreatorName}":(0,i.getI18n)().t("workflowEditor.process.processInitiator"),"${instanceCreatorDirectSuperiorName}":(0,i.getI18n)().t("workflowEditor.process.sponsorsImmediateSuperior")};t.userStandardFieldsForTransactor=g;var b={"${upstageDepartment}":(0,i.getI18n)().t("workflowEditor.process.topDepartments"),"${instanceCreatorDepartment}":(0,i.getI18n)().t("workflowEditor.process.processInitiatorDepartment"),"${instanceCreatorSuperiorDepartment}":(0,i.getI18n)().t("workflowEditor.process.sponsorsSuperiorDepartment"),"${instanceCreatorUpstageDepartment}":(0,i.getI18n)().t("workflowEditor.process.sponsorTopDepartment"),"${instanceCreatorDirectSuperiorDepartment}":(0,i.getI18n)().t("workflowEditor.process.superiorDepartmentDirectlyUnderTheInitiator"),"${previousTransactorDepartment}":(0,i.getI18n)().t("workflowEditor.process.lastLinkHandlerDepartment"),"${previousTransactorSuperiorDepartment}":(0,i.getI18n)().t("workflowEditor.process.previousLinkHandlerSuperiorDepartment"),"${previousTransactorUpstageDepartment}":(0,i.getI18n)().t("workflowEditor.process.topDepartmentOfHandlerInThePreviousLink"),"${previousTransactorDirectSuperiorDepartment}":(0,i.getI18n)().t("workflowEditor.process.previousLinkHandlersDirectSuperiorDepartment")};t.departmentStandardFieldsForTransactor=b;var w={"${instanceCreatorrWorkGroup}":(0,i.getI18n)().t("workflowEditor.process.processInitiatorWorkingGroup"),"${instanceCreatorDirectSuperiorWorkGroup}":(0,i.getI18n)().t("workflowEditor.process.sponsorsImmediateSuperiorWorkingGroup"),"${previousTransactorWorkGroup}":(0,i.getI18n)().t("workflowEditor.process.previousLinkHandlerWorkingGroup"),"${previousTransactorDirectSuperiorWorkGroup}":(0,i.getI18n)().t("workflowEditor.process.workingGroupDirectlyUnderTheManagerInThePreviousLink")};t.workgroupStandardFieldsForTransactor=w;var y=c(c(c({},g),b),w);function _(e){return void 0!==v[e]?v[e]:""}t.allStandardFieldsForTransactor=y},function(e,t,n){"use strict";n.r(t);var r=n(336),o=n(177);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(694);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";n(486)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,"\n.searchResult {\r\n color:red\n}\n.inline-input-custom {\r\n width : 90%\n}\r\n",""])},function(e,t,n){"use strict";n(487)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,"\n.el-checkbox[data-v-b65ebf7a]{\n margin-left: 20px;\n}\n",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.standardValues=void 0;var r=n(10),o={"${currentTime}":(0,r.getI18n)().t("workflowEditor.process.handlingTimeOfThisLink"),"${currentTransactorId}":(0,r.getI18n)().t("workflowEditor.process.handlerIDOfThisLink"),"${currentTransactorMainDepartmentId}":(0,r.getI18n)().t("workflowEditor.process.currentHandlerPrincipalDepartmentID"),"${currentTransactorDirectSuperiorId}":(0,r.getI18n)().t("workflowEditor.process.iDOfTheImmediateSuperiorOfTheCurrentHandler"),"${currentTransactorDirectSuperiorMainDepartmentId}":(0,r.getI18n)().t("workflowEditor.process.iDOfTheSuperiorDepartmentDirectlyUnderTheCurrentHandler"),"${currentTransactor}":(0,r.getI18n)().t("workflowEditor.process.loginNameOfTheHandlerInThisLink"),"${currentTransactorName }":(0,r.getI18n)().t("workflowEditor.process.NameOfCurrentHandler"),"${currentTransactorDepartment }":(0,r.getI18n)().t("workflowEditor.process.CurrentHandlerDepartment"),"${currentTransactorDepartmentId}":(0,r.getI18n)().t("workflowEditor.process.CurrentHandlerDepartmentID"),"${currentTransactorMainDepartment}":(0,r.getI18n)().t("workflowEditor.process.CurrentManagersPrincipalDepartment"),"${currentTransactorSuperiorDepartmentId}":(0,r.getI18n)().t("workflowEditor.process.iDOfSsuperiorDepartmentOfCurrentHandler"),"${currentTransactorSuperiorDepartment}":(0,r.getI18n)().t("workflowEditor.process.CurrentHandlersSuperiorDepartment"),"${currentTransactorUpstageDepartment}":(0,r.getI18n)().t("workflowEditor.process.TopDepartmentOfCurrentHandler"),"${currentTransactorUpstageDepartmentId}":(0,r.getI18n)().t("workflowEditor.process.TopDepartmentIDOfCurrentHandler"),"${currentTransactorRole}":(0,r.getI18n)().t("workflowEditor.process.CurrentHandlerRole"),"${currentTransactorRoleId}":(0,r.getI18n)().t("workflowEditor.process.CurrentHandlerRoleID"),"${currentTransactorWorkGroup}":(0,r.getI18n)().t("workflowEditor.process.currentHandlerWorkingGroup"),"${currentTransactorWorkGroupId}":(0,r.getI18n)().t("workflowEditor.process.CurrentHandlerWorkingGroupID"),"${currentTransactorDirectSuperior}":(0,r.getI18n)().t("workflowEditor.process.LoginNameOfTheImmediateSuperiorOfTheCurrentHandler"),"${currentTransactorDirectSuperiorName}":(0,r.getI18n)().t("workflowEditor.process.nameOfTheImmediateSuperiorOfTheCurrentHandler"),"${currentTransactorDirectSuperiorDepartment}":(0,r.getI18n)().t("workflowEditor.process.currentHandlersDirectSuperiorDepartment"),"${currentTransactorDirectSuperiorDepartmentId}":(0,r.getI18n)().t("workflowEditor.process.currentManagersIdDirectlyUnderTheSuperior"),"${currentTransactorDirectSuperiorMainDepartment}":(0,r.getI18n)().t("workflowEditor.process.currentManagersDirectSuperiorDepartment"),"${currentTransactorDirectSuperiorRole}":(0,r.getI18n)().t("workflowEditor.process.currentManagersDirectSuperiorRole"),"${currentTransactorDirectSuperiorRoleId}":(0,r.getI18n)().t("workflowEditor.process.currentHandlersDirectSuperiorRoleID"),"${currentTransactorDirectSuperiorWorkGroup}":(0,r.getI18n)().t("workflowEditor.process.currentManagersDirectSuperiorWork"),"${currentTransactorDirectSuperiorWorkGroupId}":(0,r.getI18n)().t("workflowEditor.process.iDOfTheWorkingGroupDirectlyUnderTheCurrentHandler"),"${currentOperation}":(0,r.getI18n)().t("workflowEditor.process.operationsPerformedInThisPhase"),"${previousTransactorId}":(0,r.getI18n)().t("workflowEditor.process.handlerIDOfThePreviousLink"),"${previousTransactor}":(0,r.getI18n)().t("workflowEditor.process.lastLinkHandlerLogin"),"${previousTransactorName}":(0,r.getI18n)().t("workflowEditor.process.nameOfHandlerInThePreviousLink")};t.standardValues=o},function(e,t,n){"use strict";var r=n(65),o=n(54);e.exports=function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t,n){"use strict";n(495)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,"\nspan[data-v-7e8353be]{\r\n margin:0 10px;\n}\r\n",""])},function(e,t,n){"use strict";n.r(t);var r=n(342),o=n(189);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";n(499)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,'\r\n/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/\n.properties-editor[data-v-31f14dc3] .el-dialog__body{\r\n padding-top: 0\n}\r\n',""])},function(e,t,n){"use strict";n.r(t);var r=n(343),o=n(191);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){(function(e){!function(t){t.parser=function(e,t){return new i(e,t)},t.SAXParser=i,t.SAXStream=s,t.createStream=function(e,t){return new s(e,t)},t.MAX_BUFFER_LENGTH=65536;var r,o=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function i(e,n){if(!(this instanceof i))return new i(e,n);!function(e){for(var t=0,n=o.length;t<n;t++)e[o[t]]=""}(this),this.q=this.c="",this.bufferCheckPosition=t.MAX_BUFFER_LENGTH,this.opt=n||{},this.opt.lowercase=this.opt.lowercase||this.opt.lowercasetags,this.looseCase=this.opt.lowercase?"toLowerCase":"toUpperCase",this.tags=[],this.closed=this.closedRoot=this.sawRoot=!1,this.tag=this.error=null,this.strict=!!e,this.noscript=!(!e&&!this.opt.noscript),this.state=k.BEGIN,this.strictEntities=this.opt.strictEntities,this.ENTITIES=this.strictEntities?Object.create(t.XML_ENTITIES):Object.create(t.ENTITIES),this.attribList=[],this.opt.xmlns&&(this.ns=Object.create(c)),this.trackPosition=!1!==this.opt.position,this.trackPosition&&(this.position=this.line=this.column=0),T(this,"onready")}t.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(e){function t(){}return t.prototype=e,new t}),Object.keys||(Object.keys=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}),i.prototype={end:function(){P(this)},write:function(e){if(this.error)throw this.error;if(this.closed)return F(this,"Cannot write after close. Assign an onready handler.");if(null===e)return P(this);"object"==typeof e&&(e=e.toString());var n=0,r="";for(;r=N(e,n++),this.c=r,r;)switch(this.trackPosition&&(this.position++,"\n"===r?(this.line++,this.column=0):this.column++),this.state){case k.BEGIN:if(this.state=k.BEGIN_WHITESPACE,"\ufeff"===r)continue;j(this,r);continue;case k.BEGIN_WHITESPACE:j(this,r);continue;case k.TEXT:if(this.sawRoot&&!this.closedRoot){for(var i=n-1;r&&"<"!==r&&"&"!==r;)(r=N(e,n++))&&this.trackPosition&&(this.position++,"\n"===r?(this.line++,this.column=0):this.column++);this.textNode+=e.substring(i,n-1)}"<"!==r||this.sawRoot&&this.closedRoot&&!this.strict?(h(r)||this.sawRoot&&!this.closedRoot||C(this,"Text data outside of root node."),"&"===r?this.state=k.TEXT_ENTITY:this.textNode+=r):(this.state=k.OPEN_WAKA,this.startTagPosition=this.position);continue;case k.SCRIPT:"<"===r?this.state=k.SCRIPT_ENDING:this.script+=r;continue;case k.SCRIPT_ENDING:"/"===r?this.state=k.CLOSE_TAG:(this.script+="<"+r,this.state=k.SCRIPT);continue;case k.OPEN_WAKA:if("!"===r)this.state=k.SGML_DECL,this.sgmlDecl="";else if(h(r));else if(g(u,r))this.state=k.OPEN_TAG,this.tagName=r;else if("/"===r)this.state=k.CLOSE_TAG,this.tagName="";else if("?"===r)this.state=k.PROC_INST,this.procInstName=this.procInstBody="";else{if(C(this,"Unencoded <"),this.startTagPosition+1<this.position){var a=this.position-this.startTagPosition;r=new Array(a).join(" ")+r}this.textNode+="<"+r,this.state=k.TEXT}continue;case k.SGML_DECL:"[CDATA["===(this.sgmlDecl+r).toUpperCase()?(x(this,"onopencdata"),this.state=k.CDATA,this.sgmlDecl="",this.cdata=""):this.sgmlDecl+r==="--"?(this.state=k.COMMENT,this.comment="",this.sgmlDecl=""):"DOCTYPE"===(this.sgmlDecl+r).toUpperCase()?(this.state=k.DOCTYPE,(this.doctype||this.sawRoot)&&C(this,"Inappropriately located doctype declaration"),this.doctype="",this.sgmlDecl=""):">"===r?(x(this,"onsgmldeclaration",this.sgmlDecl),this.sgmlDecl="",this.state=k.TEXT):m(r)?(this.state=k.SGML_DECL_QUOTED,this.sgmlDecl+=r):this.sgmlDecl+=r;continue;case k.SGML_DECL_QUOTED:r===this.q&&(this.state=k.SGML_DECL,this.q=""),this.sgmlDecl+=r;continue;case k.DOCTYPE:">"===r?(this.state=k.TEXT,x(this,"ondoctype",this.doctype),this.doctype=!0):(this.doctype+=r,"["===r?this.state=k.DOCTYPE_DTD:m(r)&&(this.state=k.DOCTYPE_QUOTED,this.q=r));continue;case k.DOCTYPE_QUOTED:this.doctype+=r,r===this.q&&(this.q="",this.state=k.DOCTYPE);continue;case k.DOCTYPE_DTD:this.doctype+=r,"]"===r?this.state=k.DOCTYPE:m(r)&&(this.state=k.DOCTYPE_DTD_QUOTED,this.q=r);continue;case k.DOCTYPE_DTD_QUOTED:this.doctype+=r,r===this.q&&(this.state=k.DOCTYPE_DTD,this.q="");continue;case k.COMMENT:"-"===r?this.state=k.COMMENT_ENDING:this.comment+=r;continue;case k.COMMENT_ENDING:"-"===r?(this.state=k.COMMENT_ENDED,this.comment=S(this.opt,this.comment),this.comment&&x(this,"oncomment",this.comment),this.comment=""):(this.comment+="-"+r,this.state=k.COMMENT);continue;case k.COMMENT_ENDED:">"!==r?(C(this,"Malformed comment"),this.comment+="--"+r,this.state=k.COMMENT):this.state=k.TEXT;continue;case k.CDATA:"]"===r?this.state=k.CDATA_ENDING:this.cdata+=r;continue;case k.CDATA_ENDING:"]"===r?this.state=k.CDATA_ENDING_2:(this.cdata+="]"+r,this.state=k.CDATA);continue;case k.CDATA_ENDING_2:">"===r?(this.cdata&&x(this,"oncdata",this.cdata),x(this,"onclosecdata"),this.cdata="",this.state=k.TEXT):"]"===r?this.cdata+="]":(this.cdata+="]]"+r,this.state=k.CDATA);continue;case k.PROC_INST:"?"===r?this.state=k.PROC_INST_ENDING:h(r)?this.state=k.PROC_INST_BODY:this.procInstName+=r;continue;case k.PROC_INST_BODY:if(!this.procInstBody&&h(r))continue;"?"===r?this.state=k.PROC_INST_ENDING:this.procInstBody+=r;continue;case k.PROC_INST_ENDING:">"===r?(x(this,"onprocessinginstruction",{name:this.procInstName,body:this.procInstBody}),this.procInstName=this.procInstBody="",this.state=k.TEXT):(this.procInstBody+="?"+r,this.state=k.PROC_INST_BODY);continue;case k.OPEN_TAG:g(d,r)?this.tagName+=r:(M(this),">"===r?D(this):"/"===r?this.state=k.OPEN_TAG_SLASH:(h(r)||C(this,"Invalid character in tag name"),this.state=k.ATTRIB));continue;case k.OPEN_TAG_SLASH:">"===r?(D(this,!0),$(this)):(C(this,"Forward-slash in opening tag not followed by >"),this.state=k.ATTRIB);continue;case k.ATTRIB:if(h(r))continue;">"===r?D(this):"/"===r?this.state=k.OPEN_TAG_SLASH:g(u,r)?(this.attribName=r,this.attribValue="",this.state=k.ATTRIB_NAME):C(this,"Invalid attribute name");continue;case k.ATTRIB_NAME:"="===r?this.state=k.ATTRIB_VALUE:">"===r?(C(this,"Attribute without value"),this.attribValue=this.attribName,I(this),D(this)):h(r)?this.state=k.ATTRIB_NAME_SAW_WHITE:g(d,r)?this.attribName+=r:C(this,"Invalid attribute name");continue;case k.ATTRIB_NAME_SAW_WHITE:if("="===r)this.state=k.ATTRIB_VALUE;else{if(h(r))continue;C(this,"Attribute without value"),this.tag.attributes[this.attribName]="",this.attribValue="",x(this,"onattribute",{name:this.attribName,value:""}),this.attribName="",">"===r?D(this):g(u,r)?(this.attribName=r,this.state=k.ATTRIB_NAME):(C(this,"Invalid attribute name"),this.state=k.ATTRIB)}continue;case k.ATTRIB_VALUE:if(h(r))continue;m(r)?(this.q=r,this.state=k.ATTRIB_VALUE_QUOTED):(C(this,"Unquoted attribute value"),this.state=k.ATTRIB_VALUE_UNQUOTED,this.attribValue=r);continue;case k.ATTRIB_VALUE_QUOTED:if(r!==this.q){"&"===r?this.state=k.ATTRIB_VALUE_ENTITY_Q:this.attribValue+=r;continue}I(this),this.q="",this.state=k.ATTRIB_VALUE_CLOSED;continue;case k.ATTRIB_VALUE_CLOSED:h(r)?this.state=k.ATTRIB:">"===r?D(this):"/"===r?this.state=k.OPEN_TAG_SLASH:g(u,r)?(C(this,"No whitespace between attributes"),this.attribName=r,this.attribValue="",this.state=k.ATTRIB_NAME):C(this,"Invalid attribute name");continue;case k.ATTRIB_VALUE_UNQUOTED:if(!v(r)){"&"===r?this.state=k.ATTRIB_VALUE_ENTITY_U:this.attribValue+=r;continue}I(this),">"===r?D(this):this.state=k.ATTRIB;continue;case k.CLOSE_TAG:if(this.tagName)">"===r?$(this):g(d,r)?this.tagName+=r:this.script?(this.script+="</"+this.tagName,this.tagName="",this.state=k.SCRIPT):(h(r)||C(this,"Invalid tagname in closing tag"),this.state=k.CLOSE_TAG_SAW_WHITE);else{if(h(r))continue;b(u,r)?this.script?(this.script+="</"+r,this.state=k.SCRIPT):C(this,"Invalid tagname in closing tag."):this.tagName=r}continue;case k.CLOSE_TAG_SAW_WHITE:if(h(r))continue;">"===r?$(this):C(this,"Invalid characters in closing tag");continue;case k.TEXT_ENTITY:case k.ATTRIB_VALUE_ENTITY_Q:case k.ATTRIB_VALUE_ENTITY_U:var s,l;switch(this.state){case k.TEXT_ENTITY:s=k.TEXT,l="textNode";break;case k.ATTRIB_VALUE_ENTITY_Q:s=k.ATTRIB_VALUE_QUOTED,l="attribValue";break;case k.ATTRIB_VALUE_ENTITY_U:s=k.ATTRIB_VALUE_UNQUOTED,l="attribValue"}";"===r?(this[l]+=A(this),this.entity="",this.state=s):g(this.entity.length?p:f,r)?this.entity+=r:(C(this,"Invalid character in entity name"),this[l]+="&"+this.entity+r,this.entity="",this.state=s);continue;default:throw new Error(this,"Unknown state: "+this.state)}this.position>=this.bufferCheckPosition&&function(e){for(var n=Math.max(t.MAX_BUFFER_LENGTH,10),r=0,i=0,a=o.length;i<a;i++){var s=e[o[i]].length;if(s>n)switch(o[i]){case"textNode":E(e);break;case"cdata":x(e,"oncdata",e.cdata),e.cdata="";break;case"script":x(e,"onscript",e.script),e.script="";break;default:F(e,"Max buffer length exceeded: "+o[i])}r=Math.max(r,s)}var l=t.MAX_BUFFER_LENGTH-r;e.bufferCheckPosition=l+e.position}(this);return this}
15
+ /*! http://mths.be/fromcodepoint v0.1.0 by @mathias */,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var e;E(e=this),""!==e.cdata&&(x(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(x(e,"onscript",e.script),e.script="")}};try{r=n(709).Stream}catch(e){r=function(){}}var a=t.EVENTS.filter((function(e){return"error"!==e&&"end"!==e}));function s(e,t){if(!(this instanceof s))return new s(e,t);r.apply(this),this._parser=new i(e,t),this.writable=!0,this.readable=!0;var n=this;this._parser.onend=function(){n.emit("end")},this._parser.onerror=function(e){n.emit("error",e),n._parser.error=null},this._decoder=null,a.forEach((function(e){Object.defineProperty(n,"on"+e,{get:function(){return n._parser["on"+e]},set:function(t){if(!t)return n.removeAllListeners(e),n._parser["on"+e]=t,t;n.on(e,t)},enumerable:!0,configurable:!1})}))}s.prototype=Object.create(r.prototype,{constructor:{value:s}}),s.prototype.write=function(t){if("function"==typeof e&&"function"==typeof e.isBuffer&&e.isBuffer(t)){if(!this._decoder){var r=n(288).StringDecoder;this._decoder=new r("utf8")}t=this._decoder.write(t)}return this._parser.write(t.toString()),this.emit("data",t),!0},s.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},s.prototype.on=function(e,t){var n=this;return n._parser["on"+e]||-1===a.indexOf(e)||(n._parser["on"+e]=function(){var t=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),n.emit.apply(n,t)}),r.prototype.on.call(n,e,t)};var l="http://www.w3.org/XML/1998/namespace",c={xml:l,xmlns:"http://www.w3.org/2000/xmlns/"},u=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,d=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,f=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,p=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function h(e){return" "===e||"\n"===e||"\r"===e||"\t"===e}function m(e){return'"'===e||"'"===e}function v(e){return">"===e||h(e)}function g(e,t){return e.test(t)}function b(e,t){return!g(e,t)}var w,y,_,k=0;for(var O in t.STATE={BEGIN:k++,BEGIN_WHITESPACE:k++,TEXT:k++,TEXT_ENTITY:k++,OPEN_WAKA:k++,SGML_DECL:k++,SGML_DECL_QUOTED:k++,DOCTYPE:k++,DOCTYPE_QUOTED:k++,DOCTYPE_DTD:k++,DOCTYPE_DTD_QUOTED:k++,COMMENT_STARTING:k++,COMMENT:k++,COMMENT_ENDING:k++,COMMENT_ENDED:k++,CDATA:k++,CDATA_ENDING:k++,CDATA_ENDING_2:k++,PROC_INST:k++,PROC_INST_BODY:k++,PROC_INST_ENDING:k++,OPEN_TAG:k++,OPEN_TAG_SLASH:k++,ATTRIB:k++,ATTRIB_NAME:k++,ATTRIB_NAME_SAW_WHITE:k++,ATTRIB_VALUE:k++,ATTRIB_VALUE_QUOTED:k++,ATTRIB_VALUE_CLOSED:k++,ATTRIB_VALUE_UNQUOTED:k++,ATTRIB_VALUE_ENTITY_Q:k++,ATTRIB_VALUE_ENTITY_U:k++,CLOSE_TAG:k++,CLOSE_TAG_SAW_WHITE:k++,SCRIPT:k++,SCRIPT_ENDING:k++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(t.ENTITIES).forEach((function(e){var n=t.ENTITIES[e],r="number"==typeof n?String.fromCharCode(n):n;t.ENTITIES[e]=r})),t.STATE)t.STATE[t.STATE[O]]=O;function T(e,t,n){e[t]&&e[t](n)}function x(e,t,n){e.textNode&&E(e),T(e,t,n)}function E(e){e.textNode=S(e.opt,e.textNode),e.textNode&&T(e,"ontext",e.textNode),e.textNode=""}function S(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function F(e,t){return E(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),t=new Error(t),e.error=t,T(e,"onerror",t),e}function P(e){return e.sawRoot&&!e.closedRoot&&C(e,"Unclosed root tag"),e.state!==k.BEGIN&&e.state!==k.BEGIN_WHITESPACE&&e.state!==k.TEXT&&F(e,"Unexpected end"),E(e),e.c="",e.closed=!0,T(e,"onend"),i.call(e,e.strict,e.opt),e}function C(e,t){if("object"!=typeof e||!(e instanceof i))throw new Error("bad call to strictFail");e.strict&&F(e,t)}function M(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,n=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(n.ns=t.ns),e.attribList.length=0,x(e,"onopentagstart",n)}function R(e,t){var n=e.indexOf(":")<0?["",e]:e.split(":"),r=n[0],o=n[1];return t&&"xmlns"===e&&(r="xmlns",o=""),{prefix:r,local:o}}function I(e){if(e.strict||(e.attribName=e.attribName[e.looseCase]()),-1!==e.attribList.indexOf(e.attribName)||e.tag.attributes.hasOwnProperty(e.attribName))e.attribName=e.attribValue="";else{if(e.opt.xmlns){var t=R(e.attribName,!0),n=t.prefix,r=t.local;if("xmlns"===n)if("xml"===r&&e.attribValue!==l)C(e,"xml: prefix must be bound to "+l+"\nActual: "+e.attribValue);else if("xmlns"===r&&"http://www.w3.org/2000/xmlns/"!==e.attribValue)C(e,"xmlns: prefix must be bound to http://www.w3.org/2000/xmlns/\nActual: "+e.attribValue);else{var o=e.tag,i=e.tags[e.tags.length-1]||e;o.ns===i.ns&&(o.ns=Object.create(i.ns)),o.ns[r]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,x(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}}function D(e,t){if(e.opt.xmlns){var n=e.tag,r=R(e.tagName);n.prefix=r.prefix,n.local=r.local,n.uri=n.ns[r.prefix]||"",n.prefix&&!n.uri&&(C(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),n.uri=r.prefix);var o=e.tags[e.tags.length-1]||e;n.ns&&o.ns!==n.ns&&Object.keys(n.ns).forEach((function(t){x(e,"onopennamespace",{prefix:t,uri:n.ns[t]})}));for(var i=0,a=e.attribList.length;i<a;i++){var s=e.attribList[i],l=s[0],c=s[1],u=R(l,!0),d=u.prefix,f=u.local,p=""===d?"":n.ns[d]||"",h={name:l,value:c,prefix:d,local:f,uri:p};d&&"xmlns"!==d&&!p&&(C(e,"Unbound namespace prefix: "+JSON.stringify(d)),h.uri=d),e.tag.attributes[l]=h,x(e,"onattribute",h)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),x(e,"onopentag",e.tag),t||(e.noscript||"script"!==e.tagName.toLowerCase()?e.state=k.TEXT:e.state=k.SCRIPT,e.tag=null,e.tagName=""),e.attribName=e.attribValue="",e.attribList.length=0}function $(e){if(!e.tagName)return C(e,"Weird empty close tag."),e.textNode+="</>",void(e.state=k.TEXT);if(e.script){if("script"!==e.tagName)return e.script+="</"+e.tagName+">",e.tagName="",void(e.state=k.SCRIPT);x(e,"onscript",e.script),e.script=""}var t=e.tags.length,n=e.tagName;e.strict||(n=n[e.looseCase]());for(var r=n;t--;){if(e.tags[t].name===r)break;C(e,"Unexpected close tag")}if(t<0)return C(e,"Unmatched closing tag: "+e.tagName),e.textNode+="</"+e.tagName+">",void(e.state=k.TEXT);e.tagName=n;for(var o=e.tags.length;o-- >t;){var i=e.tag=e.tags.pop();e.tagName=e.tag.name,x(e,"onclosetag",e.tagName);var a={};for(var s in i.ns)a[s]=i.ns[s];var l=e.tags[e.tags.length-1]||e;e.opt.xmlns&&i.ns!==l.ns&&Object.keys(i.ns).forEach((function(t){var n=i.ns[t];x(e,"onclosenamespace",{prefix:t,uri:n})}))}0===t&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName="",e.attribList.length=0,e.state=k.TEXT}function A(e){var t,n=e.entity,r=n.toLowerCase(),o="";return e.ENTITIES[n]?e.ENTITIES[n]:e.ENTITIES[r]?e.ENTITIES[r]:("#"===(n=r).charAt(0)&&("x"===n.charAt(1)?(n=n.slice(2),o=(t=parseInt(n,16)).toString(16)):(n=n.slice(1),o=(t=parseInt(n,10)).toString(10))),n=n.replace(/^0+/,""),isNaN(t)||o.toLowerCase()!==n?(C(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(t))}function j(e,t){"<"===t?(e.state=k.OPEN_WAKA,e.startTagPosition=e.position):h(t)||(C(e,"Non-whitespace before first tag."),e.textNode=t,e.state=k.TEXT)}function N(e,t){var n="";return t<e.length&&(n=e.charAt(t)),n}k=t.STATE,String.fromCodePoint||(w=String.fromCharCode,y=Math.floor,_=function(){var e,t,n=16384,r=[],o=-1,i=arguments.length;if(!i)return"";for(var a="";++o<i;){var s=Number(arguments[o]);if(!isFinite(s)||s<0||s>1114111||y(s)!==s)throw RangeError("Invalid code point: "+s);s<=65535?r.push(s):(e=55296+((s-=65536)>>10),t=s%1024+56320,r.push(e,t)),(o+1===i||r.length>n)&&(a+=w.apply(null,r),r.length=0)}return a},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:_,configurable:!0,writable:!0}):String.fromCodePoint=_)}(t)}).call(this,n(74).Buffer)},function(e,t,n){"use strict";t.byteLength=function(e){var t=c(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=c(e),a=r[0],s=r[1],l=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),u=0,d=s>0?a-4:a;for(n=0;n<d;n+=4)t=o[e.charCodeAt(n)]<<18|o[e.charCodeAt(n+1)]<<12|o[e.charCodeAt(n+2)]<<6|o[e.charCodeAt(n+3)],l[u++]=t>>16&255,l[u++]=t>>8&255,l[u++]=255&t;2===s&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,l[u++]=255&t);1===s&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t);return l},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=0,s=n-o;a<s;a+=16383)i.push(u(e,a,a+16383>s?s:a+16383));1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return i.join("")};for(var r=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)r[s]=a[s],o[a.charCodeAt(s)]=s;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var o,i,a=[],s=t;s<n;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t){
29
16
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
30
- t.read=function(e,t,n,r,o){var i,s,a=8*o-r-1,l=(1<<a)-1,c=l>>1,u=-7,d=n?o-1:0,f=n?-1:1,p=e[t+d];for(d+=f,i=p&(1<<-u)-1,p>>=-u,u+=a;u>0;i=256*i+e[t+d],d+=f,u-=8);for(s=i&(1<<-u)-1,i>>=-u,u+=r;u>0;s=256*s+e[t+d],d+=f,u-=8);if(0===i)i=1-c;else{if(i===l)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,r),i-=c}return(p?-1:1)*s*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var s,a,l,c=8*i-o-1,u=(1<<c)-1,d=u>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),(t+=s+d>=1?f/l:f*Math.pow(2,1-d))*l>=2&&(s++,l/=2),s+d>=u?(a=0,s=u):s+d>=1?(a=(t*l-1)*Math.pow(2,o),s+=d):(a=t*Math.pow(2,d-1)*Math.pow(2,o),s=0));o>=8;e[n+p]=255&a,p+=h,a/=256,o-=8);for(s=s<<o|a,c+=o;c>0;e[n+p]=255&s,p+=h,s/=256,c-=8);e[n+p-h]|=128*m}},function(e,t,n){e.exports=o;var r=n(284).EventEmitter;function o(){r.call(this)}n(63)(o,r),o.Readable=n(285),o.Writable=n(721),o.Duplex=n(722),o.Transform=n(723),o.PassThrough=n(724),o.Stream=o,o.prototype.pipe=function(e,t){var n=this;function o(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function i(){n.readable&&n.resume&&n.resume()}n.on("data",o),e.on("drain",i),e._isStdio||t&&!1===t.end||(n.on("end",a),n.on("close",l));var s=!1;function a(){s||(s=!0,e.end())}function l(){s||(s=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){if(u(),0===r.listenerCount(this,"error"))throw e}function u(){n.removeListener("data",o),e.removeListener("drain",i),n.removeListener("end",a),n.removeListener("close",l),n.removeListener("error",c),e.removeListener("error",c),n.removeListener("end",u),n.removeListener("close",u),e.removeListener("close",u)}return n.on("error",c),e.on("error",c),n.on("end",u),n.on("close",u),e.on("close",u),e.emit("pipe",n),e}},function(e,t){},function(e,t,n){"use strict";var r=n(286).Buffer,o=n(715);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);for(var t,n,o,i=r.allocUnsafe(e>>>0),s=this.head,a=0;s;)t=s.data,n=i,o=a,t.copy(n,o),a+=s.data.length,s=s.next;return i},e}(),o&&o.inspect&&o.inspect.custom&&(e.exports.prototype[o.inspect.custom]=function(){var e=o.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(717),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(35))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,o,i,s,a,l=1,c={},u=!1,d=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){h(e.data)},r=function(e){i.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(o=d.documentElement,r=function(e){var t=d.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):r=function(e){setTimeout(h,0,e)}:(s="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&h(+t.data.slice(s.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),r=function(t){e.postMessage(s+t,"*")}),f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var o={callback:e,args:t};return c[l]=o,r(l),l++},f.clearImmediate=p}function p(e){delete c[e]}function h(e){if(u)setTimeout(h,0,e);else{var t=c[e];if(t){u=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{p(e),u=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(35),n(91))},function(e,t,n){(function(t){function n(e){try{if(!t.localStorage)return!1}catch(e){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}).call(this,n(35))},function(e,t,n){
17
+ t.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?o-1:0,f=n?-1:1,p=e[t+d];for(d+=f,i=p&(1<<-u)-1,p>>=-u,u+=s;u>0;i=256*i+e[t+d],d+=f,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=f,u-=8);if(0===i)i=1-c;else{if(i===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),i-=c}return(p?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,l,c=8*i-o-1,u=(1<<c)-1,d=u>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?f/l:f*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,o),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;e[n+p]=255&s,p+=h,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[n+p]=255&a,p+=h,a/=256,c-=8);e[n+p-h]|=128*m}},function(e,t,n){e.exports=o;var r=n(284).EventEmitter;function o(){r.call(this)}n(63)(o,r),o.Readable=n(285),o.Writable=n(718),o.Duplex=n(719),o.Transform=n(720),o.PassThrough=n(721),o.Stream=o,o.prototype.pipe=function(e,t){var n=this;function o(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function i(){n.readable&&n.resume&&n.resume()}n.on("data",o),e.on("drain",i),e._isStdio||t&&!1===t.end||(n.on("end",s),n.on("close",l));var a=!1;function s(){a||(a=!0,e.end())}function l(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){if(u(),0===r.listenerCount(this,"error"))throw e}function u(){n.removeListener("data",o),e.removeListener("drain",i),n.removeListener("end",s),n.removeListener("close",l),n.removeListener("error",c),e.removeListener("error",c),n.removeListener("end",u),n.removeListener("close",u),e.removeListener("close",u)}return n.on("error",c),e.on("error",c),n.on("end",u),n.on("close",u),e.on("close",u),e.emit("pipe",n),e}},function(e,t){},function(e,t,n){"use strict";var r=n(286).Buffer,o=n(712);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);for(var t,n,o,i=r.allocUnsafe(e>>>0),a=this.head,s=0;a;)t=a.data,n=i,o=s,t.copy(n,o),s+=a.data.length,a=a.next;return i},e}(),o&&o.inspect&&o.inspect.custom&&(e.exports.prototype[o.inspect.custom]=function(){var e=o.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(714),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(46))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,o,i,a,s,l=1,c={},u=!1,d=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){h(e.data)},r=function(e){i.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(o=d.documentElement,r=function(e){var t=d.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):r=function(e){setTimeout(h,0,e)}:(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&h(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),r=function(t){e.postMessage(a+t,"*")}),f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var o={callback:e,args:t};return c[l]=o,r(l),l++},f.clearImmediate=p}function p(e){delete c[e]}function h(e){if(u)setTimeout(h,0,e);else{var t=c[e];if(t){u=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{p(e),u=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(46),n(91))},function(e,t,n){(function(t){function n(e){try{if(!t.localStorage)return!1}catch(e){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}).call(this,n(46))},function(e,t,n){
31
18
  /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
32
- var r=n(74),o=r.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function s(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=s),s.prototype=Object.create(o.prototype),i(o,s),s.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},s.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=o(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},s.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t,n){"use strict";e.exports=i;var r=n(506),o=Object.create(n(75));function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}o.inherits=n(63),o.inherits(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},function(e,t,n){e.exports=n(287)},function(e,t,n){e.exports=n(51)},function(e,t,n){e.exports=n(285).Transform},function(e,t,n){e.exports=n(285).PassThrough},function(e,t,n){var r=n(289),o=n(501);e.exports=function(e,t){var n,i,s;return n=function(e){var t=r.copyOptions(e);return r.ensureSpacesExists(t),t}(t),i=o(e,n),s="compact"in n&&n.compact?"_parent":"parent",("addParent"in n&&n.addParent?JSON.stringify(i,(function(e,t){return e===s?"_":t}),n.spaces):JSON.stringify(i,null,n.spaces)).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}},function(e,t,n){(function(t){var r=n(507);e.exports=function(e,n){e instanceof t&&(e=e.toString());var o=null;if("string"==typeof e)try{o=JSON.parse(e)}catch(e){throw new Error("The JSON structure is invalid")}else o=e;return r(o,n)}}).call(this,n(74).Buffer)},function(e,t,n){"use strict";n.r(t);var r=n(344),o=n(193);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(345),o=n(195);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(346),o=n(197);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(347),o=n(199);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(348),o=n(201);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(349),o=n(203);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(351),o=n(207);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"0f234b21",null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(352),o=n(209);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(736);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"ede7bae2",null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(353),o=n(211);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"7286ef0e",null);t.default=a.exports},function(e,t,n){"use strict";n(519)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,'\r\n/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/\n.properties-editor[data-v-ede7bae2] .el-dialog__body{\r\n padding-top: 0\n}\r\n',"",{version:3,sources:["packages/workflow-editor/src/properties-editors/transition.vue"],names:[],mappings:";AAqEA,qEAAA;AACA;EACA;AACA",file:"transition.vue?vue&type=style&index=0&id=ede7bae2&prod&scoped=true&lang=css&",sourcesContent:['<template>\r\n <el-dialog\r\n visible\r\n :title="$t(\'workflowEditor.transition.flowProperties\')"\r\n :center="true"\r\n top="10vh"\r\n append-to-body\r\n custom-class="properties-editor"\r\n @open="$emit(\'open\')"\r\n @opend="$emit(\'opend\')"\r\n @close="$emit(\'close\')"\r\n @closed="$emit(\'closed\')"\r\n >\r\n <el-tabs v-model="activeTab" type="border-card">\r\n <el-tab-pane :label="$t(\'workflowEditor.transition.basicProperties\')" name="basicProperties">\r\n <basic-properties :id="model.ref.attr.id" :model="model.ref.basicProperties" :source-tache-type="model.startJoint.parent.type" />\r\n </el-tab-pane>\r\n <el-tab-pane :label="$t(\'workflowEditor.transition.notificationSettings\')" name="inform">\r\n <notice v-model="model.ref.inform" :switch-label="$t(\'workflowEditor.transition.sendNotificationAfterFlow\')" />\r\n </el-tab-pane>\r\n <el-tab-pane :label="$t(\'workflowEditor.transition.autoFillInFieldSettings\')" name="autoFilledFields">\r\n <auto-filled-fields v-model="model.ref.autoFilledFields" />\r\n </el-tab-pane>\r\n\r\n <el-tab-pane :label="$t(\'workflowEditor.transition.eventProcessing\')" name="events">\r\n <el-form>\r\n <el-form-item :label="$t(\'workflowEditor.transition.triggerFlowThroughEvent\')">\r\n <el-switch v-model="model.ref.onTransit" />\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.transition.beanName\')">\r\n <el-input v-model="model.ref.beanName" />\r\n </el-form-item>\r\n </el-form>\r\n </el-tab-pane>\r\n </el-tabs>\r\n </el-dialog>\r\n</template>\r\n\r\n<script>\r\nimport Notice from \'./common/notice\'\r\nimport AutoFilledFields from \'./common/auto-filled-fields\'\r\nimport BasicProperties from \'./transition/basic-properties\'\r\nexport default {\r\n name: \'TransitionPropertiesEditor\',\r\n components: {\r\n Notice,\r\n AutoFilledFields,\r\n BasicProperties\r\n },\r\n props: {\r\n model: {\r\n type: Object,\r\n default: null\r\n }\r\n },\r\n data() {\r\n return {\r\n activeTab: \'basicProperties\'\r\n }\r\n },\r\n mounted() {\r\n this.$watch(\'model.ref.basicProperties.remark\', function(newVal) {\r\n this.model.remark = newVal\r\n })\r\n }\r\n}\r\n<\/script>\r\n\r\n<style scoped>\r\n/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/\r\n.properties-editor >>> .el-dialog__body{\r\n padding-top: 0\r\n}\r\n</style>\r\n']}])},function(e,t,n){"use strict";n.r(t);var r=n(354),o=n(213);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"e6e264bc",null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(355),o=n(215);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"47040704",null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(356),o=n(217);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"4f7d5932",null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(357),o=n(219);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(748);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"1974a482",null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(358),o=n(221);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(743);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"0d4db702",null);t.default=a.exports},function(e,t,n){"use strict";n(525)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"\n.percent[data-v-0d4db702]{\r\n margin-left: 10px;\r\n color:red;\r\n font-size:1.2em;\n}\r\n","",{version:3,sources:["packages/workflow-editor/src/properties-editors/copy-task/basic-properties.vue"],names:[],mappings:";AAoFA;EACA,iBAAA;EACA,SAAA;EACA,eAAA;AACA",file:"basic-properties.vue?vue&type=style&index=0&id=0d4db702&prod&scoped=true&lang=css&",sourcesContent:['<template>\r\n <el-form :model="formModel" label-width="110px">\r\n <el-row>\r\n <el-col :span="12">\r\n <el-form-item :label="$t(\'workflowEditor.task.name\')">\r\n \x3c!-- <el-input v-model="formModel.name" /> --\x3e\r\n <i18n-input v-model="formModel.name" :i18n-key="tache.i18nKey?tache.i18nKey:\'name.\'+formModel.id" @setI18n="setI18nValue" />\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span="12">\r\n <el-form-item :label="$t(\'workflowEditor.task.code\')">\r\n <el-input v-model="formModel.id" @blur="validateId" />\r\n </el-form-item>\r\n </el-col>\r\n </el-row>\r\n <el-form-item :label="$t(\'workflowEditor.task.taskTitle\')">\r\n <task-title v-model="tache.taskTitle" />\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.task.emailNotification\')">\r\n <el-switch v-model="tache.mailNotice" />\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.task.handlingPage\')">\r\n <el-input v-model="tache.taskUrl" />\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.task.remarks\')">\r\n <el-input v-model="tache.remark" type="textarea" autosize />\r\n </el-form-item>\r\n </el-form>\r\n</template>\r\n<script>\r\nimport TaskTitle from \'../common/task-title\'\r\nimport { validateTacheCode } from \'../../util\'\r\nimport i18nInput from \'../common/i18n-input\'\r\nexport default {\r\n name: \'BasicProperties\',\r\n components: {\r\n TaskTitle,\r\n i18nInput\r\n },\r\n props: {\r\n model: {\r\n type: Object,\r\n default: null\r\n },\r\n id: {\r\n type: String,\r\n default: null\r\n },\r\n name: {\r\n type: String,\r\n default: null\r\n }\r\n },\r\n data() {\r\n return {\r\n formModel: {\r\n name: this.name,\r\n id: this.id,\r\n tache: this.model\r\n }\r\n }\r\n },\r\n computed: {\r\n tache() {\r\n return this.model\r\n }\r\n },\r\n mounted() {\r\n // 支持.snyc修饰符的写法\r\n this.$watch(\'formModel.name\', function(newVal, oldVal) {\r\n this.$emit(\'update:name\', newVal)\r\n })\r\n },\r\n methods: {\r\n validateId() {\r\n validateTacheCode(this)\r\n },\r\n setI18nValue(i18nKey) {\r\n this.tache.i18nKey = i18nKey\r\n }\r\n }\r\n}\r\n<\/script>\r\n<style scoped>\r\n.percent{\r\n margin-left: 10px;\r\n color:red;\r\n font-size:1.2em;\r\n}\r\n</style>\r\n']}])},function(e,t,n){"use strict";n.r(t);var r=n(359),o=n(223);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(746);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"3d943ddb",null);t.default=a.exports},function(e,t,n){"use strict";n(527)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"\n.el-checkbox[data-v-3d943ddb]{\n margin-left: 20px;\n}\n","",{version:3,sources:["packages/workflow-editor/src/properties-editors/copy-task/permission-settings.vue"],names:[],mappings:";AA4JA;EACA,iBAAA;AACA",file:"permission-settings.vue?vue&type=style&index=0&id=3d943ddb&prod&scoped=true&lang=css&",sourcesContent:['<template>\r\n <el-form :model="formModel">\r\n <el-form-item :label="$t(\'workflowEditor.task.allowViews\')">\r\n <el-switch v-model="formModel.viewOpinion.permission" />\r\n <el-checkbox v-if="formModel.viewOpinion.permission" v-model="formModel.viewOpinionCheckbox">\r\n {{ $t(\'workflowEditor.task.additionalConditions\') }}\r\n </el-checkbox>\r\n <additional-condition v-if="formModel.viewOpinion.permission&&formModel.viewOpinionCheckbox" v-model="formModel.viewOpinion.condition" />\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.task.allowToViewCountersignatureResults\')">\r\n <el-switch v-model="formModel.viewMeetingResult.permission" />\r\n <el-checkbox v-if="formModel.viewMeetingResult.permission" v-model="formModel.viewMeetingResultCheckbox">\r\n {{ $t(\'workflowEditor.task.additionalConditions\') }}\r\n </el-checkbox>\r\n <additional-condition v-if="formModel.viewMeetingResult.permission&&formModel.viewMeetingResultCheckbox" v-model="formModel.viewMeetingResult.condition" />\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.task.allowToViewVotingResults\')">\r\n <el-switch v-model="formModel.viewVoteResult.permission" />\r\n <el-checkbox v-if="formModel.viewVoteResult.permission" v-model="formModel.viewVoteResultCheckbox">\r\n {{ $t(\'workflowEditor.task.additionalConditions\') }}\r\n </el-checkbox>\r\n <additional-condition v-if="formModel.viewVoteResult.permission&&formModel.viewVoteResultCheckbox" v-model="formModel.viewVoteResult.condition" />\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.task.allowToViewFlowHistory\')">\r\n <el-switch v-model="formModel.viewFlowHistory.permission" />\r\n <el-checkbox v-if="formModel.viewFlowHistory.permission" v-model="formModel.viewFlowHistoryCheckbox">\r\n {{ $t(\'workflowEditor.task.additionalConditions\') }}\r\n </el-checkbox>\r\n <additional-condition v-if="formModel.viewFlowHistory.permission&&formModel.viewFlowHistoryCheckbox" v-model="formModel.viewFlowHistory.condition" />\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.task.allowFormsToPrint\')">\r\n <el-switch v-model="formModel.printForm.permission" />\r\n <el-checkbox v-if="formModel.printForm.permission" v-model="formModel.printFormCheckbox">\r\n {{ $t(\'workflowEditor.task.additionalConditions\') }}\r\n </el-checkbox>\r\n <additional-condition v-if="formModel.printForm.permission&&formModel.printFormCheckbox" v-model="formModel.printForm.condition" />\r\n </el-form-item>\r\n <el-form-item :label="$t(\'workflowEditor.task.attachmentAuthority\')">\r\n <el-switch v-model="formModel.attachment.permission" />\r\n </el-form-item>\r\n <el-card v-if="formModel.attachment.permission" class="box-card">\r\n <el-form-item :label="$t(\'workflowEditor.task.downloadAttachment\')">\r\n <el-switch v-model="formModel.attachment.download.permission" />\r\n <el-checkbox v-if="formModel.attachment.download.permission" v-model="formModel.attachment.downloadCheckbox">\r\n {{ $t(\'workflowEditor.task.additionalConditions\') }}\r\n </el-checkbox>\r\n <additional-condition v-if="formModel.attachment.download.permission&&formModel.attachment.downloadCheckbox" v-model="formModel.attachment.download.condition" />\r\n </el-form-item>\r\n </el-card>\r\n <el-form-item :label="$t(\'workflowEditor.task.bodyPermission\')">\r\n <el-switch v-model="formModel.officialText.permission" />\r\n </el-form-item>\r\n </el-form>\r\n</template>\r\n<script>\r\nimport AdditionalCondition from \'../common/additional-condition\'\r\nimport { deepCopy } from \'../../util\'\r\nexport default {\r\n name: \'PermissionSettings\',\r\n components: {\r\n AdditionalCondition\r\n },\r\n props: {\r\n value: {\r\n type: Object,\r\n default: null\r\n }\r\n },\r\n data() {\r\n const formModel = deepCopy(this.value)\r\n // 控制附加条件的属性名\r\n const attrNames = [\r\n \'viewOpinion\', \'viewMeetingResult\', \'viewVoteResult\',\r\n \'viewFlowHistory\', \'printForm\'\r\n ]\r\n attrNames.forEach(name => {\r\n // 如果是\'\'或者undefined,那么两次!后就是false\r\n formModel[name + \'Checkbox\'] = !!this.value[name].condition\r\n })\r\n // 控制附件各个权限的附加条件的属性名\r\n const attachmentAttrNames = [\r\n \'download\'\r\n ]\r\n attachmentAttrNames.forEach(item => {\r\n // 如果是\'\'或者undefined,那么两次!后就是false\r\n formModel.attachment[name + \'Checkbox\'] = !!this.value.attachment[name] && !!this.value.attachment[name].condition\r\n if (!formModel.attachment.permission) {\r\n formModel.attachment[name] = {\r\n permission: false,\r\n condition: \'\'\r\n }\r\n }\r\n })\r\n\r\n return {\r\n formModel,\r\n attrNames,\r\n attachmentAttrNames\r\n }\r\n },\r\n mounted() {\r\n this.$watch(\'formModel\', function(formModel) {\r\n const result = {\r\n viewOpinion: { },\r\n viewMeetingResult: { },\r\n viewVoteResult: { },\r\n viewFlowHistory: { },\r\n printForm: { },\r\n officialText: { },\r\n attachment: { }\r\n }\r\n this.attrNames.map(name => {\r\n // permission为true且附件条件的checkbox也选中了,condition才有效\r\n result[name].permission = formModel[name].permission\r\n if (formModel[name].permission && formModel[name + \'Checkbox\']) {\r\n result[name].condition = formModel[name].condition\r\n } else {\r\n result[name].condition = \'\'\r\n }\r\n })\r\n\r\n result.attachment.permission = formModel.attachment.permission\r\n // 允许设置附件权限时,add,delete等的权限设置才有效,否则根本不生成add,delete等对应的json\r\n if (formModel.attachment.permission) {\r\n this.attachmentAttrNames.map(name => {\r\n // 需要避免result的add,delete等属性为undefined\r\n if (!result.attachment[name])result.attachment[name] = {}\r\n // attachment不是undefined并且对应的add,delete等属性的permission为true\r\n result.attachment[name].permission = formModel.attachment[name].permission\r\n // permission为true且附件条件的checkbox也选中了,condition才有效\r\n if (formModel.attachment[name].permission && formModel.attachment[name + \'Checkbox\']) {\r\n result.attachment[name].condition = formModel.attachment[name].condition\r\n } else {\r\n result.attachment[name].condition = \'\'\r\n }\r\n })\r\n }\r\n\r\n // 正文权限暂不处理\r\n\r\n this.$emit(\'input\', result)\r\n }, {\r\n deep: true\r\n })\r\n },\r\n methods: {\r\n\r\n }\r\n}\r\n<\/script>\r\n<style scoped>\r\n .el-checkbox{\r\n margin-left: 20px;\r\n }\r\n</style>\r\n']}])},function(e,t,n){"use strict";n(528)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,'\r\n/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/\n.properties-editor[data-v-1974a482] .el-dialog__body{\r\n padding-top: 0\n}\r\n',"",{version:3,sources:["packages/workflow-editor/src/properties-editors/copy-task.vue"],names:[],mappings:";AA0EA,qEAAA;AACA;EACA;AACA",file:"copy-task.vue?vue&type=style&index=0&id=1974a482&prod&scoped=true&lang=css&",sourcesContent:['<template>\r\n <el-dialog\r\n visible\r\n :title="$t(\'workflowEditor.task.propertiesOfCCTask\')"\r\n :center="true"\r\n top="10vh"\r\n append-to-body\r\n custom-class="properties-editor"\r\n @open="$emit(\'open\')"\r\n @opend="$emit(\'opend\')"\r\n @close="$emit(\'close\')"\r\n @closed="$emit(\'closed\')"\r\n >\r\n <el-tabs v-model="activeTab" type="border-card" @tab-click="handleClick">\r\n <el-tab-pane :label="$t(\'workflowEditor.task.basicProperties\')" name="basicProperties">\r\n <basic-properties\r\n :id.sync="model.ref.attr.id"\r\n :name.sync="model.ref.attr.name"\r\n :model="model.ref.basicProperties"\r\n />\r\n </el-tab-pane>\r\n <el-tab-pane :label="$t(\'workflowEditor.task.settingOfHandler\')" name="transactors">\r\n <transactor-settings :model="model.ref.transactorSettings" used-in="CopyTask" />\r\n </el-tab-pane>\r\n <el-tab-pane :label="$t(\'workflowEditor.task.permissionSettings\')" name="permissions">\r\n <permission-settings v-model="model.ref.permissionSettings" />\r\n </el-tab-pane>\r\n </el-tabs>\r\n </el-dialog>\r\n</template>\r\n<script>\r\nimport BasicProperties from \'./copy-task/basic-properties\'\r\nimport PermissionSettings from \'./copy-task/permission-settings\'\r\nimport TransactorSettings from \'./common/transactor-settings\'\r\nexport default {\r\n name: \'HumanTaskPropertiesEditor\',\r\n components: {\r\n BasicProperties,\r\n TransactorSettings,\r\n PermissionSettings\r\n },\r\n props: {\r\n model: {\r\n type: Object,\r\n default: null\r\n }\r\n },\r\n data() {\r\n console.log(this.model)\r\n return {\r\n activeTab: \'basicProperties\'\r\n }\r\n },\r\n computed: {\r\n formModel() {\r\n return this.model.ref\r\n }\r\n },\r\n mounted() {\r\n this.$watch(\'model.ref.attr.id\', function(newVal, oldVal) {\r\n this.model.id = newVal\r\n })\r\n this.$watch(\'model.ref.attr.name\', function(newVal, oldVal) {\r\n this.model.name = newVal\r\n })\r\n },\r\n methods: {\r\n handleClick(tab, event) {\r\n // console.log(tab, event)\r\n }\r\n }\r\n}\r\n<\/script>\r\n<style scoped>\r\n/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/\r\n.properties-editor >>> .el-dialog__body{\r\n padding-top: 0\r\n}\r\n</style>\r\n\r\n']}])},function(e,t,n){"use strict";n.r(t);var r=n(360),o=n(225);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(755);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"1ea26573",null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(361),o=n(227);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"18a1744e",null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(362),o=n(229);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(363),o=n(231);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"52c61ac0",null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(364),o=n(233);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"d9095768",null);t.default=a.exports},function(e,t,n){"use strict";n(534)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,'\r\n/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/\n.properties-editor[data-v-1ea26573] .el-dialog__body{\r\n padding-top: 0\n}\r\n',"",{version:3,sources:["packages/workflow-editor/src/properties-editors/subprocess.vue"],names:[],mappings:";AAyEA,qEAAA;AACA;EACA;AACA",file:"subprocess.vue?vue&type=style&index=0&id=1ea26573&prod&scoped=true&lang=css&",sourcesContent:['<template>\r\n <el-dialog\r\n visible\r\n :title="$t(\'workflowEditor.process.propertiesOfSubprocesses\')"\r\n :center="true"\r\n top="10vh"\r\n append-to-body\r\n custom-class="properties-editor"\r\n @open="$emit(\'open\')"\r\n @opend="$emit(\'opend\')"\r\n @close="$emit(\'close\')"\r\n @closed="$emit(\'closed\')"\r\n >\r\n <el-tabs v-model="activeTab" type="border-card" @tab-click="handleClick">\r\n <el-tab-pane :label="$t(\'workflowEditor.process.basicProperties\')" name="basicProperties">\r\n <basic-properties\r\n :id.sync="model.ref.attr.id"\r\n :name.sync="model.ref.attr.name"\r\n :model="model.ref"\r\n />\r\n </el-tab-pane>\r\n <el-tab-pane :label="$t(\'workflowEditor.process.settingOfHandler\')" name="transactors">\r\n <subprocess-transactor-settings v-model="model.ref.transactorSettings" />\r\n </el-tab-pane>\r\n <el-tab-pane :label="$t(\'workflowEditor.process.eventProcessing\')" name="events">\r\n <events :model="model.ref.events" />\r\n </el-tab-pane>\r\n </el-tabs>\r\n </el-dialog>\r\n</template>\r\n<script>\r\nimport BasicProperties from \'./subprocess/basic-properties\'\r\nimport Events from \'./subprocess/events\'\r\nimport SubprocessTransactorSettings from \'./subprocess/transactor-settings\'\r\nexport default {\r\n name: \'SubprocessPropertiesEditor\',\r\n components: {\r\n BasicProperties,\r\n SubprocessTransactorSettings,\r\n Events\r\n },\r\n props: {\r\n model: {\r\n type: Object,\r\n default: null\r\n }\r\n },\r\n data() {\r\n return {\r\n activeTab: \'basicProperties\'\r\n }\r\n },\r\n computed: {\r\n formModel() {\r\n return this.model.ref\r\n }\r\n },\r\n mounted() {\r\n this.$watch(\'model.ref.attr.id\', function(newVal, oldVal) {\r\n this.model.id = newVal\r\n })\r\n this.$watch(\'model.ref.attr.name\', function(newVal, oldVal) {\r\n this.model.name = newVal\r\n })\r\n },\r\n methods: {\r\n handleClick(tab, event) {\r\n // console.log(\'this.model=\', this.model)\r\n }\r\n }\r\n}\r\n<\/script>\r\n<style scoped>\r\n/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/\r\n.properties-editor >>> .el-dialog__body{\r\n padding-top: 0\r\n}\r\n</style>\r\n\r\n']}])},function(e,t,n){"use strict";n(537)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,".tooltip[data-v-dd12406c]{position:absolute;background:#fff;min-width:150px;border-radius:4px;border:1px solid #ebeef5;padding:12px;z-index:2000;color:#606266;line-height:1.4;text-align:justify;font-size:14px;box-shadow:0 2px 12px 0 rgba(0,0,0,0.1);word-break:break-all}\n","",{version:3,sources:["D:/pack/workflow-editor-dev-dw/packages/workflow-editor/src/main/tache-history-tooltip.vue"],names:[],mappings:"AACA,0BACI,iBAAkB,CAClB,eAAgB,CAChB,eAAgB,CAChB,iBAAkB,CAClB,wBAAyB,CACzB,YAAa,CACb,YAAa,CACb,aAAc,CACd,eAAgB,CAChB,kBAAmB,CACnB,cAAe,CACf,uCAAuC,CACvC,oBAAqB",file:"tache-history-tooltip.vue?vue&type=style&index=0&id=dd12406c&prod&lang=scss&scoped=true&",sourcesContent:["\r\n.tooltip{\r\n position: absolute;\r\n background: #fff;\r\n min-width: 150px;\r\n border-radius: 4px;\r\n border: 1px solid #ebeef5;\r\n padding: 12px;\r\n z-index: 2000;\r\n color: #606266;\r\n line-height: 1.4;\r\n text-align: justify;\r\n font-size: 14px;\r\n box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);\r\n word-break: break-all;\r\n}\r\n"]}])},function(e,t,n){"use strict";n(538)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"\n#svg{\n /* border:1px solid red; */\n background: white;\n background-image:\n linear-gradient(rgba(242,242,242,.7) 1px, transparent 0),\n linear-gradient(90deg, rgba(242,242,242,.7) 1px, transparent 0),\n linear-gradient(#e5e5e5 1px, transparent 0),\n linear-gradient(90deg,#e5e5e5 1px, transparent 0);\n background-size:\n 15px 15px,\n 15px 15px,\n 75px 75px,\n 75px 75px;\n}\ng{\n font-size: 16px;\n}\ng text{\n dominant-baseline: middle;\n}\n.selected{\n fill: #fff;\n stroke: #f00;\n stroke-width: 2;\n}\n.task-tache{\n fill: #fff;\n stroke: #666;\n stroke-width: 2;\n}\n","",{version:3,sources:["packages/workflow-editor/src/main/canvas.vue"],names:[],mappings:";AAgeA;EACA,0BAAA;EACA,iBAAA;EACA;;;;uDAIA;EACA;;;;mBAIA;AACA;AACA;EACA,eAAA;AACA;AACA;EACA,yBAAA;AACA;AACA;EACA,UAAA;EACA,YAAA;EACA,eAAA;AACA;AACA;EACA,UAAA;EACA,YAAA;EACA,eAAA;AACA",file:"canvas.vue?vue&type=style&index=0&id=60271756&prod&lang=css&",sourcesContent:["<template>\r\n <div ref=\"svgContainer\" style=\"position:relative\">\r\n <svg\r\n id=\"svg\"\r\n width=\"2000\"\r\n height=\"2000\"\r\n @mousedown=\"mousedown\"\r\n @mousemove=\"mousemove\"\r\n @mouseup=\"mouseup\"\r\n @mouseleave=\"mouseleave\"\r\n @dblclick=\"setPropertiesEditorFor('Process')\"\r\n >\r\n <defs>\r\n <marker id=\"arrow\" markerWidth=\"10\" markerHeight=\"10\" refX=\"6\" refY=\"2\" orient=\"auto\" markerUnits=\"strokeWidth\">\r\n <path d=\"M0,0 L0,4 L6,2 z\" fill=\"#666\" />\r\n </marker>\r\n </defs>\r\n <component\r\n :is=\"tache.type\"\r\n v-for=\"tache in taches\"\r\n :key=\"tache.id\"\r\n :model=\"tache\"\r\n @mouseenter.native=\"showTacheHistoryTooltip\"\r\n @mouseleave.native=\"hideTacheHistoryTooltip\"\r\n @mousemove.native=\"updateTacheHistoryTooltipPosition\"\r\n />\r\n <transition\r\n v-for=\"transition in transitions\"\r\n :key=\"transition.id\"\r\n :model=\"transition\"\r\n />\r\n <virtual-transition :toPosition=\"currentPosition\" />\r\n <selection-region :region=\"region\" />\r\n </svg>\r\n <component\r\n :is=\"propertiesEditorFor+'PropertiesEditor'\"\r\n v-if=\"!showHistory&&propertiesEditorFor\"\r\n :model=\"selectedTaches[0]||selectedTransition||process\"\r\n @close=\"setPropertiesEditorFor('')\"\r\n />\r\n <tache-history-tooltip v-if=\"showHistory&&showTacheHistory\" :style=\"tooltipPosition\" />\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport Start from '../taches/start'\r\nimport End from '../taches/end'\r\nimport HumanTask from '../taches/human-task'\r\nimport Decision from '../taches/decision'\r\nimport Subprocess from '../taches/subprocess'\r\nimport CustomTask from '../taches/custom-task'\r\nimport Fork from '../taches/fork'\r\nimport Join from '../taches/join'\r\nimport HumanDecision from '../taches/human-decision'\r\nimport CopyTask from '../taches/copy-task'\r\nimport Transition from '../transitions/transition'\r\nimport VirtualTransition from '../transitions/virtual-transition'\r\nimport SelectionRegion from './selection-region'\r\nimport HumanTaskPropertiesEditor from '../properties-editors/human-task'\r\nimport ProcessPropertiesEditor from '../properties-editors/process'\r\nimport DecisionPropertiesEditor from '../properties-editors/decision'\r\nimport TransitionPropertiesEditor from '../properties-editors/transition'\r\nimport ForkPropertiesEditor from '../properties-editors/fork'\r\nimport JoinPropertiesEditor from '../properties-editors/join'\r\nimport HumanDecisionPropertiesEditor from '../properties-editors/human-decision'\r\nimport CopyTaskPropertiesEditor from '../properties-editors/copy-task'\r\nimport SubprocessPropertiesEditor from '../properties-editors/subprocess'\r\nimport TacheHistoryTooltip from './tache-history-tooltip'\r\nimport { mapGetters, mapMutations } from 'vuex'\r\nimport { getMousePosition, getVirtualRegion, getRealRegion, clearAllSelectedComponents } from '../util'\r\n\r\nexport default {\r\n name: 'Canvas',\r\n components: {\r\n Start,\r\n End,\r\n HumanTask,\r\n Decision,\r\n Subprocess,\r\n CustomTask,\r\n Fork,\r\n Join,\r\n HumanDecision,\r\n CopyTask,\r\n Transition,\r\n VirtualTransition,\r\n SelectionRegion,\r\n HumanTaskPropertiesEditor,\r\n ProcessPropertiesEditor,\r\n DecisionPropertiesEditor,\r\n TransitionPropertiesEditor,\r\n ForkPropertiesEditor,\r\n JoinPropertiesEditor,\r\n HumanDecisionPropertiesEditor,\r\n CopyTaskPropertiesEditor,\r\n SubprocessPropertiesEditor,\r\n TacheHistoryTooltip\r\n },\r\n props: {\r\n process: {\r\n type: Object,\r\n default: null\r\n },\r\n showHistory: {\r\n type: Boolean,\r\n default: false\r\n }\r\n },\r\n data: function() {\r\n return {\r\n inputArea: null,\r\n currentPosition: null,\r\n originPosition: null,\r\n offset: null,\r\n startPoint: null,\r\n region: null,\r\n endPoint: null,\r\n transitionsInRegion: [],\r\n showTacheHistory: false,\r\n tooltipPosition: null\r\n }\r\n },\r\n computed: {\r\n ...mapGetters('wfEditor', [\r\n 'taches',\r\n 'transitions',\r\n 'isMovingTache',\r\n 'mouseDownPosition',\r\n 'startJoint',\r\n 'endJoint',\r\n 'isDrawingRegion',\r\n 'isMovingRegion',\r\n 'selectedTransition',\r\n 'selectedTaches',\r\n 'resizerToMove',\r\n 'draggerToMove',\r\n 'controlPointToMove',\r\n 'propertiesEditorFor',\r\n 'contextMenuVisible'\r\n ])\r\n },\r\n mounted: function() {\r\n\r\n },\r\n methods: {\r\n ...mapMutations('wfEditor', [\r\n 'setTaches',\r\n 'setTransitions',\r\n 'resetState',\r\n 'setMovingTache',\r\n 'stopDrawingLine',\r\n 'setSelectedTaches',\r\n 'setDrawingRegion',\r\n 'setResizerToMove',\r\n 'setDraggerToMove',\r\n 'setControlPointToMove',\r\n 'setPropertiesEditorFor'\r\n ]),\r\n forbidSelection() {\r\n return false\r\n },\r\n add: function() {\r\n // const tache = new TacheUI(this.snap, 50, 50)\r\n // tache.draw()\r\n },\r\n // 各个组件上的mousedown,组件会自行处理,不会传播到canvas上来,这里发生的mousedown表示点击了canvas的空白区域\r\n mousedown(event) {\r\n console.log('mousedown')\r\n // 鼠标按下时先清除上次选中的环节\r\n this.unselectAll()\r\n\r\n // 准备画新的选择区域\r\n // isDrawingRegion标识是否可以开始画选择区域了,当mouseup时会重置\r\n this.setDrawingRegion(true)\r\n // startPoint和endPoint记录选择区域的起点和终点,当mouseup的时候如果有选中的tache则保留值,没有选中则清空值\r\n this.startPoint = getMousePosition(event)\r\n },\r\n mousemove(event) {\r\n // console.log('mousemove')\r\n // 显示流转历史的时候不需要拖动环节\r\n if (this.showHistory) return\r\n // 给起始位置附上初始值,这个起始位置是个相对概念,每次mousemove后,这个值就变成最新的鼠标位置,作为下一次mousemove的起点\r\n if (!this.originPosition && this.mouseDownPosition) {\r\n this.originPosition = this.mouseDownPosition\r\n }\r\n this.currentPosition = getMousePosition(event)\r\n if (this.isMovingTache) {\r\n this.moveTache(this.selectedTaches[0])\r\n }\r\n this.drawVirtualSelectionRegion()\r\n\r\n this.moveSelectionRegion()\r\n\r\n this.resizeSelectedTache()\r\n\r\n this.moveTransition()\r\n\r\n this.adjustCurveLine()\r\n\r\n this.originPosition = this.currentPosition\r\n },\r\n // 有些组件上的mouseup,会传播到canvas上来\r\n mouseup(event) {\r\n console.log('mouseup')\r\n if (this.isMovingTache) {\r\n this.setMovingTache(false)\r\n }\r\n // 在画布的空白地方mouseup时,停止画虚拟的流向,此时没有找到任何endJoint(在joint上mouseup才会设置endJoint)\r\n if (this.startJoint) {\r\n this.stopDrawingLine()\r\n }\r\n // 鼠标起来时,需要判断是否选中了tache,并显示选择区域\r\n this.drawRegionWhenNeeded()\r\n\r\n // tache变到最小时,继续移动鼠标会从resizer上移出去,如果此时松开鼠标就不会触发resizer的mouseup\r\n if (this.resizerToMove) {\r\n this.setResizerToMove(null)\r\n }\r\n\r\n this.resetMovedTransition()\r\n },\r\n mouseleave(event) {\r\n this.drawRegionWhenNeeded()\r\n\r\n this.resetMovedTransition()\r\n\r\n this.resetState()\r\n },\r\n drawRegionWhenNeeded() {\r\n if (this.isDrawingRegion) {\r\n this.selectComponents()\r\n this.drawRealSelectionRegion()\r\n this.setDrawingRegion(false)\r\n }\r\n },\r\n resetMovedTransition() {\r\n // 如果正在移动transition,那么要清除掉状态,并还原transition的位置\r\n if (this.draggerToMove) {\r\n this.draggerToMove.owner.startJoint = this.draggerToMove.originStartJoint\r\n this.draggerToMove.owner.endJoint = this.draggerToMove.originEndJoint\r\n this.setDraggerToMove(null)\r\n }\r\n },\r\n unselectAll() {\r\n clearAllSelectedComponents()\r\n // 选中的线也清除掉,此时线的状态并不是selected,这个只是为了移动控制点而增加的组件变量\r\n this.transitionsInRegion = []\r\n this.startPoint = null\r\n this.region = null\r\n },\r\n selectComponents() {\r\n // 如果选择区域缺少起点或终点,那么不需要选中任何东西,同时清除已有起点或者终点信息\r\n if (!this.startPoint || !this.region) {\r\n this.startPoint = null\r\n this.region = null\r\n return\r\n }\r\n // 判断环节是否在选择区域里面,如果在就选中\r\n for (const tache of this.taches) {\r\n if (this.isInsideSelectionRegion(tache)) {\r\n tache.isSelected = true\r\n this.selectedTaches.push(tache)\r\n }\r\n }\r\n\r\n for (const transition of this.transitions) {\r\n if (transition.startJoint.parent.isSelected && transition.endJoint.parent.isSelected) {\r\n this.transitionsInRegion.push(transition)\r\n }\r\n }\r\n },\r\n isInsideSelectionRegion(tache) {\r\n const isLeftTopCornerInside = (tache.x >= this.region.x && tache.y >= this.region.y)\r\n const isRightDownCornerInside = ((tache.x + tache.width) <= (this.region.x + this.region.width) && (tache.y + tache.height) <= (this.region.y + this.region.height))\r\n return isLeftTopCornerInside && isRightDownCornerInside\r\n },\r\n moveTache(tache) {\r\n const x = this.currentPosition.x - this.originPosition.x\r\n const y = this.currentPosition.y - this.originPosition.y\r\n tache.x += x\r\n tache.y += y\r\n if (tache.x < 0) {\r\n tache.x = 2\r\n }\r\n if (tache.y < 0) {\r\n tache.y = 2\r\n }\r\n },\r\n\r\n drawVirtualSelectionRegion() {\r\n if (this.isDrawingRegion && this.startPoint) {\r\n this.region = getVirtualRegion(this.startPoint, this.currentPosition)\r\n }\r\n },\r\n drawRealSelectionRegion() {\r\n // 如果只选中了一个环节,那么选择区域也不需要显示了,这时把起点和region也重置了\r\n if (this.selectedTaches.length <= 1) {\r\n this.startPoint = null\r\n this.region = null\r\n return\r\n }\r\n\r\n this.region = getRealRegion(this.selectedTaches)\r\n // this.startPoint = area.startPoint\r\n },\r\n moveSelectionRegion() {\r\n if (!this.isMovingRegion) {\r\n return\r\n }\r\n // 移动选择区域\r\n let dx = this.currentPosition.x - this.originPosition.x\r\n let dy = this.currentPosition.y - this.originPosition.y\r\n // 控制不能移出canvas的边界,保留2像素的间距\r\n if (this.region.x + dx < 0) {\r\n dx = 2 - this.region.x\r\n }\r\n if (this.region.y + dy < 0) {\r\n dy = 2 - this.region.y\r\n }\r\n this.region.x = this.region.x + dx\r\n this.region.y = this.region.y + dy\r\n\r\n this.moveTachesInRegion(dx, dy)\r\n this.moveTransitionControlPoints(dx, dy)\r\n },\r\n moveTachesInRegion(dx, dy) {\r\n for (const tache of this.selectedTaches) {\r\n tache.x += dx\r\n tache.y += dy\r\n }\r\n },\r\n moveTransitionControlPoints(dx, dy) {\r\n for (const transition of this.transitionsInRegion) {\r\n if (transition.lineInfo.type === 'CurveLine') {\r\n transition.lineInfo.controlPoint.x += dx\r\n transition.lineInfo.controlPoint.y += dy\r\n } else if (transition.lineInfo.type === 'BrokenLine') {\r\n transition.lineInfo.controlPoint.forEach(point => {\r\n point.x += dx\r\n point.y += dy\r\n })\r\n }\r\n }\r\n },\r\n resizeSelectedTache() {\r\n if (!this.resizerToMove) {\r\n return\r\n }\r\n let dx = this.currentPosition.x - this.originPosition.x\r\n let dy = this.currentPosition.y - this.originPosition.y\r\n const tache = this.resizerToMove.owner\r\n /**\r\n * 1.拖动某个resizer时,对角线上的另一个resizer是不动的\r\n * 2.拖动不同的resizer时,dx,dy即使出现负数时也可能是变大,这个时候就得做减法了\r\n */\r\n switch (this.resizerToMove.position) {\r\n case 'NW':\r\n if (tache.width - dx < 80) {\r\n dx = tache.width - 80\r\n }\r\n if (tache.height - dy < 40) {\r\n dy = tache.height - 40\r\n }\r\n tache.width -= dx\r\n tache.height -= dy\r\n tache.x += dx\r\n tache.y += dy\r\n break\r\n case 'NE':\r\n if (tache.width + dx < 80) {\r\n dx = 80 - tache.width\r\n }\r\n if (tache.height - dy < 40) {\r\n dy = tache.height - 40\r\n }\r\n tache.width += dx\r\n tache.height -= dy\r\n tache.y += dy\r\n break\r\n case 'SW':\r\n if (tache.width - dx < 80) {\r\n dx = tache.width - 80\r\n }\r\n if (tache.height + dy < 40) {\r\n dy = 40 - tache.height\r\n }\r\n tache.width -= dx\r\n tache.height += dy\r\n tache.x += dx\r\n break\r\n case 'SE':\r\n if (tache.width + dx < 80) {\r\n dx = 80 - tache.width\r\n }\r\n if (tache.height + dy < 40) {\r\n dy = 40 - tache.height\r\n }\r\n tache.width += dx\r\n tache.height += dy\r\n break\r\n }\r\n },\r\n moveTransition() {\r\n if (!this.draggerToMove) {\r\n return\r\n }\r\n const transition = this.draggerToMove.owner\r\n const position = this.draggerToMove.position\r\n const virtualJoint = { parent: this.currentPosition, position: '' }\r\n if (position === 'start') {\r\n transition.startJoint = virtualJoint\r\n } else {\r\n transition.endJoint = virtualJoint\r\n }\r\n },\r\n adjustCurveLine() {\r\n if (!this.controlPointToMove) {\r\n return\r\n }\r\n const transition = this.controlPointToMove.owner\r\n if (transition.lineInfo && transition.lineInfo.type === 'CurveLine') {\r\n transition.lineInfo.controlPoint = this.currentPosition\r\n } else if (transition.lineInfo && transition.lineInfo.type === 'BrokenLine') {\r\n const pointIndex = this.controlPointToMove.pointIndex\r\n const controlPoints = transition.lineInfo.controlPoint\r\n this.$set(controlPoints, pointIndex, this.currentPosition)\r\n }\r\n },\r\n endDrag(event) {\r\n\r\n },\r\n showTacheHistoryTooltip(event) {\r\n this.showTacheHistory = true\r\n },\r\n hideTacheHistoryTooltip() {\r\n this.showTacheHistory = false\r\n },\r\n updateTacheHistoryTooltipPosition(event) {\r\n const position = getMousePosition(event)\r\n this.tooltipPosition = {\r\n left: position.x + 'px',\r\n top: position.y + 'px'\r\n }\r\n }\r\n }\r\n}\r\n<\/script>\r\n<style>\r\n #svg{\r\n /* border:1px solid red; */\r\n background: white;\r\n background-image:\r\n linear-gradient(rgba(242,242,242,.7) 1px, transparent 0),\r\n linear-gradient(90deg, rgba(242,242,242,.7) 1px, transparent 0),\r\n linear-gradient(#e5e5e5 1px, transparent 0),\r\n linear-gradient(90deg,#e5e5e5 1px, transparent 0);\r\n background-size:\r\n 15px 15px,\r\n 15px 15px,\r\n 75px 75px,\r\n 75px 75px;\r\n }\r\n g{\r\n font-size: 16px;\r\n }\r\n g text{\r\n dominant-baseline: middle;\r\n }\r\n .selected{\r\n fill: #fff;\r\n stroke: #f00;\r\n stroke-width: 2;\r\n }\r\n .task-tache{\r\n fill: #fff;\r\n stroke: #666;\r\n stroke-width: 2;\r\n }\r\n</style>\r\n"]}])},function(e,t,n){"use strict";n.r(t);var r=n(366),o=n(237);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(762);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"2554d9c6",null);t.default=a.exports},function(e,t,n){"use strict";n(540)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"li[data-v-2554d9c6]{color:#333}.context-menu[data-v-2554d9c6]{position:fixed;background:#fff;z-index:999;padding:5px;margin:0}.context-menu li[data-v-2554d9c6]{min-width:75px;height:28px;line-height:28px;text-align:left;color:#1a1a1a}.context-menu li[data-v-2554d9c6]:hover{background:#42b983;color:#fff}.context-menu[data-v-2554d9c6]{border:1px solid #eee;box-shadow:0 0.5em 1em 0 rgba(0,0,0,0.1);border-radius:5px}li[data-v-2554d9c6]{list-style-type:none}\n","",{version:3,sources:["D:/pack/workflow-editor-dev-dw/packages/workflow-editor/src/main/context-menu.vue"],names:[],mappings:"AACA,oBACE,UAAW,CACZ,+BAEC,cAAe,CACf,eAAgB,CAChB,WAAY,CACZ,WAAW,CACX,QACF,CAAC,kCAEC,cAAe,CACf,WAAY,CACZ,gBAAiB,CACjB,eAAgB,CAChB,aAAc,CACf,wCAEC,kBAAmB,CACnB,UAAW,CACZ,+BAEG,qBAAsB,CACtB,wCAAwC,CACxC,iBAAkB,CACrB,oBAEG,oBAAoB",file:"context-menu.vue?vue&type=style&index=0&id=2554d9c6&prod&lang=scss&scoped=true&",sourcesContent:["\r\nli {\r\n color: #333;\r\n}\r\n.context-menu {\r\n position: fixed;\r\n background: #fff;\r\n z-index: 999;\r\n padding:5px;\r\n margin:0\r\n}\r\n.context-menu li {\r\n min-width: 75px;\r\n height: 28px;\r\n line-height: 28px;\r\n text-align: left;\r\n color: #1a1a1a;\r\n}\r\n.context-menu li:hover {\r\n background: #42b983;\r\n color: #fff;\r\n}\r\n.context-menu {\r\n border: 1px solid #eee;\r\n box-shadow: 0 0.5em 1em 0 rgba(0,0,0,.1);\r\n border-radius: 5px;\r\n}\r\nli {\r\n list-style-type:none;\r\n}\r\n"]}])},function(e,t,n){(function(n){var r,o,i;o=[],void 0===(i="function"==typeof(r=function(){"use strict";function t(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){s(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function r(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function o(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var i="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n&&n.global===n?n:void 0,s=i.saveAs||("object"!=typeof window||window!==i?function(){}:"download"in HTMLAnchorElement.prototype?function(e,n,s){var a=i.URL||i.webkitURL,l=document.createElement("a");n=n||e.name||"download",l.download=n,l.rel="noopener","string"==typeof e?(l.href=e,l.origin===location.origin?o(l):r(l.href)?t(e,n,s):o(l,l.target="_blank")):(l.href=a.createObjectURL(e),setTimeout((function(){a.revokeObjectURL(l.href)}),4e4),setTimeout((function(){o(l)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,n,i){if(n=n||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}(e,i),n);else if(r(e))t(e,n,i);else{var s=document.createElement("a");s.href=e,s.target="_blank",setTimeout((function(){o(s)}))}}:function(e,n,r,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return t(e,n,r);var s="application/octet-stream"===e.type,a=/constructor/i.test(i.HTMLElement)||i.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||s&&a)&&"object"==typeof FileReader){var c=new FileReader;c.onloadend=function(){var e=c.result;e=l?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},c.readAsDataURL(e)}else{var u=i.URL||i.webkitURL,d=u.createObjectURL(e);o?o.location=d:location.href=d,o=null,setTimeout((function(){u.revokeObjectURL(d)}),4e4)}});i.saveAs=s.saveAs=s,e.exports=s})?r.apply(t,o):r)||(e.exports=i)}).call(this,n(35))},function(e,t,n){(function(t){var n=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},o={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,i;switch(n=n||{},o.util.type(t)){case"Object":if(i=o.util.objId(t),n[i])return n[i];for(var s in r={},n[i]=r,t)t.hasOwnProperty(s)&&(r[s]=e(t[s],n));return r;case"Array":return i=o.util.objId(t),n[i]?n[i]:(r=[],n[i]=r,t.forEach((function(t,o){r[o]=e(t,n)})),r);default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=o.util.clone(o.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var i=(r=r||o.languages)[e],s={};for(var a in i)if(i.hasOwnProperty(a)){if(a==t)for(var l in n)n.hasOwnProperty(l)&&(s[l]=n[l]);n.hasOwnProperty(a)||(s[a]=i[a])}var c=r[e];return r[e]=s,o.languages.DFS(o.languages,(function(t,n){n===c&&t!=e&&(this[t]=s)})),s},DFS:function e(t,n,r,i){i=i||{};var s=o.util.objId;for(var a in t)if(t.hasOwnProperty(a)){n.call(t,a,t[a],r||a);var l=t[a],c=o.util.type(l);"Object"!==c||i[s(l)]?"Array"!==c||i[s(l)]||(i[s(l)]=!0,e(l,n,a,i)):(i[s(l)]=!0,e(l,n,null,i))}}},plugins:{},highlightAll:function(e,t){o.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};o.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),o.hooks.run("before-all-elements-highlight",r);for(var i,s=0;i=r.elements[s++];)o.highlightElement(i,!0===t,r.callback)},highlightElement:function(t,n,r){var i=o.util.getLanguage(t),s=o.languages[i];o.util.setLanguage(t,i);var a=t.parentElement;a&&"pre"===a.nodeName.toLowerCase()&&o.util.setLanguage(a,i);var l={element:t,language:i,grammar:s,code:t.textContent};function c(e){l.highlightedCode=e,o.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,o.hooks.run("after-highlight",l),o.hooks.run("complete",l),r&&r.call(l.element)}if(o.hooks.run("before-sanity-check",l),(a=l.element.parentElement)&&"pre"===a.nodeName.toLowerCase()&&!a.hasAttribute("tabindex")&&a.setAttribute("tabindex","0"),!l.code)return o.hooks.run("complete",l),void(r&&r.call(l.element));if(o.hooks.run("before-highlight",l),l.grammar)if(n&&e.Worker){var u=new Worker(o.filename);u.onmessage=function(e){c(e.data)},u.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else c(o.highlight(l.code,l.grammar,l.language));else c(o.util.encode(l.code))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(o.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=o.tokenize(r.code,r.grammar),o.hooks.run("after-tokenize",r),i.stringify(o.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var u=new a;return l(u,u.head,e),function e(t,n,r,a,u,d){for(var f in r)if(r.hasOwnProperty(f)&&r[f]){var p=r[f];p=Array.isArray(p)?p:[p];for(var h=0;h<p.length;++h){if(d&&d.cause==f+","+h)return;var m=p[h],v=m.inside,g=!!m.lookbehind,b=!!m.greedy,w=m.alias;if(b&&!m.pattern.global){var y=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,y+"g")}for(var k=m.pattern||m,_=a.next,x=u;_!==n.tail&&!(d&&x>=d.reach);x+=_.value.length,_=_.next){var A=_.value;if(n.length>t.length)return;if(!(A instanceof i)){var C,T=1;if(b){if(!(C=s(k,x,t,g))||C.index>=t.length)break;var E=C.index,O=C.index+C[0].length,P=x;for(P+=_.value.length;E>=P;)_=_.next,P+=_.value.length;if(P-=_.value.length,x=P,_.value instanceof i)continue;for(var S=_;S!==n.tail&&(P<O||"string"==typeof S.value);S=S.next)T++,P+=S.value.length;T--,A=t.slice(x,P),C.index-=x}else if(!(C=s(k,0,A,g)))continue;E=C.index;var M=C[0],F=A.slice(0,E),R=A.slice(E+M.length),I=x+A.length;d&&I>d.reach&&(d.reach=I);var $=_.prev;F&&($=l(n,$,F),x+=F.length),c(n,$,T);var D=new i(f,v?o.tokenize(M,v):M,w,M);if(_=l(n,$,D),R&&l(n,_,R),T>1){var j={cause:f+","+h,reach:I};e(t,n,r,_.prev,x,j),d&&j.reach>d.reach&&(d.reach=j.reach)}}}}}}(e,u,t,u.head,0),function(e){var t=[],n=e.head.next;for(;n!==e.tail;)t.push(n.value),n=n.next;return t}(u)},hooks:{all:{},add:function(e,t){var n=o.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=o.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function s(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function a(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}function c(e,t,n){for(var r=t.next,o=0;o<n&&r!==e.tail;o++)r=r.next;t.next=r,r.prev=t,e.length-=o}if(e.Prism=o,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach((function(t){r+=e(t,n)})),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},s=t.alias;s&&(Array.isArray(s)?Array.prototype.push.apply(i.classes,s):i.classes.push(s)),o.hooks.run("wrap",i);var a="";for(var l in i.attributes)a+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,"&quot;")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+a+">"+i.content+"</"+i.tag+">"},!e.document)return e.addEventListener?(o.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,s=n.immediateClose;e.postMessage(o.highlight(i,o.languages[r],r)),s&&e.close()}),!1),o):o;var u=o.util.currentScript();function d(){o.manual||o.highlightAll()}if(u&&(o.filename=u.src,u.hasAttribute("data-manual")&&(o.manual=!0)),!o.manual){var f=document.readyState;"loading"===f||"interactive"===f&&u&&u.defer?document.addEventListener("DOMContentLoaded",d):window.requestAnimationFrame?window.requestAnimationFrame(d):window.setTimeout(d,16)}return o}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});
19
+ var r=n(74),o=r.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=a),a.prototype=Object.create(o.prototype),i(o,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=o(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t,n){"use strict";e.exports=i;var r=n(506),o=Object.create(n(75));function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}o.inherits=n(63),o.inherits(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},function(e,t,n){e.exports=n(287)},function(e,t,n){e.exports=n(51)},function(e,t,n){e.exports=n(285).Transform},function(e,t,n){e.exports=n(285).PassThrough},function(e,t,n){var r=n(289),o=n(501);e.exports=function(e,t){var n,i,a;return n=function(e){var t=r.copyOptions(e);return r.ensureSpacesExists(t),t}(t),i=o(e,n),a="compact"in n&&n.compact?"_parent":"parent",("addParent"in n&&n.addParent?JSON.stringify(i,(function(e,t){return e===a?"_":t}),n.spaces):JSON.stringify(i,null,n.spaces)).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}},function(e,t,n){(function(t){var r=n(507);e.exports=function(e,n){e instanceof t&&(e=e.toString());var o=null;if("string"==typeof e)try{o=JSON.parse(e)}catch(e){throw new Error("The JSON structure is invalid")}else o=e;return r(o,n)}}).call(this,n(74).Buffer)},function(e,t,n){"use strict";n.r(t);var r=n(344),o=n(193);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(345),o=n(195);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(346),o=n(197);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(347),o=n(199);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(348),o=n(201);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(349),o=n(203);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(351),o=n(207);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"0f234b21",null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(352),o=n(209);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(733);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"ede7bae2",null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(353),o=n(211);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"7286ef0e",null);t.default=s.exports},function(e,t,n){"use strict";n(519)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,'\r\n/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/\n.properties-editor[data-v-ede7bae2] .el-dialog__body{\r\n padding-top: 0\n}\r\n',""])},function(e,t,n){"use strict";n.r(t);var r=n(354),o=n(213);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"e6e264bc",null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(355),o=n(215);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"47040704",null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(356),o=n(217);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"4f7d5932",null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(357),o=n(219);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(745);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"1974a482",null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(358),o=n(221);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(740);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"0d4db702",null);t.default=s.exports},function(e,t,n){"use strict";n(525)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,"\n.percent[data-v-0d4db702]{\r\n margin-left: 10px;\r\n color:red;\r\n font-size:1.2em;\n}\r\n",""])},function(e,t,n){"use strict";n.r(t);var r=n(359),o=n(223);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(743);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"3d943ddb",null);t.default=s.exports},function(e,t,n){"use strict";n(527)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,"\n.el-checkbox[data-v-3d943ddb]{\n margin-left: 20px;\n}\n",""])},function(e,t,n){"use strict";n(528)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,'\r\n/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/\n.properties-editor[data-v-1974a482] .el-dialog__body{\r\n padding-top: 0\n}\r\n',""])},function(e,t,n){"use strict";n.r(t);var r=n(360),o=n(225);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(752);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"1ea26573",null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(361),o=n(227);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"18a1744e",null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(362),o=n(229);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(363),o=n(231);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"52c61ac0",null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(364),o=n(233);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"d9095768",null);t.default=s.exports},function(e,t,n){"use strict";n(534)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,'\r\n/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/\n.properties-editor[data-v-1ea26573] .el-dialog__body{\r\n padding-top: 0\n}\r\n',""])},function(e,t,n){"use strict";n(537)},function(e,t,n){"use strict";n(538)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,"\n#svg{\n /* border:1px solid red; */\n background: white;\n background-image:\n linear-gradient(rgba(242,242,242,.7) 1px, transparent 0),\n linear-gradient(90deg, rgba(242,242,242,.7) 1px, transparent 0),\n linear-gradient(#e5e5e5 1px, transparent 0),\n linear-gradient(90deg,#e5e5e5 1px, transparent 0);\n background-size:\n 15px 15px,\n 15px 15px,\n 75px 75px,\n 75px 75px;\n}\ng{\n font-size: 16px;\n}\ng text{\n dominant-baseline: middle;\n}\n.selected{\n fill: #fff;\n stroke: #f00;\n stroke-width: 2;\n}\n.task-tache{\n fill: #fff;\n stroke: #666;\n stroke-width: 2;\n}\n",""])},function(e,t,n){"use strict";n.r(t);var r=n(366),o=n(237);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(758);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"2554d9c6",null);t.default=s.exports},function(e,t,n){"use strict";n(540)},function(e,t,n){(function(n){var r,o,i;o=[],void 0===(i="function"==typeof(r=function(){"use strict";function t(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){a(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function r(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function o(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var i="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n&&n.global===n?n:void 0,a=i.saveAs||("object"!=typeof window||window!==i?function(){}:"download"in HTMLAnchorElement.prototype?function(e,n,a){var s=i.URL||i.webkitURL,l=document.createElement("a");n=n||e.name||"download",l.download=n,l.rel="noopener","string"==typeof e?(l.href=e,l.origin===location.origin?o(l):r(l.href)?t(e,n,a):o(l,l.target="_blank")):(l.href=s.createObjectURL(e),setTimeout((function(){s.revokeObjectURL(l.href)}),4e4),setTimeout((function(){o(l)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,n,i){if(n=n||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}(e,i),n);else if(r(e))t(e,n,i);else{var a=document.createElement("a");a.href=e,a.target="_blank",setTimeout((function(){o(a)}))}}:function(e,n,r,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return t(e,n,r);var a="application/octet-stream"===e.type,s=/constructor/i.test(i.HTMLElement)||i.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||a&&s)&&"object"==typeof FileReader){var c=new FileReader;c.onloadend=function(){var e=c.result;e=l?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},c.readAsDataURL(e)}else{var u=i.URL||i.webkitURL,d=u.createObjectURL(e);o?o.location=d:location.href=d,o=null,setTimeout((function(){u.revokeObjectURL(d)}),4e4)}});i.saveAs=a.saveAs=a,e.exports=a})?r.apply(t,o):r)||(e.exports=i)}).call(this,n(46))},function(e,t,n){(function(t){var n=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},o={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,i;switch(n=n||{},o.util.type(t)){case"Object":if(i=o.util.objId(t),n[i])return n[i];for(var a in r={},n[i]=r,t)t.hasOwnProperty(a)&&(r[a]=e(t[a],n));return r;case"Array":return i=o.util.objId(t),n[i]?n[i]:(r=[],n[i]=r,t.forEach((function(t,o){r[o]=e(t,n)})),r);default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=o.util.clone(o.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var i=(r=r||o.languages)[e],a={};for(var s in i)if(i.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(a[l]=n[l]);n.hasOwnProperty(s)||(a[s]=i[s])}var c=r[e];return r[e]=a,o.languages.DFS(o.languages,(function(t,n){n===c&&t!=e&&(this[t]=a)})),a},DFS:function e(t,n,r,i){i=i||{};var a=o.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],r||s);var l=t[s],c=o.util.type(l);"Object"!==c||i[a(l)]?"Array"!==c||i[a(l)]||(i[a(l)]=!0,e(l,n,s,i)):(i[a(l)]=!0,e(l,n,null,i))}}},plugins:{},highlightAll:function(e,t){o.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};o.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),o.hooks.run("before-all-elements-highlight",r);for(var i,a=0;i=r.elements[a++];)o.highlightElement(i,!0===t,r.callback)},highlightElement:function(t,n,r){var i=o.util.getLanguage(t),a=o.languages[i];o.util.setLanguage(t,i);var s=t.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&o.util.setLanguage(s,i);var l={element:t,language:i,grammar:a,code:t.textContent};function c(e){l.highlightedCode=e,o.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,o.hooks.run("after-highlight",l),o.hooks.run("complete",l),r&&r.call(l.element)}if(o.hooks.run("before-sanity-check",l),(s=l.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!l.code)return o.hooks.run("complete",l),void(r&&r.call(l.element));if(o.hooks.run("before-highlight",l),l.grammar)if(n&&e.Worker){var u=new Worker(o.filename);u.onmessage=function(e){c(e.data)},u.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else c(o.highlight(l.code,l.grammar,l.language));else c(o.util.encode(l.code))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(o.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=o.tokenize(r.code,r.grammar),o.hooks.run("after-tokenize",r),i.stringify(o.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var u=new s;return l(u,u.head,e),function e(t,n,r,s,u,d){for(var f in r)if(r.hasOwnProperty(f)&&r[f]){var p=r[f];p=Array.isArray(p)?p:[p];for(var h=0;h<p.length;++h){if(d&&d.cause==f+","+h)return;var m=p[h],v=m.inside,g=!!m.lookbehind,b=!!m.greedy,w=m.alias;if(b&&!m.pattern.global){var y=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,y+"g")}for(var _=m.pattern||m,k=s.next,O=u;k!==n.tail&&!(d&&O>=d.reach);O+=k.value.length,k=k.next){var T=k.value;if(n.length>t.length)return;if(!(T instanceof i)){var x,E=1;if(b){if(!(x=a(_,O,t,g))||x.index>=t.length)break;var S=x.index,F=x.index+x[0].length,P=O;for(P+=k.value.length;S>=P;)k=k.next,P+=k.value.length;if(P-=k.value.length,O=P,k.value instanceof i)continue;for(var C=k;C!==n.tail&&(P<F||"string"==typeof C.value);C=C.next)E++,P+=C.value.length;E--,T=t.slice(O,P),x.index-=O}else if(!(x=a(_,0,T,g)))continue;S=x.index;var M=x[0],R=T.slice(0,S),I=T.slice(S+M.length),D=O+T.length;d&&D>d.reach&&(d.reach=D);var $=k.prev;R&&($=l(n,$,R),O+=R.length),c(n,$,E);var A=new i(f,v?o.tokenize(M,v):M,w,M);if(k=l(n,$,A),I&&l(n,k,I),E>1){var j={cause:f+","+h,reach:D};e(t,n,r,k.prev,O,j),d&&j.reach>d.reach&&(d.reach=j.reach)}}}}}}(e,u,t,u.head,0),function(e){var t=[],n=e.head.next;for(;n!==e.tail;)t.push(n.value),n=n.next;return t}(u)},hooks:{all:{},add:function(e,t){var n=o.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=o.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function a(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}function c(e,t,n){for(var r=t.next,o=0;o<n&&r!==e.tail;o++)r=r.next;t.next=r,r.prev=t,e.length-=o}if(e.Prism=o,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach((function(t){r+=e(t,n)})),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(i.classes,a):i.classes.push(a)),o.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,"&quot;")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+"</"+i.tag+">"},!e.document)return e.addEventListener?(o.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,a=n.immediateClose;e.postMessage(o.highlight(i,o.languages[r],r)),a&&e.close()}),!1),o):o;var u=o.util.currentScript();function d(){o.manual||o.highlightAll()}if(u&&(o.filename=u.src,u.hasAttribute("data-manual")&&(o.manual=!0)),!o.manual){var f=document.readyState;"loading"===f||"interactive"===f&&u&&u.defer?document.addEventListener("DOMContentLoaded",d):window.requestAnimationFrame?window.requestAnimationFrame(d):window.setTimeout(d,16)}return o}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});
33
20
  /**
34
21
  * Prism: Lightweight, robust, elegant syntax highlighting
35
22
  *
@@ -37,5 +24,4 @@ var r=n(74),o=r.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function s(e,t,n
37
24
  * @author Lea Verou <https://lea.verou.me>
38
25
  * @namespace
39
26
  * @public
40
- */e.exports&&(e.exports=n),void 0!==t&&(t.Prism=n)}).call(this,n(35))},function(e,t){Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}},function(e,t){Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript},function(e,t){!function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(Prism)},function(e,t){Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml},function(e,t,n){var r=n(771);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,'pre[class*="language-"].line-numbers {\n\tposition: relative;\n\tpadding-left: 3.8em;\n\tcounter-reset: linenumber;\n}\n\npre[class*="language-"].line-numbers > code {\n\tposition: relative;\n\twhite-space: inherit;\n}\n\n.line-numbers .line-numbers-rows {\n\tposition: absolute;\n\tpointer-events: none;\n\ttop: 0;\n\tfont-size: 100%;\n\tleft: -3.8em;\n\twidth: 3em; /* works for line-numbers below 1000 lines */\n\tletter-spacing: -1px;\n\tborder-right: 1px solid #999;\n\n\t-webkit-user-select: none;\n\t-moz-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none;\n\n}\n\n\t.line-numbers-rows > span {\n\t\tdisplay: block;\n\t\tcounter-increment: linenumber;\n\t}\n\n\t\t.line-numbers-rows > span:before {\n\t\t\tcontent: counter(linenumber);\n\t\t\tcolor: #999;\n\t\t\tdisplay: block;\n\t\t\tpadding-right: 0.8em;\n\t\t\ttext-align: right;\n\t\t}\n',"",{version:3,sources:["prism-line-numbers.css"],names:[],mappings:"AAAA;CACC,kBAAkB;CAClB,mBAAmB;CACnB,yBAAyB;AAC1B;;AAEA;CACC,kBAAkB;CAClB,oBAAoB;AACrB;;AAEA;CACC,kBAAkB;CAClB,oBAAoB;CACpB,MAAM;CACN,eAAe;CACf,YAAY;CACZ,UAAU,EAAE,4CAA4C;CACxD,oBAAoB;CACpB,4BAA4B;;CAE5B,yBAAyB;CACzB,sBAAsB;CACtB,qBAAqB;CACrB,iBAAiB;;AAElB;;CAEC;EACC,cAAc;EACd,6BAA6B;CAC9B;;EAEC;GACC,4BAA4B;GAC5B,WAAW;GACX,cAAc;GACd,oBAAoB;GACpB,iBAAiB;EAClB",file:"prism-line-numbers.css",sourcesContent:['pre[class*="language-"].line-numbers {\n\tposition: relative;\n\tpadding-left: 3.8em;\n\tcounter-reset: linenumber;\n}\n\npre[class*="language-"].line-numbers > code {\n\tposition: relative;\n\twhite-space: inherit;\n}\n\n.line-numbers .line-numbers-rows {\n\tposition: absolute;\n\tpointer-events: none;\n\ttop: 0;\n\tfont-size: 100%;\n\tleft: -3.8em;\n\twidth: 3em; /* works for line-numbers below 1000 lines */\n\tletter-spacing: -1px;\n\tborder-right: 1px solid #999;\n\n\t-webkit-user-select: none;\n\t-moz-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none;\n\n}\n\n\t.line-numbers-rows > span {\n\t\tdisplay: block;\n\t\tcounter-increment: linenumber;\n\t}\n\n\t\t.line-numbers-rows > span:before {\n\t\t\tcontent: counter(linenumber);\n\t\t\tcolor: #999;\n\t\t\tdisplay: block;\n\t\t\tpadding-right: 0.8em;\n\t\t\ttext-align: right;\n\t\t}\n']}])},function(e,t){!function(){if("undefined"!=typeof Prism&&"undefined"!=typeof document){var e=/\n(?!$)/g,t=Prism.plugins.lineNumbers={getLine:function(e,t){if("PRE"===e.tagName&&e.classList.contains("line-numbers")){var n=e.querySelector(".line-numbers-rows");if(n){var r=parseInt(e.getAttribute("data-start"),10)||1,o=r+(n.children.length-1);t<r&&(t=r),t>o&&(t=o);var i=t-r;return n.children[i]}}},resize:function(e){r([e])},assumeViewportIndependence:!0},n=void 0;window.addEventListener("resize",(function(){t.assumeViewportIndependence&&n===window.innerWidth||(n=window.innerWidth,r(Array.prototype.slice.call(document.querySelectorAll("pre.line-numbers"))))})),Prism.hooks.add("complete",(function(t){if(t.code){var n=t.element,o=n.parentNode;if(o&&/pre/i.test(o.nodeName)&&!n.querySelector(".line-numbers-rows")&&Prism.util.isActive(n,"line-numbers")){n.classList.remove("line-numbers"),o.classList.add("line-numbers");var i,s=t.code.match(e),a=s?s.length+1:1,l=new Array(a+1).join("<span></span>");(i=document.createElement("span")).setAttribute("aria-hidden","true"),i.className="line-numbers-rows",i.innerHTML=l,o.hasAttribute("data-start")&&(o.style.counterReset="linenumber "+(parseInt(o.getAttribute("data-start"),10)-1)),t.element.appendChild(i),r([o]),Prism.hooks.run("line-numbers",t)}}})),Prism.hooks.add("line-numbers",(function(e){e.plugins=e.plugins||{},e.plugins.lineNumbers=!0}))}function r(t){if(0!=(t=t.filter((function(e){var t=function(e){if(!e)return null;return window.getComputedStyle?getComputedStyle(e):e.currentStyle||null}(e)["white-space"];return"pre-wrap"===t||"pre-line"===t}))).length){var n=t.map((function(t){var n=t.querySelector("code"),r=t.querySelector(".line-numbers-rows");if(n&&r){var o=t.querySelector(".line-numbers-sizer"),i=n.textContent.split(e);o||((o=document.createElement("span")).className="line-numbers-sizer",n.appendChild(o)),o.innerHTML="0",o.style.display="block";var s=o.getBoundingClientRect().height;return o.innerHTML="",{element:t,lines:i,lineHeights:[],oneLinerHeight:s,sizer:o}}})).filter(Boolean);n.forEach((function(e){var t=e.sizer,n=e.lines,r=e.lineHeights,o=e.oneLinerHeight;r[n.length-1]=void 0,n.forEach((function(e,n){if(e&&e.length>1){var i=t.appendChild(document.createElement("span"));i.style.display="block",i.textContent=e}else r[n]=o}))})),n.forEach((function(e){for(var t=e.sizer,n=e.lineHeights,r=0,o=0;o<n.length;o++)void 0===n[o]&&(n[o]=t.children[r++].getBoundingClientRect().height)})),n.forEach((function(e){var t=e.sizer,n=e.element.querySelector(".line-numbers-rows");t.style.display="none",t.innerHTML="",e.lineHeights.forEach((function(e,t){n.children[t].style.height=e+"px"}))}))}}}()},function(e,t,n){var r=n(774);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,'/**\n * prism.js Coy theme for JavaScript, CoffeeScript, CSS and HTML\n * Based on https://github.com/tshedor/workshop-wp-theme (Example: http://workshop.kansan.com/category/sessions/basics or http://workshop.timshedor.com/category/sessions/basics);\n * @author Tim Shedor\n */\n\ncode[class*="language-"],\npre[class*="language-"] {\n\tcolor: black;\n\tbackground: none;\n\tfont-family: Consolas, Monaco, \'Andale Mono\', \'Ubuntu Mono\', monospace;\n\tfont-size: 1em;\n\ttext-align: left;\n\twhite-space: pre;\n\tword-spacing: normal;\n\tword-break: normal;\n\tword-wrap: normal;\n\tline-height: 1.5;\n\n\t-moz-tab-size: 4;\n\t-o-tab-size: 4;\n\ttab-size: 4;\n\n\t-webkit-hyphens: none;\n\t-moz-hyphens: none;\n\t-ms-hyphens: none;\n\thyphens: none;\n}\n\n/* Code blocks */\npre[class*="language-"] {\n\tposition: relative;\n\tmargin: .5em 0;\n\toverflow: visible;\n\tpadding: 1px;\n}\n\npre[class*="language-"] > code {\n\tposition: relative;\n\tz-index: 1;\n\tborder-left: 10px solid #358ccb;\n\tbox-shadow: -1px 0px 0px 0px #358ccb, 0px 0px 0px 1px #dfdfdf;\n\tbackground-color: #fdfdfd;\n\tbackground-image: linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%);\n\tbackground-size: 3em 3em;\n\tbackground-origin: content-box;\n\tbackground-attachment: local;\n}\n\ncode[class*="language-"] {\n\tmax-height: inherit;\n\theight: inherit;\n\tpadding: 0 1em;\n\tdisplay: block;\n\toverflow: auto;\n}\n\n/* Margin bottom to accommodate shadow */\n:not(pre) > code[class*="language-"],\npre[class*="language-"] {\n\tbackground-color: #fdfdfd;\n\t-webkit-box-sizing: border-box;\n\t-moz-box-sizing: border-box;\n\tbox-sizing: border-box;\n\tmargin-bottom: 1em;\n}\n\n/* Inline code */\n:not(pre) > code[class*="language-"] {\n\tposition: relative;\n\tpadding: .2em;\n\tborder-radius: 0.3em;\n\tcolor: #c92c2c;\n\tborder: 1px solid rgba(0, 0, 0, 0.1);\n\tdisplay: inline;\n\twhite-space: normal;\n}\n\npre[class*="language-"]:before,\npre[class*="language-"]:after {\n\tcontent: \'\';\n\tdisplay: block;\n\tposition: absolute;\n\tbottom: 0.75em;\n\tleft: 0.18em;\n\twidth: 40%;\n\theight: 20%;\n\tmax-height: 13em;\n\tbox-shadow: 0px 13px 8px #979797;\n\t-webkit-transform: rotate(-2deg);\n\t-moz-transform: rotate(-2deg);\n\t-ms-transform: rotate(-2deg);\n\t-o-transform: rotate(-2deg);\n\ttransform: rotate(-2deg);\n}\n\npre[class*="language-"]:after {\n\tright: 0.75em;\n\tleft: auto;\n\t-webkit-transform: rotate(2deg);\n\t-moz-transform: rotate(2deg);\n\t-ms-transform: rotate(2deg);\n\t-o-transform: rotate(2deg);\n\ttransform: rotate(2deg);\n}\n\n.token.comment,\n.token.block-comment,\n.token.prolog,\n.token.doctype,\n.token.cdata {\n\tcolor: #7D8B99;\n}\n\n.token.punctuation {\n\tcolor: #5F6364;\n}\n\n.token.property,\n.token.tag,\n.token.boolean,\n.token.number,\n.token.function-name,\n.token.constant,\n.token.symbol,\n.token.deleted {\n\tcolor: #c92c2c;\n}\n\n.token.selector,\n.token.attr-name,\n.token.string,\n.token.char,\n.token.function,\n.token.builtin,\n.token.inserted {\n\tcolor: #2f9c0a;\n}\n\n.token.operator,\n.token.entity,\n.token.url,\n.token.variable {\n\tcolor: #a67f59;\n\tbackground: rgba(255, 255, 255, 0.5);\n}\n\n.token.atrule,\n.token.attr-value,\n.token.keyword,\n.token.class-name {\n\tcolor: #1990b8;\n}\n\n.token.regex,\n.token.important {\n\tcolor: #e90;\n}\n\n.language-css .token.string,\n.style .token.string {\n\tcolor: #a67f59;\n\tbackground: rgba(255, 255, 255, 0.5);\n}\n\n.token.important {\n\tfont-weight: normal;\n}\n\n.token.bold {\n\tfont-weight: bold;\n}\n.token.italic {\n\tfont-style: italic;\n}\n\n.token.entity {\n\tcursor: help;\n}\n\n.token.namespace {\n\topacity: .7;\n}\n\n@media screen and (max-width: 767px) {\n\tpre[class*="language-"]:before,\n\tpre[class*="language-"]:after {\n\t\tbottom: 14px;\n\t\tbox-shadow: none;\n\t}\n\n}\n\n/* Plugin styles: Line Numbers */\npre[class*="language-"].line-numbers.line-numbers {\n\tpadding-left: 0;\n}\n\npre[class*="language-"].line-numbers.line-numbers code {\n\tpadding-left: 3.8em;\n}\n\npre[class*="language-"].line-numbers.line-numbers .line-numbers-rows {\n\tleft: 0;\n}\n\n/* Plugin styles: Line Highlight */\npre[class*="language-"][data-line] {\n\tpadding-top: 0;\n\tpadding-bottom: 0;\n\tpadding-left: 0;\n}\npre[data-line] code {\n\tposition: relative;\n\tpadding-left: 4em;\n}\npre .line-highlight {\n\tmargin-top: 0;\n}\n',"",{version:3,sources:["prism-coy.css"],names:[],mappings:"AAAA;;;;EAIE;;AAEF;;CAEC,YAAY;CACZ,gBAAgB;CAChB,sEAAsE;CACtE,cAAc;CACd,gBAAgB;CAChB,gBAAgB;CAChB,oBAAoB;CACpB,kBAAkB;CAClB,iBAAiB;CACjB,gBAAgB;;CAEhB,gBAAgB;CAChB,cAAc;CACd,WAAW;;CAEX,qBAAqB;CACrB,kBAAkB;CAClB,iBAAiB;CACjB,aAAa;AACd;;AAEA,gBAAgB;AAChB;CACC,kBAAkB;CAClB,cAAc;CACd,iBAAiB;CACjB,YAAY;AACb;;AAEA;CACC,kBAAkB;CAClB,UAAU;CACV,+BAA+B;CAC/B,6DAA6D;CAC7D,yBAAyB;CACzB,gFAAgF;CAChF,wBAAwB;CACxB,8BAA8B;CAC9B,4BAA4B;AAC7B;;AAEA;CACC,mBAAmB;CACnB,eAAe;CACf,cAAc;CACd,cAAc;CACd,cAAc;AACf;;AAEA,wCAAwC;AACxC;;CAEC,yBAAyB;CACzB,8BAA8B;CAC9B,2BAA2B;CAC3B,sBAAsB;CACtB,kBAAkB;AACnB;;AAEA,gBAAgB;AAChB;CACC,kBAAkB;CAClB,aAAa;CACb,oBAAoB;CACpB,cAAc;CACd,oCAAoC;CACpC,eAAe;CACf,mBAAmB;AACpB;;AAEA;;CAEC,WAAW;CACX,cAAc;CACd,kBAAkB;CAClB,cAAc;CACd,YAAY;CACZ,UAAU;CACV,WAAW;CACX,gBAAgB;CAChB,gCAAgC;CAChC,gCAAgC;CAChC,6BAA6B;CAC7B,4BAA4B;CAC5B,2BAA2B;CAC3B,wBAAwB;AACzB;;AAEA;CACC,aAAa;CACb,UAAU;CACV,+BAA+B;CAC/B,4BAA4B;CAC5B,2BAA2B;CAC3B,0BAA0B;CAC1B,uBAAuB;AACxB;;AAEA;;;;;CAKC,cAAc;AACf;;AAEA;CACC,cAAc;AACf;;AAEA;;;;;;;;CAQC,cAAc;AACf;;AAEA;;;;;;;CAOC,cAAc;AACf;;AAEA;;;;CAIC,cAAc;CACd,oCAAoC;AACrC;;AAEA;;;;CAIC,cAAc;AACf;;AAEA;;CAEC,WAAW;AACZ;;AAEA;;CAEC,cAAc;CACd,oCAAoC;AACrC;;AAEA;CACC,mBAAmB;AACpB;;AAEA;CACC,iBAAiB;AAClB;AACA;CACC,kBAAkB;AACnB;;AAEA;CACC,YAAY;AACb;;AAEA;CACC,WAAW;AACZ;;AAEA;CACC;;EAEC,YAAY;EACZ,gBAAgB;CACjB;;AAED;;AAEA,gCAAgC;AAChC;CACC,eAAe;AAChB;;AAEA;CACC,mBAAmB;AACpB;;AAEA;CACC,OAAO;AACR;;AAEA,kCAAkC;AAClC;CACC,cAAc;CACd,iBAAiB;CACjB,eAAe;AAChB;AACA;CACC,kBAAkB;CAClB,iBAAiB;AAClB;AACA;CACC,aAAa;AACd",file:"prism-coy.css",sourcesContent:['/**\n * prism.js Coy theme for JavaScript, CoffeeScript, CSS and HTML\n * Based on https://github.com/tshedor/workshop-wp-theme (Example: http://workshop.kansan.com/category/sessions/basics or http://workshop.timshedor.com/category/sessions/basics);\n * @author Tim Shedor\n */\n\ncode[class*="language-"],\npre[class*="language-"] {\n\tcolor: black;\n\tbackground: none;\n\tfont-family: Consolas, Monaco, \'Andale Mono\', \'Ubuntu Mono\', monospace;\n\tfont-size: 1em;\n\ttext-align: left;\n\twhite-space: pre;\n\tword-spacing: normal;\n\tword-break: normal;\n\tword-wrap: normal;\n\tline-height: 1.5;\n\n\t-moz-tab-size: 4;\n\t-o-tab-size: 4;\n\ttab-size: 4;\n\n\t-webkit-hyphens: none;\n\t-moz-hyphens: none;\n\t-ms-hyphens: none;\n\thyphens: none;\n}\n\n/* Code blocks */\npre[class*="language-"] {\n\tposition: relative;\n\tmargin: .5em 0;\n\toverflow: visible;\n\tpadding: 1px;\n}\n\npre[class*="language-"] > code {\n\tposition: relative;\n\tz-index: 1;\n\tborder-left: 10px solid #358ccb;\n\tbox-shadow: -1px 0px 0px 0px #358ccb, 0px 0px 0px 1px #dfdfdf;\n\tbackground-color: #fdfdfd;\n\tbackground-image: linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%);\n\tbackground-size: 3em 3em;\n\tbackground-origin: content-box;\n\tbackground-attachment: local;\n}\n\ncode[class*="language-"] {\n\tmax-height: inherit;\n\theight: inherit;\n\tpadding: 0 1em;\n\tdisplay: block;\n\toverflow: auto;\n}\n\n/* Margin bottom to accommodate shadow */\n:not(pre) > code[class*="language-"],\npre[class*="language-"] {\n\tbackground-color: #fdfdfd;\n\t-webkit-box-sizing: border-box;\n\t-moz-box-sizing: border-box;\n\tbox-sizing: border-box;\n\tmargin-bottom: 1em;\n}\n\n/* Inline code */\n:not(pre) > code[class*="language-"] {\n\tposition: relative;\n\tpadding: .2em;\n\tborder-radius: 0.3em;\n\tcolor: #c92c2c;\n\tborder: 1px solid rgba(0, 0, 0, 0.1);\n\tdisplay: inline;\n\twhite-space: normal;\n}\n\npre[class*="language-"]:before,\npre[class*="language-"]:after {\n\tcontent: \'\';\n\tdisplay: block;\n\tposition: absolute;\n\tbottom: 0.75em;\n\tleft: 0.18em;\n\twidth: 40%;\n\theight: 20%;\n\tmax-height: 13em;\n\tbox-shadow: 0px 13px 8px #979797;\n\t-webkit-transform: rotate(-2deg);\n\t-moz-transform: rotate(-2deg);\n\t-ms-transform: rotate(-2deg);\n\t-o-transform: rotate(-2deg);\n\ttransform: rotate(-2deg);\n}\n\npre[class*="language-"]:after {\n\tright: 0.75em;\n\tleft: auto;\n\t-webkit-transform: rotate(2deg);\n\t-moz-transform: rotate(2deg);\n\t-ms-transform: rotate(2deg);\n\t-o-transform: rotate(2deg);\n\ttransform: rotate(2deg);\n}\n\n.token.comment,\n.token.block-comment,\n.token.prolog,\n.token.doctype,\n.token.cdata {\n\tcolor: #7D8B99;\n}\n\n.token.punctuation {\n\tcolor: #5F6364;\n}\n\n.token.property,\n.token.tag,\n.token.boolean,\n.token.number,\n.token.function-name,\n.token.constant,\n.token.symbol,\n.token.deleted {\n\tcolor: #c92c2c;\n}\n\n.token.selector,\n.token.attr-name,\n.token.string,\n.token.char,\n.token.function,\n.token.builtin,\n.token.inserted {\n\tcolor: #2f9c0a;\n}\n\n.token.operator,\n.token.entity,\n.token.url,\n.token.variable {\n\tcolor: #a67f59;\n\tbackground: rgba(255, 255, 255, 0.5);\n}\n\n.token.atrule,\n.token.attr-value,\n.token.keyword,\n.token.class-name {\n\tcolor: #1990b8;\n}\n\n.token.regex,\n.token.important {\n\tcolor: #e90;\n}\n\n.language-css .token.string,\n.style .token.string {\n\tcolor: #a67f59;\n\tbackground: rgba(255, 255, 255, 0.5);\n}\n\n.token.important {\n\tfont-weight: normal;\n}\n\n.token.bold {\n\tfont-weight: bold;\n}\n.token.italic {\n\tfont-style: italic;\n}\n\n.token.entity {\n\tcursor: help;\n}\n\n.token.namespace {\n\topacity: .7;\n}\n\n@media screen and (max-width: 767px) {\n\tpre[class*="language-"]:before,\n\tpre[class*="language-"]:after {\n\t\tbottom: 14px;\n\t\tbox-shadow: none;\n\t}\n\n}\n\n/* Plugin styles: Line Numbers */\npre[class*="language-"].line-numbers.line-numbers {\n\tpadding-left: 0;\n}\n\npre[class*="language-"].line-numbers.line-numbers code {\n\tpadding-left: 3.8em;\n}\n\npre[class*="language-"].line-numbers.line-numbers .line-numbers-rows {\n\tleft: 0;\n}\n\n/* Plugin styles: Line Highlight */\npre[class*="language-"][data-line] {\n\tpadding-top: 0;\n\tpadding-bottom: 0;\n\tpadding-left: 0;\n}\npre[data-line] code {\n\tposition: relative;\n\tpadding-left: 4em;\n}\npre .line-highlight {\n\tmargin-top: 0;\n}\n']}])},function(e,t,n){"use strict";n.r(t);var r=n(367),o=n(239);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";n(542)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,".button-area[data-v-37937af4]{padding:5px 0 5px 5px;height:50px}.el-row[data-v-37937af4]{border:1px solid #f1f1f1;border-radius:5px}.el-col[data-v-37937af4]{padding-left:5px}.main[data-v-37937af4]{position:relative;display:flex;height:calc(100% - 50px);width:100%}.canvas-container[data-v-37937af4]{position:relative;height:calc(100% - 50px);width:100%}.toolbox[data-v-37937af4]{width:150px;overflow-y:auto;height:100%;background:#f7f7f7;padding:10px;text-align:center;flex:none}section[data-v-37937af4]{overflow:hidden;flex:1 1 auto;height:100%;padding:0}.tabs[data-v-37937af4]{height:100%;width:100%}.tab-pane[data-v-37937af4]{height:100%;width:100%}.tabs[data-v-37937af4] .el-tabs__content{height:calc(100% - 41px);padding:10px;width:100%}.canvas[data-v-37937af4],.xml[data-v-37937af4]{overflow:auto;height:100%;width:100%;padding:0;min-height:500px}pre[data-v-37937af4]{margin:0;font-size:16px}.component-icon[data-v-37937af4]{position:absolute;pointer-events:none}.canvas[data-v-37937af4] .draggable{cursor:move}\n","",{version:3,sources:["D:/pack/workflow-editor-dev-dw/packages/workflow-editor/src/workflow-editor.vue"],names:[],mappings:"AAIA,8BACE,qBAAqB,CACrB,WAJoB,CAKrB,yBAEC,wBAAyB,CACzB,iBAAkB,CACnB,yBAEC,gBAAgB,CACjB,uBAEC,iBAAkB,CAClB,YAAY,CACZ,wBAAyC,CACzC,UAAU,CACX,mCAEC,iBAAkB,CAElB,wBAAyC,CACzC,UAAU,CACX,0BAEC,WA3BiB,CA4BjB,eAAe,CACf,WAAY,CAEZ,kBAAmB,CACnB,YAAa,CAEb,iBAAkB,CAClB,SAAS,CAGV,yBAEC,eAAgB,CAChB,aAAa,CACb,WAAW,CACX,SAAU,CAEX,uBAEC,WAAW,CACX,UAAU,CACX,2BAGC,WAAW,CACX,UAAU,CACX,yCAGC,wBAAyC,CACzC,YAAY,CACZ,UAAU,CACX,+CAGC,aAAc,CACd,WAAW,CACX,UAAU,CAGV,SAAU,CACV,gBAAiB,CAElB,qBAEC,QAAQ,CACR,cAAc,CACf,iCAEC,iBAAkB,CAClB,mBAAoB,CAErB,oCAEG,WAAY",file:"workflow-editor.vue?vue&type=style&index=0&id=37937af4&prod&lang=scss&scoped=true&",sourcesContent:["\r\n$toolboxWidth:150px;\r\n$buttonAreaHeight:50px;\r\n$tabsHeaderHeight:41px;\r\n.button-area{\r\n padding:5px 0 5px 5px;\r\n height: $buttonAreaHeight;\r\n}\r\n.el-row{\r\n border: 1px solid #f1f1f1;\r\n border-radius: 5px;\r\n}\r\n.el-col{\r\n padding-left:5px;\r\n}\r\n.main{\r\n position: relative;\r\n display:flex;\r\n height: calc(100% - #{$buttonAreaHeight});\r\n width:100%;\r\n}\r\n.canvas-container{\r\n position: relative;\r\n // display:flex;\r\n height: calc(100% - #{$buttonAreaHeight});\r\n width:100%;\r\n}\r\n.toolbox{\r\n width:$toolboxWidth;\r\n overflow-y:auto;\r\n height: 100%;\r\n // border:1px solid black;\r\n background: #f7f7f7;\r\n padding: 10px;\r\n // min-height: 500px;\r\n text-align: center;\r\n flex:none;\r\n // min-width: 140px;\r\n // max-width:180px;\r\n}\r\nsection{\r\n overflow: hidden;\r\n flex:1 1 auto;\r\n height:100%;\r\n padding: 0;\r\n // min-height: 500px;\r\n}\r\n.tabs{\r\n height:100%;\r\n width:100%;\r\n}\r\n\r\n.tab-pane{\r\n height:100%;\r\n width:100%;\r\n}\r\n// 在scss中需要使用/deep/这个别名来代替 '>>>'\r\n.tabs /deep/ .el-tabs__content{\r\n height: calc(100% - #{$tabsHeaderHeight});\r\n padding:10px;\r\n width:100%;\r\n}\r\n\r\n.canvas,.xml{\r\n overflow: auto;\r\n height:100%;\r\n width:100%;\r\n // border:1px solid red;\r\n // background: #ffffff;\r\n padding: 0;\r\n min-height: 500px;\r\n\r\n}\r\npre{\r\n margin:0;\r\n font-size:16px;\r\n}\r\n.component-icon {\r\n position: absolute;\r\n pointer-events: none;\r\n // border: 1px solid red;\r\n}\r\n.canvas /deep/ .draggable{\r\n cursor: move;\r\n}\r\n\r\n"]}])},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={namespaced:!0,state:{taches:[],transitions:[],startJoint:null,endJoint:null,isMovingTache:!1,mouseDownPosition:null,isDrawingRegion:!1,isMovingRegion:!1,selectedTaches:[],selectedTransition:null,resizerToMove:null,draggerToMove:null,propertiesEditorFor:"",componentToDraw:"",controlPointToMove:null,formFields:[],formFieldsWithSub:[],contextMenuVisible:!1,formCode:null,systemCode:null,processCode:null,processI18n:null,subtableConditionMap:null,propSettingKeyList:null},getters:r(n(779)).default,mutations:{setTaches:function(e,t){e.taches=t},setTransitions:function(e,t){e.transitions=t},clearCanvas:function(e){e.taches=[],e.transitions=[]},resetState:function(e){e.isMovingTache=!1,e.startJoint=null,e.endJoint=null,e.isDrawingRegion=!1,e.isMovingRegion=!1,e.resizerToMove=null,e.draggerToMove=null,e.controlPointToMove=null},stopDrawingLine:function(e){e.startJoint=null,e.endJoint=null},setStartJoint:function(e,t){e.startJoint=t},setEndJoint:function(e,t){e.endJoint=t},setMovingTache:function(e,t){e.isMovingTache=t},setMouseDownPosition:function(e,t){e.mouseDownPosition=t},setDrawingRegion:function(e,t){e.isDrawingRegion=t},setMovingRegion:function(e,t){e.isMovingRegion=t},setSelectedTaches:function(e,t){e.selectedTaches=t},setSelectedTransition:function(e,t){e.selectedTransition=t},setResizerToMove:function(e,t){e.resizerToMove=t},setDraggerToMove:function(e,t){e.draggerToMove=t},setPropertiesEditorFor:function(e,t){e.propertiesEditorFor=t},setComponentToDraw:function(e,t){e.componentToDraw=t},setControlPointToMove:function(e,t){e.controlPointToMove=t},setFormFields:function(e,t){e.formFields=t},setFormCode:function(e,t){e.formCode=t},setFormFieldsWithSub:function(e,t){e.formFieldsWithSub=t},setContextMenuVisible:function(e,t){e.contextMenuVisible=t},setSystemCode:function(e,t){e.systemCode=t},setProcessCode:function(e,t){e.processCode=t},setProcessI18n:function(e,t){e.processI18n=t},setSubtableConditionMap:function(e,t){e.subtableConditionMap=t},setPropSettingKeyList:function(e,t){e.propSettingKeyList=t}}};t.default=o},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(14)),i=void 0,s={taches:function(e){return(0,o.default)(this,i),e.taches}.bind(void 0),transitions:function(e){return(0,o.default)(this,i),e.transitions}.bind(void 0),startJoint:function(e){return(0,o.default)(this,i),e.startJoint}.bind(void 0),endJoint:function(e){return(0,o.default)(this,i),e.endJoint}.bind(void 0),isMovingTache:function(e){return(0,o.default)(this,i),e.isMovingTache}.bind(void 0),mouseDownPosition:function(e){return(0,o.default)(this,i),e.mouseDownPosition}.bind(void 0),isDrawingRegion:function(e){return(0,o.default)(this,i),e.isDrawingRegion}.bind(void 0),isMovingRegion:function(e){return(0,o.default)(this,i),e.isMovingRegion}.bind(void 0),selectedTaches:function(e){return(0,o.default)(this,i),e.selectedTaches}.bind(void 0),selectedTransition:function(e){return(0,o.default)(this,i),e.selectedTransition}.bind(void 0),resizerToMove:function(e){return(0,o.default)(this,i),e.resizerToMove}.bind(void 0),draggerToMove:function(e){return(0,o.default)(this,i),e.draggerToMove}.bind(void 0),propertiesEditorFor:function(e){return(0,o.default)(this,i),e.propertiesEditorFor}.bind(void 0),componentToDraw:function(e){return(0,o.default)(this,i),e.componentToDraw}.bind(void 0),controlPointToMove:function(e){return(0,o.default)(this,i),e.controlPointToMove}.bind(void 0),formFields:function(e){return(0,o.default)(this,i),e.formFields}.bind(void 0),formCode:function(e){return(0,o.default)(this,i),e.formCode}.bind(void 0),formFieldsWithSub:function(e){return(0,o.default)(this,i),e.formFieldsWithSub}.bind(void 0),contextMenuVisible:function(e){return(0,o.default)(this,i),e.contextMenuVisible}.bind(void 0),systemCode:function(e){return(0,o.default)(this,i),e.systemCode}.bind(void 0),processCode:function(e){return(0,o.default)(this,i),e.processCode}.bind(void 0),processI18n:function(e){return(0,o.default)(this,i),e.processI18n}.bind(void 0),subtableConditionMap:function(e){return(0,o.default)(this,i),e.subtableConditionMap}.bind(void 0),propSettingKeyList:function(e){return(0,o.default)(this,i),e.propSettingKeyList}.bind(void 0)};t.default=s},function(e,t,n){"use strict";n.r(t);var r=n(368),o=n(241);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(789);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"422096c3",null);t.default=a.exports},function(e,t,n){"use strict";n.r(t);var r=n(369),o=n(243);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(786);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";n.r(t),n.d(t,"i18nOperation",(function(){return o}));var r=n(33);function o(e,t,n,o){let i=e.transactionResult;const s=e.historyType;if(!e.current&&s)if(e.transactionParams){const a=JSON.parse(e.transactionParams);let l=s.toLowerCase();const c=function(e){return"HISTORY_SUBMIT"===e||"HISTORY_AGREE"===e||"HISTORY_DISAGREE"===e||"HISTORY_AGREEMENT"===e||"HISTORY_OPPOSE"===e||"HISTORY_KIKEN"===e||"HISTORY_SIGNOFF"===e||"HISTORY_SEND"===e||"HISTORY_DISTRIBUTE"===e||"HISTORY_READED"===e}(s);if(c?l="commonButtonOperation":"process_end"===l&&(l="processEnd"),c||"HISTORY_COMPLETE_TRANSFER"===s){const e=a[2];a[2]=Object(r.getI18n)().t("workflowButton."+e)}if("process_start"===l&&t&&null!==t)a[1]=t,i=Object(r.getI18n)().t("workflowHistoryList."+l,a);else{const e=a;if(n&&o)for(const t in a){e[t]=a[t];const r=a[t];if(r.indexOf("${taskNodeId:")>=0){const i=r.substring(r.indexOf(":")+1,r.indexOf("##")),s=r.substring(r.indexOf("##")+2,r.lastIndexOf("}")),a=n[i];a&&a[o]&&""!==a[o]?e[t]=a[o]:e[t]=s}}i=Object(r.getI18n)().t("workflowHistoryList."+l,e)}}else i=Object(r.getI18n)().t("workflowHistoryList."+s.toLowerCase());return i}},function(e,t,n){"use strict";n.r(t);var r=n(370),o=n(245);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(784);var s=n(0),a=Object(s.a)(o.default,r.render,r.staticRenderFns,!1,null,"d95c25fc",null);t.default=a.exports},function(e,t,n){"use strict";n(546)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"#_subprocess-content[data-v-d95c25fc]{width:100%;height:calc(100vh - 200px)}\n","",{version:3,sources:["D:/pack/workflow-editor-dev-dw/packages/workflow-editor/src/main/tache-subprocess-history-dialog.vue"],names:[],mappings:"AACA,sCACE,UAAW,CACX,0BAA2B",file:"tache-subprocess-history-dialog.vue?vue&type=style&index=0&id=d95c25fc&prod&lang=scss&scoped=true&",sourcesContent:["\r\n#_subprocess-content{\r\n width: 100%;\r\n height: calc(100vh - 200px);\r\n}\r\n"]}])},function(e,t,n){"use strict";n(547)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,"\n#svg{\n /* border:1px solid red; */\n background: white;\n background-image:\n linear-gradient(rgba(242,242,242,.7) 1px, transparent 0),\n linear-gradient(90deg, rgba(242,242,242,.7) 1px, transparent 0),\n linear-gradient(#e5e5e5 1px, transparent 0),\n linear-gradient(90deg,#e5e5e5 1px, transparent 0);\n background-size:\n 15px 15px,\n 15px 15px,\n 75px 75px,\n 75px 75px;\n}\ng{\n font-size: 16px;\n}\ng text{\n dominant-baseline: middle;\n}\n.selected{\n fill: #fff;\n stroke: #f00;\n stroke-width: 2;\n}\n.task-tache{\n fill: #fff;\n stroke: #666;\n stroke-width: 2;\n}\n.passed-tache .task-tache{\n fill: green;\n stroke: green;\n stroke-width: 2;\n}\n.current-tache .task-tache{\n fill: red;\n stroke: red;\n stroke-width: 2;\n}\n.passed-tache text{\n fill:white;\n}\n.current-tache text{\n fill: white\n}\n","",{version:3,sources:["packages/workflow-editor/src/main/wf-history-canvas.vue"],names:[],mappings:";AA+SA;EACA,0BAAA;EACA,iBAAA;EACA;;;;uDAIA;EACA;;;;mBAIA;AACA;AACA;EACA,eAAA;AACA;AACA;EACA,yBAAA;AACA;AACA;EACA,UAAA;EACA,YAAA;EACA,eAAA;AACA;AACA;EACA,UAAA;EACA,YAAA;EACA,eAAA;AACA;AACA;EACA,WAAA;EACA,aAAA;EACA,eAAA;AACA;AACA;EACA,SAAA;EACA,WAAA;EACA,eAAA;AACA;AACA;EACA,UAAA;AACA;AACA;EACA;AACA",file:"wf-history-canvas.vue?vue&type=style&index=0&id=673e88e8&prod&lang=css&",sourcesContent:["<template>\r\n <div ref=\"svgContainer\" style=\"position:relative\">\r\n <svg\r\n id=\"svg\"\r\n width=\"2000\"\r\n height=\"2000\"\r\n @mousedown=\"mousedown\"\r\n @mousemove=\"mousemove\"\r\n @mouseup=\"mouseup\"\r\n @mouseleave=\"mouseleave\"\r\n >\r\n <defs>\r\n <marker id=\"arrow\" markerWidth=\"10\" markerHeight=\"10\" refX=\"6\" refY=\"2\" orient=\"auto\" markerUnits=\"strokeWidth\">\r\n <path d=\"M0,0 L0,4 L6,2 z\" fill=\"#666\" />\r\n </marker>\r\n </defs>\r\n <component\r\n :is=\"tache.type\"\r\n v-for=\"tache in taches\"\r\n :key=\"tache.id\"\r\n :model=\"tache\"\r\n :class=\"[getTacheClass(tache)]\"\r\n :display-mode=\"tache.displayMode\"\r\n @mouseenter.native=\"showTacheHistoryTooltip(tache,$event)\"\r\n @mouseleave.native=\"hideTacheHistoryTooltip(tache)\"\r\n @mousemove.native=\"updateTacheHistoryTooltipPosition\"\r\n @click.native=\"showSubprocessHistory(tache)\"\r\n />\r\n <transition\r\n v-for=\"transition in transitions\"\r\n :key=\"transition.id\"\r\n :model=\"transition\"\r\n />\r\n </svg>\r\n <tache-history-tooltip v-if=\"showHistory&&tacheHistoryInfo\" :style=\"tooltipPosition\" :content=\"tacheHistoryInfo\" />\r\n <tache-subprocess-history-dialog v-if=\"showSubprocessDialog\" :workflow-id=\"subWorkflowId\" @close=\"closeSubprocessHistory\" />\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport Start from '../taches/start'\r\nimport End from '../taches/end'\r\nimport HumanTask from '../taches/human-task'\r\nimport Decision from '../taches/decision'\r\nimport Subprocess from '../taches/subprocess'\r\nimport CustomTask from '../taches/custom-task'\r\nimport Fork from '../taches/fork'\r\nimport Join from '../taches/join'\r\nimport HumanDecision from '../taches/human-decision'\r\nimport CopyTask from '../taches/copy-task'\r\nimport Transition from '../transitions/transition'\r\nimport TacheHistoryTooltip from './tache-history-tooltip'\r\nimport { mapGetters } from 'vuex'\r\nimport { getMousePosition } from '../util'\r\nimport { i18nOperation } from 'imatrix-ui/src/utils/workflow-util'\r\nimport { getLanguageWithLocale } from 'imatrix-ui/src/utils/util'\r\nimport TacheSubprocessHistoryDialog from './tache-subprocess-history-dialog'\r\n\r\nexport default {\r\n name: 'WfHistoryCanvas',\r\n components: {\r\n Start,\r\n End,\r\n HumanTask,\r\n Decision,\r\n Subprocess,\r\n CustomTask,\r\n Fork,\r\n Join,\r\n HumanDecision,\r\n CopyTask,\r\n Transition,\r\n TacheHistoryTooltip,\r\n TacheSubprocessHistoryDialog\r\n },\r\n props: {\r\n process: {\r\n type: Object,\r\n default: null\r\n },\r\n histories: {\r\n type: Array,\r\n default: null\r\n },\r\n currentTasks: {\r\n type: Array,\r\n default: null\r\n },\r\n // 主子流程的国际化配置\r\n allProcessI18n: {\r\n type: Object,\r\n default: null\r\n }\r\n },\r\n data: function() {\r\n return {\r\n showHistory: false,\r\n tooltipPosition: null,\r\n tacheHistoryInfo: null,\r\n showSubprocessDialog: false,\r\n subWorkflowId: null // 子流程最新实例\r\n }\r\n },\r\n computed: {\r\n ...mapGetters('wfEditor', [\r\n 'taches',\r\n 'transitions',\r\n 'processI18n'\r\n ])\r\n // classifiedTaches() {\r\n // this.taches.map(tache => {\r\n // this.tagPassedTache(tache)\r\n // this.tagCurrentTache(tache)\r\n // })\r\n // return this.taches\r\n // }\r\n\r\n },\r\n mounted: function() {\r\n\r\n },\r\n methods: {\r\n getTacheClass(tache) {\r\n // 先判断是否为当前节点 (流程中一个节点可能走多次,这个节点会同时出现在当前和历史节点中)\r\n if (this.getCurrentTache(tache)) {\r\n return 'current-tache'\r\n } else {\r\n const passTache = this.getPassedTache(tache)\r\n if (passTache && passTache.current) {\r\n // 子流程时会进入该判断\r\n return 'current-tache'\r\n } else if (passTache) {\r\n return 'passed-tache'\r\n } else {\r\n return ''\r\n }\r\n }\r\n },\r\n getPassedTache(tache) {\r\n let result = null\r\n for (const item of this.histories) {\r\n if ((item.historyType === 'PROCESS_START' && tache.ref.attr.id && tache.ref.attr.id === 'start') ||\r\n (item.historyType === 'PROCESS_END' && tache.ref.attr.id && tache.ref.attr.id === 'end') ||\r\n (tache.ref.attr.name && item.taskName && item.taskName === tache.ref.attr.name)) {\r\n result = item\r\n break\r\n }\r\n }\r\n return result\r\n },\r\n // 获得当前环节的流转历史信息,多条件流转历史记录之间换行显示。因为一个环节可能会走多次\r\n getPassedTacheHistories(tache) {\r\n const result = []\r\n for (const item of this.histories) {\r\n if ((item.historyType === 'PROCESS_START' && tache.ref.attr.id && tache.ref.attr.id === 'start') ||\r\n (item.historyType === 'PROCESS_END' && tache.ref.attr.id && tache.ref.attr.id === 'end') ||\r\n (tache.ref.attr.name && item.taskName && item.taskName === tache.ref.attr.name)) {\r\n result.push(this.i18nOperation(item))\r\n }\r\n }\r\n return result\r\n },\r\n i18nOperation(item) {\r\n let oneProcessI18n\r\n let processNameI18n\r\n const language = getLanguageWithLocale()\r\n const bundleCode = item.bundleCode\r\n if (bundleCode && bundleCode !== '' && this.processI18n) {\r\n oneProcessI18n = this.processI18n[bundleCode]\r\n }\r\n if (oneProcessI18n && oneProcessI18n['processName']) {\r\n processNameI18n = oneProcessI18n['processName'][language]\r\n }\r\n return i18nOperation(item, processNameI18n, oneProcessI18n, language)\r\n },\r\n getCurrentTache(tache) {\r\n let result = null\r\n for (const item of this.currentTasks) {\r\n if (item.taskName === tache.ref.attr.name) {\r\n result = item\r\n break\r\n }\r\n }\r\n return result\r\n },\r\n getTacheHistory(tache) {\r\n let content = null\r\n let historyText\r\n const histories = this.getPassedTacheHistories(tache)\r\n if (histories && histories.length > 0) {\r\n historyText = histories.join('</br>')\r\n }\r\n const current = this.getCurrentTache(tache)\r\n if (current) {\r\n content = this.$t('workflowEditorMessage.currentHandlingPersonnel') + ': ' + current.transactionResult\r\n if (historyText) {\r\n content += '</br>' + historyText\r\n }\r\n } else {\r\n content = historyText\r\n }\r\n return content\r\n },\r\n forbidSelection() {\r\n return false\r\n },\r\n mousedown(event) {\r\n console.log('mousedown')\r\n },\r\n mousemove(event) {\r\n },\r\n // 有些组件上的mouseup,会传播到canvas上来\r\n mouseup(event) {\r\n\r\n },\r\n mouseleave(event) {\r\n\r\n },\r\n\r\n endDrag(event) {\r\n\r\n },\r\n showTacheHistoryTooltip(tache, event) {\r\n this.tacheHistoryInfo = this.getTacheHistory(tache)\r\n this.showHistory = true\r\n },\r\n hideTacheHistoryTooltip() {\r\n // this.tacheHistoryInfo = null\r\n this.showHistory = false\r\n },\r\n updateTacheHistoryTooltipPosition(event) {\r\n const position = getMousePosition(event)\r\n this.tooltipPosition = {\r\n // 提示框的位置要偏离鼠标指针5px,防止提示框不停闪烁\r\n left: position.x + 5 + 'px',\r\n top: position.y + 5 + 'px'\r\n }\r\n },\r\n // 查看子流程流转历史\r\n showSubprocessHistory(tache) {\r\n const history = this.getPassedTache(tache)\r\n if (history && history.hasChildren !== undefined && history.hasChildren === true) {\r\n if (history.children && history.children.length > 0) {\r\n this.subWorkflowId = history.children[0].workflowId\r\n }\r\n this.showSubprocessDialog = true\r\n }\r\n },\r\n closeSubprocessHistory() {\r\n this.showSubprocessDialog = false\r\n }\r\n }\r\n}\r\n<\/script>\r\n<style >\r\n #svg{\r\n /* border:1px solid red; */\r\n background: white;\r\n background-image:\r\n linear-gradient(rgba(242,242,242,.7) 1px, transparent 0),\r\n linear-gradient(90deg, rgba(242,242,242,.7) 1px, transparent 0),\r\n linear-gradient(#e5e5e5 1px, transparent 0),\r\n linear-gradient(90deg,#e5e5e5 1px, transparent 0);\r\n background-size:\r\n 15px 15px,\r\n 15px 15px,\r\n 75px 75px,\r\n 75px 75px;\r\n }\r\n g{\r\n font-size: 16px;\r\n }\r\n g text{\r\n dominant-baseline: middle;\r\n }\r\n .selected{\r\n fill: #fff;\r\n stroke: #f00;\r\n stroke-width: 2;\r\n }\r\n .task-tache{\r\n fill: #fff;\r\n stroke: #666;\r\n stroke-width: 2;\r\n }\r\n .passed-tache .task-tache{\r\n fill: green;\r\n stroke: green;\r\n stroke-width: 2;\r\n }\r\n .current-tache .task-tache{\r\n fill: red;\r\n stroke: red;\r\n stroke-width: 2;\r\n }\r\n .passed-tache text{\r\n fill:white;\r\n }\r\n .current-tache text{\r\n fill: white\r\n }\r\n</style>\r\n"]}])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={refresh:function(){this.showHistory()}};t.default=r},function(e,t,n){"use strict";n(548)},function(e,t,n){(e.exports=n(10)(!0)).push([e.i,".main[data-v-422096c3]{position:relative;display:flex;height:100%;width:100%}.canvas-container[data-v-422096c3]{position:relative;height:100%;width:100%}section[data-v-422096c3]{overflow:hidden;width:100%;height:100%;padding:0}.canvas[data-v-422096c3]{overflow:auto;height:100%;padding:0;min-height:500px}.canvas[data-v-422096c3] .draggable{cursor:default}\n","",{version:3,sources:["D:/pack/workflow-editor-dev-dw/packages/workflow-editor/src/workflow-history.vue"],names:[],mappings:"AACA,uBACE,iBAAkB,CAClB,YAAY,CACZ,WAAY,CACZ,UAAU,CACX,mCAEC,iBAAkB,CAElB,WAAY,CACZ,UAAU,CACX,yBAGC,eAAgB,CAChB,UAAU,CACV,WAAW,CACX,SAAU,CAEX,yBAEC,aAAc,CACd,WAAW,CAGX,SAAU,CACV,gBAAiB,CAElB,oCAEG,cAAe",file:"workflow-history.vue?vue&type=style&index=0&id=422096c3&prod&lang=scss&scoped=true&",sourcesContent:["\r\n.main{\r\n position: relative;\r\n display:flex;\r\n height: 100%;\r\n width:100%;\r\n}\r\n.canvas-container{\r\n position: relative;\r\n // display:flex;\r\n height: 100%;\r\n width:100%;\r\n}\r\n\r\nsection{\r\n overflow: hidden;\r\n width:100%;\r\n height:100%;\r\n padding: 0;\r\n // min-height: 500px;\r\n}\r\n.canvas{\r\n overflow: auto;\r\n height:100%;\r\n // border:1px solid red;\r\n // background: #ffffff;\r\n padding: 0;\r\n min-height: 500px;\r\n\r\n}\r\n.canvas /deep/ .draggable{\r\n cursor: default;\r\n}\r\n"]}])},function(e,t,n){"use strict";n.r(t),n.d(t,"getToken",(function(){return h})),n.d(t,"setToken",(function(){return m})),n.d(t,"removeToken",(function(){return v})),n.d(t,"getUsername",(function(){return g})),n.d(t,"setUsername",(function(){return b})),n.d(t,"removeUsername",(function(){return w})),n.d(t,"getCurrentUser",(function(){return y})),n.d(t,"setCurrentUser",(function(){return k})),n.d(t,"removeCurrentUser",(function(){return _})),n.d(t,"getCookieCache",(function(){return x})),n.d(t,"setCookieCache",(function(){return A})),n.d(t,"removeCookieCache",(function(){return C})),n.d(t,"getSessionCache",(function(){return T})),n.d(t,"setSessionCache",(function(){return E})),n.d(t,"removeSessionCache",(function(){return O}));var r=n(248),o=n.n(r),i=n(15),s=n.n(i);function a(e){return o.a.get(e)}function l(e,t){o.a.set(e,t,{path:"/"})}function c(e){o.a.remove(e,{path:"/"})}function u(e){return sessionStorage.getItem(e)}function d(e,t){return sessionStorage.setItem(e,t)}function f(e){sessionStorage.removeItem(e)}var p={getToken:function(){let e=a("JWT");const t=s.a.prototype.projectModel;return!e&&t&&"developing.model"===t&&(e=u("JWT")),e},setToken:function(e){l("JWT",e),d("JWT",e)},removeToken:function(){c("JWT"),f("JWT")},getUsername:function(){let e=a("USERNAME");return e||(e=u("USERNAME")),e},setUsername:function(e){d("USERNAME",e),l("USERNAME",e)},removeUsername:function(){f("USERNAME"),c("USERNAME")},getCurrentUser:function(){let e=a("CURRENT_USER");if(e||(e=u("CURRENT_USER")),e)return JSON.parse(e)},setCurrentUser:function(e){if(e){e.password&&(e.password=null);const t=JSON.stringify(e);d("CURRENT_USER",t),l("CURRENT_USER",t)}},removeCurrentUser:function(){f("CURRENT_USER"),c("CURRENT_USER")},getCookieCache:a,setCookieCache:l,removeCookieCache:c,getSessionCache:u,setSessionCache:d,removeSessionCache:f};function h(){return p.getToken()}function m(e){p.setToken(e)}function v(){p.removeToken()}function g(){return p.getUsername()}function b(e){p.setUsername(e)}function w(){p.removeUsername()}function y(){return p.getCurrentUser()}function k(e){p.setCurrentUser(e)}function _(){p.removeCurrentUser()}function x(e){return p.getCookieCache(e)}function A(e,t){p.setCookieCache(e,t)}function C(e){p.removeCookieCache(e)}function T(e){return p.getSessionCache(e)}function E(e,t){return p.setSessionCache(e,t)}function O(e){p.removeSessionCache(e)}}])}));
41
- //# sourceMappingURL=workflow-editor.js.map
27
+ */e.exports&&(e.exports=n),void 0!==t&&(t.Prism=n)}).call(this,n(46))},function(e,t){Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}},function(e,t){Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript},function(e,t){!function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(Prism)},function(e,t){Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml},function(e,t,n){var r=n(766);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,'pre[class*="language-"].line-numbers {\n\tposition: relative;\n\tpadding-left: 3.8em;\n\tcounter-reset: linenumber;\n}\n\npre[class*="language-"].line-numbers > code {\n\tposition: relative;\n\twhite-space: inherit;\n}\n\n.line-numbers .line-numbers-rows {\n\tposition: absolute;\n\tpointer-events: none;\n\ttop: 0;\n\tfont-size: 100%;\n\tleft: -3.8em;\n\twidth: 3em; /* works for line-numbers below 1000 lines */\n\tletter-spacing: -1px;\n\tborder-right: 1px solid #999;\n\n\t-webkit-user-select: none;\n\t-moz-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none;\n\n}\n\n\t.line-numbers-rows > span {\n\t\tdisplay: block;\n\t\tcounter-increment: linenumber;\n\t}\n\n\t\t.line-numbers-rows > span:before {\n\t\t\tcontent: counter(linenumber);\n\t\t\tcolor: #999;\n\t\t\tdisplay: block;\n\t\t\tpadding-right: 0.8em;\n\t\t\ttext-align: right;\n\t\t}\n',""])},function(e,t){!function(){if("undefined"!=typeof Prism&&"undefined"!=typeof document){var e=/\n(?!$)/g,t=Prism.plugins.lineNumbers={getLine:function(e,t){if("PRE"===e.tagName&&e.classList.contains("line-numbers")){var n=e.querySelector(".line-numbers-rows");if(n){var r=parseInt(e.getAttribute("data-start"),10)||1,o=r+(n.children.length-1);t<r&&(t=r),t>o&&(t=o);var i=t-r;return n.children[i]}}},resize:function(e){r([e])},assumeViewportIndependence:!0},n=void 0;window.addEventListener("resize",(function(){t.assumeViewportIndependence&&n===window.innerWidth||(n=window.innerWidth,r(Array.prototype.slice.call(document.querySelectorAll("pre.line-numbers"))))})),Prism.hooks.add("complete",(function(t){if(t.code){var n=t.element,o=n.parentNode;if(o&&/pre/i.test(o.nodeName)&&!n.querySelector(".line-numbers-rows")&&Prism.util.isActive(n,"line-numbers")){n.classList.remove("line-numbers"),o.classList.add("line-numbers");var i,a=t.code.match(e),s=a?a.length+1:1,l=new Array(s+1).join("<span></span>");(i=document.createElement("span")).setAttribute("aria-hidden","true"),i.className="line-numbers-rows",i.innerHTML=l,o.hasAttribute("data-start")&&(o.style.counterReset="linenumber "+(parseInt(o.getAttribute("data-start"),10)-1)),t.element.appendChild(i),r([o]),Prism.hooks.run("line-numbers",t)}}})),Prism.hooks.add("line-numbers",(function(e){e.plugins=e.plugins||{},e.plugins.lineNumbers=!0}))}function r(t){if(0!=(t=t.filter((function(e){var t=function(e){if(!e)return null;return window.getComputedStyle?getComputedStyle(e):e.currentStyle||null}(e)["white-space"];return"pre-wrap"===t||"pre-line"===t}))).length){var n=t.map((function(t){var n=t.querySelector("code"),r=t.querySelector(".line-numbers-rows");if(n&&r){var o=t.querySelector(".line-numbers-sizer"),i=n.textContent.split(e);o||((o=document.createElement("span")).className="line-numbers-sizer",n.appendChild(o)),o.innerHTML="0",o.style.display="block";var a=o.getBoundingClientRect().height;return o.innerHTML="",{element:t,lines:i,lineHeights:[],oneLinerHeight:a,sizer:o}}})).filter(Boolean);n.forEach((function(e){var t=e.sizer,n=e.lines,r=e.lineHeights,o=e.oneLinerHeight;r[n.length-1]=void 0,n.forEach((function(e,n){if(e&&e.length>1){var i=t.appendChild(document.createElement("span"));i.style.display="block",i.textContent=e}else r[n]=o}))})),n.forEach((function(e){for(var t=e.sizer,n=e.lineHeights,r=0,o=0;o<n.length;o++)void 0===n[o]&&(n[o]=t.children[r++].getBoundingClientRect().height)})),n.forEach((function(e){var t=e.sizer,n=e.element.querySelector(".line-numbers-rows");t.style.display="none",t.innerHTML="",e.lineHeights.forEach((function(e,t){n.children[t].style.height=e+"px"}))}))}}}()},function(e,t,n){var r=n(769);"string"==typeof r&&(r=[[e.i,r,""]]);var o={sourceMap:!1,hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,'/**\n * prism.js Coy theme for JavaScript, CoffeeScript, CSS and HTML\n * Based on https://github.com/tshedor/workshop-wp-theme (Example: http://workshop.kansan.com/category/sessions/basics or http://workshop.timshedor.com/category/sessions/basics);\n * @author Tim Shedor\n */\n\ncode[class*="language-"],\npre[class*="language-"] {\n\tcolor: black;\n\tbackground: none;\n\tfont-family: Consolas, Monaco, \'Andale Mono\', \'Ubuntu Mono\', monospace;\n\tfont-size: 1em;\n\ttext-align: left;\n\twhite-space: pre;\n\tword-spacing: normal;\n\tword-break: normal;\n\tword-wrap: normal;\n\tline-height: 1.5;\n\n\t-moz-tab-size: 4;\n\t-o-tab-size: 4;\n\ttab-size: 4;\n\n\t-webkit-hyphens: none;\n\t-moz-hyphens: none;\n\t-ms-hyphens: none;\n\thyphens: none;\n}\n\n/* Code blocks */\npre[class*="language-"] {\n\tposition: relative;\n\tmargin: .5em 0;\n\toverflow: visible;\n\tpadding: 1px;\n}\n\npre[class*="language-"] > code {\n\tposition: relative;\n\tz-index: 1;\n\tborder-left: 10px solid #358ccb;\n\tbox-shadow: -1px 0px 0px 0px #358ccb, 0px 0px 0px 1px #dfdfdf;\n\tbackground-color: #fdfdfd;\n\tbackground-image: linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%);\n\tbackground-size: 3em 3em;\n\tbackground-origin: content-box;\n\tbackground-attachment: local;\n}\n\ncode[class*="language-"] {\n\tmax-height: inherit;\n\theight: inherit;\n\tpadding: 0 1em;\n\tdisplay: block;\n\toverflow: auto;\n}\n\n/* Margin bottom to accommodate shadow */\n:not(pre) > code[class*="language-"],\npre[class*="language-"] {\n\tbackground-color: #fdfdfd;\n\t-webkit-box-sizing: border-box;\n\t-moz-box-sizing: border-box;\n\tbox-sizing: border-box;\n\tmargin-bottom: 1em;\n}\n\n/* Inline code */\n:not(pre) > code[class*="language-"] {\n\tposition: relative;\n\tpadding: .2em;\n\tborder-radius: 0.3em;\n\tcolor: #c92c2c;\n\tborder: 1px solid rgba(0, 0, 0, 0.1);\n\tdisplay: inline;\n\twhite-space: normal;\n}\n\npre[class*="language-"]:before,\npre[class*="language-"]:after {\n\tcontent: \'\';\n\tdisplay: block;\n\tposition: absolute;\n\tbottom: 0.75em;\n\tleft: 0.18em;\n\twidth: 40%;\n\theight: 20%;\n\tmax-height: 13em;\n\tbox-shadow: 0px 13px 8px #979797;\n\t-webkit-transform: rotate(-2deg);\n\t-moz-transform: rotate(-2deg);\n\t-ms-transform: rotate(-2deg);\n\t-o-transform: rotate(-2deg);\n\ttransform: rotate(-2deg);\n}\n\npre[class*="language-"]:after {\n\tright: 0.75em;\n\tleft: auto;\n\t-webkit-transform: rotate(2deg);\n\t-moz-transform: rotate(2deg);\n\t-ms-transform: rotate(2deg);\n\t-o-transform: rotate(2deg);\n\ttransform: rotate(2deg);\n}\n\n.token.comment,\n.token.block-comment,\n.token.prolog,\n.token.doctype,\n.token.cdata {\n\tcolor: #7D8B99;\n}\n\n.token.punctuation {\n\tcolor: #5F6364;\n}\n\n.token.property,\n.token.tag,\n.token.boolean,\n.token.number,\n.token.function-name,\n.token.constant,\n.token.symbol,\n.token.deleted {\n\tcolor: #c92c2c;\n}\n\n.token.selector,\n.token.attr-name,\n.token.string,\n.token.char,\n.token.function,\n.token.builtin,\n.token.inserted {\n\tcolor: #2f9c0a;\n}\n\n.token.operator,\n.token.entity,\n.token.url,\n.token.variable {\n\tcolor: #a67f59;\n\tbackground: rgba(255, 255, 255, 0.5);\n}\n\n.token.atrule,\n.token.attr-value,\n.token.keyword,\n.token.class-name {\n\tcolor: #1990b8;\n}\n\n.token.regex,\n.token.important {\n\tcolor: #e90;\n}\n\n.language-css .token.string,\n.style .token.string {\n\tcolor: #a67f59;\n\tbackground: rgba(255, 255, 255, 0.5);\n}\n\n.token.important {\n\tfont-weight: normal;\n}\n\n.token.bold {\n\tfont-weight: bold;\n}\n.token.italic {\n\tfont-style: italic;\n}\n\n.token.entity {\n\tcursor: help;\n}\n\n.token.namespace {\n\topacity: .7;\n}\n\n@media screen and (max-width: 767px) {\n\tpre[class*="language-"]:before,\n\tpre[class*="language-"]:after {\n\t\tbottom: 14px;\n\t\tbox-shadow: none;\n\t}\n\n}\n\n/* Plugin styles: Line Numbers */\npre[class*="language-"].line-numbers.line-numbers {\n\tpadding-left: 0;\n}\n\npre[class*="language-"].line-numbers.line-numbers code {\n\tpadding-left: 3.8em;\n}\n\npre[class*="language-"].line-numbers.line-numbers .line-numbers-rows {\n\tleft: 0;\n}\n\n/* Plugin styles: Line Highlight */\npre[class*="language-"][data-line] {\n\tpadding-top: 0;\n\tpadding-bottom: 0;\n\tpadding-left: 0;\n}\npre[data-line] code {\n\tposition: relative;\n\tpadding-left: 4em;\n}\npre .line-highlight {\n\tmargin-top: 0;\n}\n',""])},function(e,t,n){"use strict";n.r(t);var r=n(367),o=n(239);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";n(542)},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={namespaced:!0,state:{taches:[],transitions:[],startJoint:null,endJoint:null,isMovingTache:!1,mouseDownPosition:null,isDrawingRegion:!1,isMovingRegion:!1,selectedTaches:[],selectedTransition:null,resizerToMove:null,draggerToMove:null,propertiesEditorFor:"",componentToDraw:"",controlPointToMove:null,formFields:[],formFieldsWithSub:[],contextMenuVisible:!1,formCode:null,systemCode:null,processCode:null,processI18n:null,subtableConditionMap:null,propSettingKeyList:null},getters:r(n(773)).default,mutations:{setTaches:function(e,t){e.taches=t},setTransitions:function(e,t){e.transitions=t},clearCanvas:function(e){e.taches=[],e.transitions=[]},resetState:function(e){e.isMovingTache=!1,e.startJoint=null,e.endJoint=null,e.isDrawingRegion=!1,e.isMovingRegion=!1,e.resizerToMove=null,e.draggerToMove=null,e.controlPointToMove=null},stopDrawingLine:function(e){e.startJoint=null,e.endJoint=null},setStartJoint:function(e,t){e.startJoint=t},setEndJoint:function(e,t){e.endJoint=t},setMovingTache:function(e,t){e.isMovingTache=t},setMouseDownPosition:function(e,t){e.mouseDownPosition=t},setDrawingRegion:function(e,t){e.isDrawingRegion=t},setMovingRegion:function(e,t){e.isMovingRegion=t},setSelectedTaches:function(e,t){e.selectedTaches=t},setSelectedTransition:function(e,t){e.selectedTransition=t},setResizerToMove:function(e,t){e.resizerToMove=t},setDraggerToMove:function(e,t){e.draggerToMove=t},setPropertiesEditorFor:function(e,t){e.propertiesEditorFor=t},setComponentToDraw:function(e,t){e.componentToDraw=t},setControlPointToMove:function(e,t){e.controlPointToMove=t},setFormFields:function(e,t){e.formFields=t},setFormCode:function(e,t){e.formCode=t},setFormFieldsWithSub:function(e,t){e.formFieldsWithSub=t},setContextMenuVisible:function(e,t){e.contextMenuVisible=t},setSystemCode:function(e,t){e.systemCode=t},setProcessCode:function(e,t){e.processCode=t},setProcessI18n:function(e,t){e.processI18n=t},setSubtableConditionMap:function(e,t){e.subtableConditionMap=t},setPropSettingKeyList:function(e,t){e.propSettingKeyList=t}}};t.default=o},function(e,t,n){"use strict";var r=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(12)),i=void 0,a={taches:function(e){return(0,o.default)(this,i),e.taches}.bind(void 0),transitions:function(e){return(0,o.default)(this,i),e.transitions}.bind(void 0),startJoint:function(e){return(0,o.default)(this,i),e.startJoint}.bind(void 0),endJoint:function(e){return(0,o.default)(this,i),e.endJoint}.bind(void 0),isMovingTache:function(e){return(0,o.default)(this,i),e.isMovingTache}.bind(void 0),mouseDownPosition:function(e){return(0,o.default)(this,i),e.mouseDownPosition}.bind(void 0),isDrawingRegion:function(e){return(0,o.default)(this,i),e.isDrawingRegion}.bind(void 0),isMovingRegion:function(e){return(0,o.default)(this,i),e.isMovingRegion}.bind(void 0),selectedTaches:function(e){return(0,o.default)(this,i),e.selectedTaches}.bind(void 0),selectedTransition:function(e){return(0,o.default)(this,i),e.selectedTransition}.bind(void 0),resizerToMove:function(e){return(0,o.default)(this,i),e.resizerToMove}.bind(void 0),draggerToMove:function(e){return(0,o.default)(this,i),e.draggerToMove}.bind(void 0),propertiesEditorFor:function(e){return(0,o.default)(this,i),e.propertiesEditorFor}.bind(void 0),componentToDraw:function(e){return(0,o.default)(this,i),e.componentToDraw}.bind(void 0),controlPointToMove:function(e){return(0,o.default)(this,i),e.controlPointToMove}.bind(void 0),formFields:function(e){return(0,o.default)(this,i),e.formFields}.bind(void 0),formCode:function(e){return(0,o.default)(this,i),e.formCode}.bind(void 0),formFieldsWithSub:function(e){return(0,o.default)(this,i),e.formFieldsWithSub}.bind(void 0),contextMenuVisible:function(e){return(0,o.default)(this,i),e.contextMenuVisible}.bind(void 0),systemCode:function(e){return(0,o.default)(this,i),e.systemCode}.bind(void 0),processCode:function(e){return(0,o.default)(this,i),e.processCode}.bind(void 0),processI18n:function(e){return(0,o.default)(this,i),e.processI18n}.bind(void 0),subtableConditionMap:function(e){return(0,o.default)(this,i),e.subtableConditionMap}.bind(void 0),propSettingKeyList:function(e){return(0,o.default)(this,i),e.propSettingKeyList}.bind(void 0)};t.default=a},function(e,t,n){"use strict";n.r(t);var r=n(368),o=n(241);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(782);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"422096c3",null);t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(369),o=n(243);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(779);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";n.r(t),n.d(t,"i18nOperation",(function(){return o}));var r=n(33);function o(e,t,n,o){let i=e.transactionResult;const a=e.historyType;if(!e.current&&a)if(e.transactionParams){const s=JSON.parse(e.transactionParams);let l=a.toLowerCase();const c=function(e){return"HISTORY_SUBMIT"===e||"HISTORY_AGREE"===e||"HISTORY_DISAGREE"===e||"HISTORY_AGREEMENT"===e||"HISTORY_OPPOSE"===e||"HISTORY_KIKEN"===e||"HISTORY_SIGNOFF"===e||"HISTORY_SEND"===e||"HISTORY_DISTRIBUTE"===e||"HISTORY_READED"===e}(a);if(c?l="commonButtonOperation":"process_end"===l&&(l="processEnd"),c||"HISTORY_COMPLETE_TRANSFER"===a){const e=s[2];s[2]=Object(r.getI18n)().t("workflowButton."+e)}if("process_start"===l&&t&&null!==t)s[1]=t,i=Object(r.getI18n)().t("workflowHistoryList."+l,s);else{const e=s;if(n&&o)for(const t in s){e[t]=s[t];const r=s[t];if(r.indexOf("${taskNodeId:")>=0){const i=r.substring(r.indexOf(":")+1,r.indexOf("##")),a=r.substring(r.indexOf("##")+2,r.lastIndexOf("}")),s=n[i];s&&s[o]&&""!==s[o]?e[t]=s[o]:e[t]=a}}i=Object(r.getI18n)().t("workflowHistoryList."+l,e)}}else i=Object(r.getI18n)().t("workflowHistoryList."+a.toLowerCase());return i}},function(e,t,n){"use strict";n.r(t);var r=n(370),o=n(245);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(778);var a=n(0),s=Object(a.a)(o.default,r.render,r.staticRenderFns,!1,null,"d95c25fc",null);t.default=s.exports},function(e,t,n){"use strict";n(546)},function(e,t,n){"use strict";n(547)},function(e,t,n){(e.exports=n(13)(!1)).push([e.i,"\n#svg{\n /* border:1px solid red; */\n background: white;\n background-image:\n linear-gradient(rgba(242,242,242,.7) 1px, transparent 0),\n linear-gradient(90deg, rgba(242,242,242,.7) 1px, transparent 0),\n linear-gradient(#e5e5e5 1px, transparent 0),\n linear-gradient(90deg,#e5e5e5 1px, transparent 0);\n background-size:\n 15px 15px,\n 15px 15px,\n 75px 75px,\n 75px 75px;\n}\ng{\n font-size: 16px;\n}\ng text{\n dominant-baseline: middle;\n}\n.selected{\n fill: #fff;\n stroke: #f00;\n stroke-width: 2;\n}\n.task-tache{\n fill: #fff;\n stroke: #666;\n stroke-width: 2;\n}\n.passed-tache .task-tache{\n fill: green;\n stroke: green;\n stroke-width: 2;\n}\n.current-tache .task-tache{\n fill: red;\n stroke: red;\n stroke-width: 2;\n}\n.passed-tache text{\n fill:white;\n}\n.current-tache text{\n fill: white\n}\n",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={refresh:function(){this.showHistory()}};t.default=r},function(e,t,n){"use strict";n(548)},function(e,t,n){"use strict";n.r(t),n.d(t,"getToken",(function(){return h})),n.d(t,"setToken",(function(){return m})),n.d(t,"removeToken",(function(){return v})),n.d(t,"getUsername",(function(){return g})),n.d(t,"setUsername",(function(){return b})),n.d(t,"removeUsername",(function(){return w})),n.d(t,"getCurrentUser",(function(){return y})),n.d(t,"setCurrentUser",(function(){return _})),n.d(t,"removeCurrentUser",(function(){return k})),n.d(t,"getCookieCache",(function(){return O})),n.d(t,"setCookieCache",(function(){return T})),n.d(t,"removeCookieCache",(function(){return x})),n.d(t,"getSessionCache",(function(){return E})),n.d(t,"setSessionCache",(function(){return S})),n.d(t,"removeSessionCache",(function(){return F}));var r=n(248),o=n.n(r),i=n(15),a=n.n(i);function s(e){return o.a.get(e)}function l(e,t){o.a.set(e,t,{path:"/"})}function c(e){o.a.remove(e,{path:"/"})}function u(e){return sessionStorage.getItem(e)}function d(e,t){return sessionStorage.setItem(e,t)}function f(e){sessionStorage.removeItem(e)}var p={getToken:function(){let e=s("JWT");const t=a.a.prototype.projectModel;return!e&&t&&"developing.model"===t&&(e=u("JWT")),e},setToken:function(e){l("JWT",e),d("JWT",e)},removeToken:function(){c("JWT"),f("JWT")},getUsername:function(){let e=s("USERNAME");return e||(e=u("USERNAME")),e},setUsername:function(e){d("USERNAME",e),l("USERNAME",e)},removeUsername:function(){f("USERNAME"),c("USERNAME")},getCurrentUser:function(){let e=s("CURRENT_USER");if(e||(e=u("CURRENT_USER")),e)return JSON.parse(e)},setCurrentUser:function(e){if(e){e.password&&(e.password=null);const t=JSON.stringify(e);d("CURRENT_USER",t),l("CURRENT_USER",t)}},removeCurrentUser:function(){f("CURRENT_USER"),c("CURRENT_USER")},getCookieCache:s,setCookieCache:l,removeCookieCache:c,getSessionCache:u,setSessionCache:d,removeSessionCache:f};function h(){return p.getToken()}function m(e){p.setToken(e)}function v(){p.removeToken()}function g(){return p.getUsername()}function b(e){p.setUsername(e)}function w(){p.removeUsername()}function y(){return p.getCurrentUser()}function _(e){p.setCurrentUser(e)}function k(){p.removeCurrentUser()}function O(e){return p.getCookieCache(e)}function T(e,t){p.setCookieCache(e,t)}function x(e){p.removeCookieCache(e)}function E(e){return p.getSessionCache(e)}function S(e,t){return p.setSessionCache(e,t)}function F(e){p.removeSessionCache(e)}}])}));