@nocobase/plugin-workflow-manual 2.2.0-beta.16 → 2.2.0-beta.18

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.
@@ -7,4 +7,4 @@
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
9
 
10
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@nocobase/client-v2"),require("react-router-dom"),require("react"),require("antd"),require("@nocobase/plugin-workflow/client-v2"),require("@ant-design/icons"),require("@nocobase/flow-engine")):"function"==typeof define&&define.amd?define("@nocobase/plugin-workflow-manual/client-v2",["@nocobase/client-v2","react-router-dom","react","antd","@nocobase/plugin-workflow/client-v2","@ant-design/icons","@nocobase/flow-engine"],t):"object"==typeof exports?exports["@nocobase/plugin-workflow-manual/client-v2"]=t(require("@nocobase/client-v2"),require("react-router-dom"),require("react"),require("antd"),require("@nocobase/plugin-workflow/client-v2"),require("@ant-design/icons"),require("@nocobase/flow-engine")):e["@nocobase/plugin-workflow-manual/client-v2"]=t(e["@nocobase/client-v2"],e["react-router-dom"],e.react,e.antd,e["@nocobase/plugin-workflow/client-v2"],e["@ant-design/icons"],e["@nocobase/flow-engine"])}(self,function(e,t,n,r,o,a,l){return function(){"use strict";var i={375:function(e){e.exports=a},485:function(t){t.exports=e},694:function(e){e.exports=l},197:function(e){e.exports=o},59:function(e){e.exports=r},155:function(e){e.exports=n},442:function(e){e.exports=t}},c={};function u(e){var t=c[e];if(void 0!==t)return t.exports;var n=c[e]={exports:{}};return i[e](n,n.exports,u),n.exports}u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,{a:t}),t},u.d=function(e,t){for(var n in t)u.o(t,n)&&!u.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},u.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.r=function(e){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.g.importScripts&&(s=u.g.location+"");var s,f=u.g.document;if(!s&&f&&(f.currentScript&&"SCRIPT"===f.currentScript.tagName.toUpperCase()&&(s=f.currentScript.src),!s)){var p=f.getElementsByTagName("script");if(p.length)for(var b=p.length-1;b>-1&&(!s||!/^http(s?):/.test(s));)s=p[b--].src}if(!s)throw Error("Automatic publicPath is not supported in this browser");u.p=s.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/");var d={};return!function(){var e="",t="u">typeof document?document.currentScript:null;if(t&&t.src){var n=t.src.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"");n.indexOf("/static/plugins/@nocobase/plugin-workflow-manual/dist/client-v2/")>=0&&(e=n.replace(/\/[^\/]+$/,"/"))}if(!e){var r=window.__webpack_public_path__||"";r&&("/"!==r.charAt(r.length-1)&&(r+="/"),e=r+"static/plugins/@nocobase/plugin-workflow-manual/dist/client-v2/")}if(!e){var o=window.__nocobase_modern_client_prefix__||"v",a="/"+(o=String(o).replace(/^\/+|\/+$/g,"")||"v")+"/";if(!(e=window.__nocobase_public_path__||"")&&window.location&&window.location.pathname){var l=window.location.pathname||"/",i=l.indexOf(a);e=i>=0?l.slice(0,i+1):"/"}e&&(e=e.replace(RegExp("/"+o+"/?$"),"/")),e||(e="/"),"/"!==e.charAt(e.length-1)&&(e+="/"),e+="static/plugins/@nocobase/plugin-workflow-manual/dist/client-v2/"}u.p=e}(),!function(){u.r(d),u.d(d,{default:function(){return W}});var e,t=u(485),n=u(197),r="manual",o=[{value:0,label:'{{t("Pending", { ns: "workflow" })}}',color:"gold"},{value:1,label:'{{t("Resolved", { ns: "workflow" })}}',color:"green"},{value:-3,label:'{{t("Aborted", { ns: "workflow" })}}',color:"volcano"},{value:-5,label:'{{t("Rejected", { ns: "workflow" })}}',color:"red"}];o.reduce(function(e,t){var n,r;return Object.assign(e,(n={},r=t.value,r in n?Object.defineProperty(n,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[r]=t,n))},{});var a=u(375),l=u(694),i=u(59),c=u(155),s=u.n(c),f=u(442),p=[{name:"workflows",dataCategory:"system",hidden:!0,shared:!0,fields:[{name:"id",type:"snowflakeId",primaryKey:!0,allowNull:!1},{name:"title",type:"string",interface:"input",uiSchema:{type:"string",title:'{{t("Name")}}',"x-component":"Input"}}]},{name:"workflowManualTasks",dataCategory:"business",filterTargetKey:"id",hidden:!0,shared:!0,fields:[{name:"id",type:"snowflakeId",primaryKey:!0,allowNull:!1},{name:"title",type:"string",interface:"input",uiSchema:{type:"string",title:'{{t("Task title", { ns: "workflow-manual" })}}',"x-component":"Input"}},{name:"workflow",type:"belongsTo",target:"workflows",interface:"m2o",uiSchema:{type:"object",title:'{{t("Workflow", { ns: "workflow" })}}',"x-component":"AssociationField","x-component-props":{fieldNames:{label:"title",value:"id"}}}}]}],b="@nocobase/plugin-workflow-manual";function w(){var e=(0,l.useFlowEngine)();return function(t,n){return e.context.t(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({ns:[b,"client"],nsMode:"fallback"},n))}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t,n,r,o,a,l){try{var i=e[a](l),c=i.value}catch(e){n(e);return}i.done?t(c):Promise.resolve(c).then(r,o)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=["node.id","node.title","job.id","job.status","job.result","workflow.id","workflow.title","workflow.enabled","execution.id","execution.status"],h=["node.config","workflow.config","workflow.options"],k="workflowManualTasksFilter",O={$and:[{title:{$includes:""}},{"workflow.title":{$includes:""}}]},S=(g(e={},n.TASK_STATUS.PENDING,{filter:{status:0,"execution.status":0}}),g(e,n.TASK_STATUS.COMPLETED,{filter:{status:[1,-3,-5]}}),e);function j(e){return!!e&&(void 0===e?"undefined":e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)=="object"&&!Array.isArray(e)}function x(e,t){return t.split(".").reduce(function(e,t){return j(e)?e[t]:void 0},e)}function P(e,t){var n=x(e,t);if(null!=n)return String(n)}function T(e){return!j(e)||function e(t){return null==t||""===t||(Array.isArray(t)?t.every(e):!!j(t)&&Object.values(t).every(e))}(e)}function _(){if(!("u"<typeof window)){var e=new URLSearchParams(window.location.search).get(k);if(e)try{var t=JSON.parse(e);return j(t)&&!T(t)?t:void 0}catch(e){return}}}function E(e){return String(e).padStart(2,"0")}function A(e){var t=e.record,n=w(),r=t.status,a=x(t,"execution.status");if(null==r&&null!=a&&0!==a)return s().createElement(i.Tag,null,n("Unprocessed"));var l=o.find(function(e){return e.value===r});return l?s().createElement(i.Tag,{color:l.color},n(l.label)):s().createElement(i.Tag,null,null==r?"-":String(r))}function R(e){var n,r,o,a,u,p=e.onlyIcon,b=w(),d=(0,f.useNavigate)(),y=(0,f.useLocation)(),v=null==(a=(0,l.useFlowEngine)().context.dataSourceManager)||null==(o=a.getDataSource)||null==(r=o.call(a,"main"))||null==(n=r.getCollection)?void 0:n.call(r,"workflowManualTasks"),g=b("Filter"),m=(0,c.useCallback)(function(e){var t,n,r;d((n=new URLSearchParams(y.search),T(e)?n.delete(k):n.set(k,JSON.stringify(e)),r=n.toString(),"".concat(y.pathname).concat(r?"?".concat(r):"").concat(null!=(t=y.hash)?t:"")),{replace:!0})},[y,d]),h=s().createElement(t.CollectionFilter,{key:y.search||"empty-filter",collection:v,initialValue:null!=(u=_())?u:O,onChange:m,t:b,filterableFieldNames:["title","workflow"],buttonText:p?"":void 0,showCount:!1,buttonProps:{"aria-label":p?g:void 0}});return p?s().createElement(i.Tooltip,{title:g},h):h}function C(e){if(!e||"/"===e)return"";var t=e.replace(/\/+$/,"");return t.startsWith("/")?t:"/".concat(t)}var M={key:r,title:'{{t("My manual tasks", { ns: "'.concat(b,'" })}}'),collection:"workflowManualTasks",action:"listMine",useActionParams:function(e){var t,n,r,o,a,l=null!=(a=S[e])?a:{},i=(t=l.filter,n=_(),T(t)?null!=n?n:{}:T(n)?null!=t?t:{}:{$and:[t,n]});return r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){g(e,t,n[t])})}return e}({},l),o=o={filter:i,appends:m,except:h},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(o)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}),r},Actions:function(e){var n=e.onlyIcon,r=e.reload,o=i.App.useApp().message,l=w(),u=(0,c.useCallback)(function(){var e;return(e=function(){return function(e,t){var n,r,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},l=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),i=Object.defineProperty;return i(l,"next",{value:c(0)}),i(l,"throw",{value:c(1)}),i(l,"return",{value:c(2)}),"function"==typeof Symbol&&i(l,Symbol.iterator,{value:function(){return this}}),l;function c(i){return function(c){var u=[i,c];if(n)throw TypeError("Generator is already executing.");for(;l&&(l=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,null==r?void 0:r()];case 1:return e.sent(),[3,3];case 2:return console.error("Failed to refresh workflow manual tasks",e.sent()),o.error(l("Load failed")),[3,3];case 3:return[2]}})},function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function l(e){v(a,r,o,l,i,"next",e)}function i(e){v(a,r,o,l,i,"throw",e)}l(void 0)})})()},[o,r,l]),f=s().createElement(i.Button,{icon:s().createElement(a.ReloadOutlined,null),onClick:u,"aria-label":l("Refresh")},n?null:l("Refresh"));return s().createElement(t.ExtendCollectionsProvider,{collections:p},s().createElement(i.Space,{size:"small",wrap:!0},n?s().createElement(i.Tooltip,{title:l("Refresh")},f):f,s().createElement(R,{onlyIcon:n})))},Item:function(){var e,t,r=(0,n.useWorkflowTaskRecord)().record,o=w(),a=null!=(e=null!=(t=P(r,"title"))?t:P(r,"node.title"))?e:o("Task"),l=P(r,"workflow.title");return s().createElement(i.Card,{size:"small",hoverable:!0,title:a,extra:l},s().createElement(i.Descriptions,{column:1,size:"small",items:[{key:"createdAt",label:o("Created at"),children:function(e){var t="string"==typeof e||"number"==typeof e?String(e):void 0;if(!t)return"-";var n=new Date(t);return Number.isNaN(n.getTime())?t:"".concat(n.getFullYear(),"-").concat(E(n.getMonth()+1),"-").concat(E(n.getDate())," ").concat(E(n.getHours()),":").concat(E(n.getMinutes()),":").concat(E(n.getSeconds()))}(r.createdAt)},{key:"status",label:o("Status"),children:s().createElement(A,{record:r})}]}))},Detail:function(){var e,o,c,u,f=(0,n.useWorkflowTaskRecord)().record,p=(0,l.useFlowContext)(),b=function(e,n){var o=(u=C(e),s=C("u"<typeof window?e:window.__nocobase_public_path__||e),f=C((0,t.stripModernClientPrefix)(s)),p=u===s?"":s&&u.startsWith("".concat(s,"/"))?u.slice(s.length):"","".concat(f).concat(p)),a=null==n?"":encodeURIComponent(String(n)),l="".concat(o,"/admin/workflow/tasks/").concat(r,"/pending").concat(a?"/".concat(a):"");if("u"<typeof window||null==n)return l;var i=(b=window.location.pathname,(d=C(e))?b===d?"/":b.startsWith("".concat(d,"/"))?b.slice(d.length):b:b),c="/admin/workflow/tasks/";if(i.startsWith(c)){var u,s,f,p,b,d,w,v=function(e){if(Array.isArray(e))return e}(w=i.slice(c.length).split("/"))||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(w)||function(e){if(e){if("string"==typeof e)return y(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return y(e,void 0)}}(w)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),g=v[0],m=v[1],h=v[2];if(0===v.slice(3).length&&m&&g===r&&(h===String(n)||h===a)){var k="".concat(o,"/admin/workflow/tasks/").concat(r,"/").concat(m,"/").concat(a);return"".concat(k).concat(window.location.search).concat(window.location.hash)}}return l}(null!=(e=null==p||null==(c=p.router)||null==(o=c.getBasename)?void 0:o.call(c))?e:null==p||null==(u=p.router)?void 0:u.basename,(0,n.getWorkflowTaskRecordKey)(f)),d=w();return s().createElement(i.Result,{status:"info",title:d("Manual task cannot be processed on the new page"),subTitle:d("Manual tasks are not yet supported on the new page. Return to the legacy page to process this task."),extra:s().createElement(i.Button,{type:"primary",href:b,icon:s().createElement(a.ArrowRightOutlined,{"aria-hidden":!0})},d("Return to legacy page"))})}};function I(e,t,n,r,o,a,l){try{var i=e[a](l),c=i.value}catch(e){n(e);return}i.done?t(c):Promise.resolve(c).then(r,o)}function N(e,t,n){return(N=D()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&$(o,n.prototype),o}).apply(null,arguments)}function q(e){return(q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function $(e,t){return($=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function F(e){var t="function"==typeof Map?new Map:void 0;return(F=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return N(e,arguments,q(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),$(n,e)})(e)}function D(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(D=function(){return!!e})()}var W=function(e){var t;if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function o(){var e,t;if(!(this instanceof o))throw TypeError("Cannot call a class as a function");return e=o,t=arguments,e=q(e),function(e,t){var n;if(t&&("object"==((n=t)&&"u">typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,D()?Reflect.construct(e,t||[],q(this).constructor):e.apply(this,t))}return o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),e&&$(o,e),t=[{key:"load",value:function(){var e;return(e=function(){var e,t,o;return function(e,t){var n,r,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},l=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),i=Object.defineProperty;return i(l,"next",{value:c(0)}),i(l,"throw",{value:c(1)}),i(l,"return",{value:c(2)}),"function"==typeof Symbol&&i(l,Symbol.iterator,{value:function(){return this}}),l;function c(i){return function(c){var u=[i,c];if(n)throw TypeError("Generator is already executing.");for(;l&&(l=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}(this,function(a){return null==(o=null!=(e=this.app.pm.get(n.PluginWorkflowClientV2))?e:this.app.pm.get("workflow"))||null==(t=o.registerTaskType)||t.call(o,r,M),[2]})},function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function l(e){I(a,r,o,l,i,"next",e)}function i(e){I(a,r,o,l,i,"throw",e)}l(void 0)})}).call(this)}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(o.prototype,t),o}(F(t.Plugin))}(),d}()});
10
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@nocobase/client-v2"),require("react-router-dom"),require("react"),require("antd"),require("@nocobase/plugin-workflow/client-v2"),require("@ant-design/icons"),require("@nocobase/flow-engine")):"function"==typeof define&&define.amd?define("@nocobase/plugin-workflow-manual/client-v2",["@nocobase/client-v2","react-router-dom","react","antd","@nocobase/plugin-workflow/client-v2","@ant-design/icons","@nocobase/flow-engine"],t):"object"==typeof exports?exports["@nocobase/plugin-workflow-manual/client-v2"]=t(require("@nocobase/client-v2"),require("react-router-dom"),require("react"),require("antd"),require("@nocobase/plugin-workflow/client-v2"),require("@ant-design/icons"),require("@nocobase/flow-engine")):e["@nocobase/plugin-workflow-manual/client-v2"]=t(e["@nocobase/client-v2"],e["react-router-dom"],e.react,e.antd,e["@nocobase/plugin-workflow/client-v2"],e["@ant-design/icons"],e["@nocobase/flow-engine"])}(self,function(e,t,n,r,o,a,l){return function(){"use strict";var i={375:function(e){e.exports=a},485:function(t){t.exports=e},694:function(e){e.exports=l},197:function(e){e.exports=o},59:function(e){e.exports=r},155:function(e){e.exports=n},442:function(e){e.exports=t}},c={};function u(e){var t=c[e];if(void 0!==t)return t.exports;var n=c[e]={exports:{}};return i[e](n,n.exports,u),n.exports}u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,{a:t}),t},u.d=function(e,t){for(var n in t)u.o(t,n)&&!u.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},u.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.r=function(e){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.g.importScripts&&(s=u.g.location+"");var s,f=u.g.document;if(!s&&f&&(f.currentScript&&"SCRIPT"===f.currentScript.tagName.toUpperCase()&&(s=f.currentScript.src),!s)){var p=f.getElementsByTagName("script");if(p.length)for(var b=p.length-1;b>-1&&(!s||!/^http(s?):/.test(s));)s=p[b--].src}if(!s)throw Error("Automatic publicPath is not supported in this browser");u.p=s.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/");var d={};return!function(){var e="",t="u">typeof document?document.currentScript:null;if(t&&t.src){var n=t.src.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"");n.indexOf("/static/plugins/@nocobase/plugin-workflow-manual/dist/client-v2/")>=0&&(e=n.replace(/\/[^\/]+$/,"/"))}if(!e){var r=window.__webpack_public_path__||"";r&&("/"!==r.charAt(r.length-1)&&(r+="/"),e=r+"static/plugins/@nocobase/plugin-workflow-manual/dist/client-v2/")}if(!e){var o=window.__nocobase_modern_client_prefix__||"v",a="/"+(o=String(o).replace(/^\/+|\/+$/g,"")||"v")+"/";if(!(e=window.__nocobase_public_path__||"")&&window.location&&window.location.pathname){var l=window.location.pathname||"/",i=l.indexOf(a);e=i>=0?l.slice(0,i+1):"/"}e&&(e=e.replace(RegExp("/"+o+"/?$"),"/")),e||(e="/"),"/"!==e.charAt(e.length-1)&&(e+="/"),e+="static/plugins/@nocobase/plugin-workflow-manual/dist/client-v2/"}u.p=e}(),!function(){u.r(d),u.d(d,{default:function(){return U}});var e,t=u(485),n=u(197),r="manual",o=[{value:0,label:'{{t("Pending", { ns: "workflow" })}}',color:"gold"},{value:1,label:'{{t("Resolved", { ns: "workflow" })}}',color:"green"},{value:-3,label:'{{t("Aborted", { ns: "workflow" })}}',color:"volcano"},{value:-5,label:'{{t("Rejected", { ns: "workflow" })}}',color:"red"}];o.reduce(function(e,t){var n,r;return Object.assign(e,(n={},r=t.value,r in n?Object.defineProperty(n,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[r]=t,n))},{});var a=u(375),l=u(694),i=u(59),c=u(155),s=u.n(c),f=u(442),p=[{name:"workflows",dataCategory:"system",hidden:!0,shared:!0,fields:[{name:"id",type:"snowflakeId",primaryKey:!0,allowNull:!1},{name:"title",type:"string",interface:"input",uiSchema:{type:"string",title:'{{t("Name")}}',"x-component":"Input"}}]},{name:"workflowManualTasks",dataCategory:"business",filterTargetKey:"id",hidden:!0,shared:!0,fields:[{name:"id",type:"snowflakeId",primaryKey:!0,allowNull:!1},{name:"title",type:"string",interface:"input",uiSchema:{type:"string",title:'{{t("Task title", { ns: "workflow-manual" })}}',"x-component":"Input"}},{name:"workflow",type:"belongsTo",target:"workflows",interface:"m2o",uiSchema:{type:"object",title:'{{t("Workflow", { ns: "workflow" })}}',"x-component":"AssociationField","x-component-props":{fieldNames:{label:"title",value:"id"}}}}]}],b="@nocobase/plugin-workflow-manual";function y(){var e=(0,l.useFlowEngine)();return function(t,n){return e.context.t(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({ns:[b,"client"],nsMode:"fallback"},n))}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t,n,r,o,a,l){try{var i=e[a](l),c=i.value}catch(e){n(e);return}i.done?t(c):Promise.resolve(c).then(r,o)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=["node.id","node.title","job.id","job.status","job.result","workflow.id","workflow.title","workflow.enabled","execution.id","execution.status"],h=["node.config","workflow.config","workflow.options"],k="workflowManualTasksFilter",O={$and:[{title:{$includes:""}}]},S=(g(e={},n.TASK_STATUS.PENDING,{filter:{status:0,"execution.status":0}}),g(e,n.TASK_STATUS.COMPLETED,{filter:{status:[1,-3,-5]}}),e);function j(e){return!!e&&(void 0===e?"undefined":e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)=="object"&&!Array.isArray(e)}function x(e,t){return t.split(".").reduce(function(e,t){return j(e)?e[t]:void 0},e)}function P(e,t){var n=x(e,t);if(null!=n)return String(n)}function T(e){return!j(e)||function e(t){return null==t||""===t||(Array.isArray(t)?t.every(e):!!j(t)&&Object.values(t).every(e))}(e)}function _(){if(!("u"<typeof window)){var e=new URLSearchParams(window.location.search).get(k);if(e)try{var t=JSON.parse(e);return j(t)&&!T(t)?t:void 0}catch(e){return}}}function E(e,t){return T(e)?null!=t?t:{}:T(t)?null!=e?e:{}:{$and:[e,t]}}function A(e){return String(e).padStart(2,"0")}function R(e){var t=e.record,n=y(),r=t.status,a=x(t,"execution.status");if(null==r&&null!=a&&0!==a)return s().createElement(i.Tag,null,n("Unprocessed"));var l=o.find(function(e){return e.value===r});return l?s().createElement(i.Tag,{color:l.color},n(l.label)):s().createElement(i.Tag,null,null==r?"-":String(r))}function C(e){var n,r,o,a,u,p=e.onlyIcon,b=y(),d=(0,f.useNavigate)(),w=(0,f.useLocation)(),v=null==(a=(0,l.useFlowEngine)().context.dataSourceManager)||null==(o=a.getDataSource)||null==(r=o.call(a,"main"))||null==(n=r.getCollection)?void 0:n.call(r,"workflowManualTasks"),g=b("Filter"),m=(0,c.useCallback)(function(e){var t,n,r;d((n=new URLSearchParams(w.search),T(e)?n.delete(k):n.set(k,JSON.stringify(e)),r=n.toString(),"".concat(w.pathname).concat(r?"?".concat(r):"").concat(null!=(t=w.hash)?t:"")),{replace:!0})},[w,d]),h=s().createElement(t.CollectionFilter,{key:w.search||"empty-filter",collection:v,initialValue:null!=(u=_())?u:O,onChange:m,t:b,filterableFieldNames:["title"],buttonText:p?"":void 0,showCount:!1,buttonProps:{"aria-label":p?g:void 0}});return p?s().createElement(i.Tooltip,{title:g},h):h}function M(e){if(!e||"/"===e)return"";var t=e.replace(/\/+$/,"");return t.startsWith("/")?t:"/".concat(t)}var I={key:r,title:'{{t("My manual tasks", { ns: "'.concat(b,'" })}}'),collection:"workflowManualTasks",action:"listMine",useActionParams:function(e,t){var n,r,o,a=null!=(o=S[e])?o:{},l=E(E(a.filter,t?{"workflow.key":t}:void 0),_());return n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){g(e,t,n[t])})}return e}({},a),r=r={filter:l,appends:m,except:h},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),n},Actions:function(e){var n=e.onlyIcon,r=e.reload,o=i.App.useApp().message,l=y(),u=(0,c.useCallback)(function(){var e;return(e=function(){return function(e,t){var n,r,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},l=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),i=Object.defineProperty;return i(l,"next",{value:c(0)}),i(l,"throw",{value:c(1)}),i(l,"return",{value:c(2)}),"function"==typeof Symbol&&i(l,Symbol.iterator,{value:function(){return this}}),l;function c(i){return function(c){var u=[i,c];if(n)throw TypeError("Generator is already executing.");for(;l&&(l=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,null==r?void 0:r()];case 1:return e.sent(),[3,3];case 2:return console.error("Failed to refresh workflow manual tasks",e.sent()),o.error(l("Load failed")),[3,3];case 3:return[2]}})},function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function l(e){v(a,r,o,l,i,"next",e)}function i(e){v(a,r,o,l,i,"throw",e)}l(void 0)})})()},[o,r,l]),f=s().createElement(i.Button,{icon:s().createElement(a.ReloadOutlined,null),onClick:u,"aria-label":l("Refresh")},n?null:l("Refresh"));return s().createElement(t.ExtendCollectionsProvider,{collections:p},s().createElement(i.Space,{size:"small",wrap:!0},n?s().createElement(i.Tooltip,{title:l("Refresh")},f):f,s().createElement(C,{onlyIcon:n})))},Item:function(){var e,t,r=(0,n.useWorkflowTaskRecord)().record,o=y(),a=null!=(e=null!=(t=P(r,"title"))?t:P(r,"node.title"))?e:o("Task"),l=P(r,"workflow.title");return s().createElement(i.Card,{size:"small",hoverable:!0,title:a,extra:l},s().createElement(i.Descriptions,{column:1,size:"small",items:[{key:"createdAt",label:o("Created at"),children:function(e){var t="string"==typeof e||"number"==typeof e?String(e):void 0;if(!t)return"-";var n=new Date(t);return Number.isNaN(n.getTime())?t:"".concat(n.getFullYear(),"-").concat(A(n.getMonth()+1),"-").concat(A(n.getDate())," ").concat(A(n.getHours()),":").concat(A(n.getMinutes()),":").concat(A(n.getSeconds()))}(r.createdAt)},{key:"status",label:o("Status"),children:s().createElement(R,{record:r})}]}))},Detail:function(){var e,o,c,u,f=(0,n.useWorkflowTaskRecord)().record,p=(0,l.useFlowContext)(),b=function(e,n){var o=(u=M(e),s=M("u"<typeof window?e:window.__nocobase_public_path__||e),f=M((0,t.stripModernClientPrefix)(s)),p=u===s?"":s&&u.startsWith("".concat(s,"/"))?u.slice(s.length):"","".concat(f).concat(p)),a=null==n?"":encodeURIComponent(String(n)),l="".concat(o,"/admin/workflow/tasks/").concat(r,"/pending").concat(a?"/".concat(a):"");if("u"<typeof window||null==n)return l;var i=(b=window.location.pathname,(d=M(e))?b===d?"/":b.startsWith("".concat(d,"/"))?b.slice(d.length):b:b),c="/admin/workflow/tasks/";if(i.startsWith(c)){var u,s,f,p,b,d,y,v=function(e){if(Array.isArray(e))return e}(y=i.slice(c.length).split("/"))||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(y)||function(e){if(e){if("string"==typeof e)return w(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return w(e,void 0)}}(y)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),g=v[0],m=v[1],h=v[2];if(0===v.slice(3).length&&m&&g===r&&(h===String(n)||h===a)){var k="".concat(o,"/admin/workflow/tasks/").concat(r,"/").concat(m,"/").concat(a);return"".concat(k).concat(window.location.search).concat(window.location.hash)}}return l}(null!=(e=null==p||null==(c=p.router)||null==(o=c.getBasename)?void 0:o.call(c))?e:null==p||null==(u=p.router)?void 0:u.basename,(0,n.getWorkflowTaskRecordKey)(f)),d=y();return s().createElement(i.Result,{status:"info",title:d("Manual task cannot be processed on the new page"),subTitle:d("Manual tasks are not yet supported on the new page. Return to the legacy page to process this task."),extra:s().createElement(i.Button,{type:"primary",href:b,icon:s().createElement(a.ArrowRightOutlined,{"aria-hidden":!0})},d("Return to legacy page"))})}};function N(e,t,n,r,o,a,l){try{var i=e[a](l),c=i.value}catch(e){n(e);return}i.done?t(c):Promise.resolve(c).then(r,o)}function q(e,t,n){return(q=W()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&$(o,n.prototype),o}).apply(null,arguments)}function F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function $(e,t){return($=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(e){var t="function"==typeof Map?new Map:void 0;return(D=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return q(e,arguments,F(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),$(n,e)})(e)}function W(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(W=function(){return!!e})()}var U=function(e){var t;if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function o(){var e,t;if(!(this instanceof o))throw TypeError("Cannot call a class as a function");return e=o,t=arguments,e=F(e),function(e,t){var n;if(t&&("object"==((n=t)&&"u">typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,W()?Reflect.construct(e,t||[],F(this).constructor):e.apply(this,t))}return o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),e&&$(o,e),t=[{key:"load",value:function(){var e;return(e=function(){var e,t,o;return function(e,t){var n,r,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},l=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),i=Object.defineProperty;return i(l,"next",{value:c(0)}),i(l,"throw",{value:c(1)}),i(l,"return",{value:c(2)}),"function"==typeof Symbol&&i(l,Symbol.iterator,{value:function(){return this}}),l;function c(i){return function(c){var u=[i,c];if(n)throw TypeError("Generator is already executing.");for(;l&&(l=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}(this,function(a){return null==(o=null!=(e=this.app.pm.get(n.PluginWorkflowClientV2))?e:this.app.pm.get("workflow"))||null==(t=o.registerTaskType)||t.call(o,r,I),[2]})},function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function l(e){N(a,r,o,l,i,"next",e)}function i(e){N(a,r,o,l,i,"throw",e)}l(void 0)})}).call(this)}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(o.prototype,t),o}(D(t.Plugin))}(),d}()});
@@ -8,7 +8,7 @@
8
8
  */
9
9
  import { type TaskTypeOptions, type WorkflowTaskStatus } from '@nocobase/plugin-workflow/client-v2';
10
10
  type RecordObject = Record<string, unknown>;
11
- export declare function useManualTaskActionParams(status: WorkflowTaskStatus): {
11
+ export declare function useManualTaskActionParams(status: WorkflowTaskStatus, workflowKey?: string): {
12
12
  filter: RecordObject;
13
13
  appends: string[];
14
14
  except: string[];
@@ -8,7 +8,7 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/client": "2.2.0-beta.16",
11
+ "@nocobase/client": "2.2.0-beta.18",
12
12
  "react": "18.2.0",
13
13
  "react-router-dom": "6.30.1",
14
14
  "@formily/react": "2.3.7",
@@ -19,16 +19,16 @@ module.exports = {
19
19
  "dayjs": "1.11.13",
20
20
  "react-i18next": "11.18.6",
21
21
  "lodash": "4.18.1",
22
- "@nocobase/plugin-workflow": "2.2.0-beta.16",
23
- "@nocobase/plugin-mobile": "2.2.0-beta.16",
24
- "@nocobase/flow-engine": "2.2.0-beta.16",
25
- "@nocobase/client-v2": "2.2.0-beta.16",
26
- "@nocobase/utils": "2.2.0-beta.16",
27
- "@nocobase/server": "2.2.0-beta.16",
28
- "@nocobase/database": "2.2.0-beta.16",
29
- "@nocobase/actions": "2.2.0-beta.16",
30
- "@nocobase/test": "2.2.0-beta.16",
31
- "@nocobase/plugin-workflow-test": "2.2.0-beta.16",
22
+ "@nocobase/plugin-workflow": "2.2.0-beta.18",
23
+ "@nocobase/plugin-mobile": "2.2.0-beta.18",
24
+ "@nocobase/flow-engine": "2.2.0-beta.18",
25
+ "@nocobase/client-v2": "2.2.0-beta.18",
26
+ "@nocobase/utils": "2.2.0-beta.18",
27
+ "@nocobase/server": "2.2.0-beta.18",
28
+ "@nocobase/database": "2.2.0-beta.18",
29
+ "@nocobase/actions": "2.2.0-beta.18",
30
+ "@nocobase/test": "2.2.0-beta.18",
31
+ "@nocobase/plugin-workflow-test": "2.2.0-beta.18",
32
32
  "@formily/core": "2.3.7",
33
33
  "sequelize": "6.35.2"
34
34
  };
@@ -1 +1 @@
1
- {"name":"joi","description":"Object schema validation","version":"17.13.3","repository":"git://github.com/hapijs/joi","main":"lib/index.js","types":"lib/index.d.ts","browser":"dist/joi-browser.min.js","files":["lib/**/*","dist/*"],"keywords":["schema","validation"],"dependencies":{"@hapi/hoek":"^9.3.0","@hapi/topo":"^5.1.0","@sideway/address":"^4.1.5","@sideway/formula":"^3.0.1","@sideway/pinpoint":"^2.0.0"},"devDependencies":{"@hapi/bourne":"2.x.x","@hapi/code":"8.x.x","@hapi/joi-legacy-test":"npm:@hapi/joi@15.x.x","@hapi/lab":"^25.1.3","@types/node":"^14.18.63","typescript":"4.3.x"},"scripts":{"prepublishOnly":"cd browser && npm install && npm run build","test":"lab -t 100 -a @hapi/code -L -Y","test-cov-html":"lab -r html -o coverage.html -a @hapi/code"},"license":"BSD-3-Clause","_lastModified":"2026-07-31T07:46:57.742Z"}
1
+ {"name":"joi","description":"Object schema validation","version":"17.13.3","repository":"git://github.com/hapijs/joi","main":"lib/index.js","types":"lib/index.d.ts","browser":"dist/joi-browser.min.js","files":["lib/**/*","dist/*"],"keywords":["schema","validation"],"dependencies":{"@hapi/hoek":"^9.3.0","@hapi/topo":"^5.1.0","@sideway/address":"^4.1.5","@sideway/formula":"^3.0.1","@sideway/pinpoint":"^2.0.0"},"devDependencies":{"@hapi/bourne":"2.x.x","@hapi/code":"8.x.x","@hapi/joi-legacy-test":"npm:@hapi/joi@15.x.x","@hapi/lab":"^25.1.3","@types/node":"^14.18.63","typescript":"4.3.x"},"scripts":{"prepublishOnly":"cd browser && npm install && npm run build","test":"lab -t 100 -a @hapi/code -L -Y","test-cov-html":"lab -r html -o coverage.html -a @hapi/code"},"license":"BSD-3-Clause","_lastModified":"2026-08-20T12:48:19.053Z"}
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "description": "Could be used for workflows which some of decisions are made by users.",
7
7
  "description.ru-RU": "Может использоваться в рабочих процессах, где какие-то решения принимаются пользователями.",
8
8
  "description.zh-CN": "用于人工控制部分决策的流程。",
9
- "version": "2.2.0-beta.16",
9
+ "version": "2.2.0-beta.18",
10
10
  "license": "Apache-2.0",
11
11
  "main": "./dist/server/index.js",
12
12
  "homepage": "https://docs.nocobase.com/handbook/workflow-manual",
@@ -37,7 +37,7 @@
37
37
  "@nocobase/test": "2.x",
38
38
  "@nocobase/utils": "2.x"
39
39
  },
40
- "gitHead": "49d9bd2e21122eab9435f128375828b8c5bb4c07",
40
+ "gitHead": "b74c962f7d35aa12012d908d16bd74fe6ac20a3d",
41
41
  "keywords": [
42
42
  "Workflow"
43
43
  ]