nextcloud/dist/workflowengine-workflowengine.js

2 lines
804 KiB
JavaScript
Raw Permalink Normal View History

(()=>{var M,z,b,p={16236(M,z,b){"use strict";var p=b(85471),O=("undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function A(M,z){if(void 0===z&&(z=[]),null===M||"object"!=typeof M)return M;var b,p=(b=function(z){return z.original===M},z.filter(b)[0]);if(p)return p.copy;var O=Array.isArray(M)?[]:{};return z.push({original:M,copy:O}),Object.keys(M).forEach(function(b){O[b]=A(M[b],z)}),O}function c(M,z){Object.keys(M).forEach(function(b){return z(M[b],b)})}function o(M){return null!==M&&"object"==typeof M}var q=function(M,z){this.runtime=z,this._children=Object.create(null),this._rawModule=M;var b=M.state;this.state=("function"==typeof b?b():b)||{}},W={namespaced:{configurable:!0}};W.namespaced.get=function(){return!!this._rawModule.namespaced},q.prototype.addChild=function(M,z){this._children[M]=z},q.prototype.removeChild=function(M){delete this._children[M]},q.prototype.getChild=function(M){return this._children[M]},q.prototype.hasChild=function(M){return M in this._children},q.prototype.update=function(M){this._rawModule.namespaced=M.namespaced,M.actions&&(this._rawModule.actions=M.actions),M.mutations&&(this._rawModule.mutations=M.mutations),M.getters&&(this._rawModule.getters=M.getters)},q.prototype.forEachChild=function(M){c(this._children,M)},q.prototype.forEachGetter=function(M){this._rawModule.getters&&c(this._rawModule.getters,M)},q.prototype.forEachAction=function(M){this._rawModule.actions&&c(this._rawModule.actions,M)},q.prototype.forEachMutation=function(M){this._rawModule.mutations&&c(this._rawModule.mutations,M)},Object.defineProperties(q.prototype,W);var n,e=function(M){this.register([],M,!1)};function d(M,z,b){if(z.update(b),b.modules)for(var p in b.modules){if(!z.getChild(p))return;d(M.concat(p),z.getChild(p),b.modules[p])}}e.prototype.get=function(M){return M.reduce(function(M,z){return M.getChild(z)},this.root)},e.prototype.getNamespace=function(M){var z=this.root;return M.reduce(function(M,b){return M+((z=z.getChild(b)).namespaced?b+"/":"")},"")},e.prototype.update=function(M){d([],this.root,M)},e.prototype.register=function(M,z,b){var p=this;void 0===b&&(b=!0);var O=new q(z,b);0===M.length?this.root=O:this.get(M.slice(0,-1)).addChild(M[M.length-1],O),z.modules&&c(z.modules,function(z,O){p.register(M.concat(O),z,b)})},e.prototype.unregister=function(M){var z=this.get(M.slice(0,-1)),b=M[M.length-1],p=z.getChild(b);p&&p.runtime&&z.removeChild(b)},e.prototype.isRegistered=function(M){var z=this.get(M.slice(0,-1)),b=M[M.length-1];return!!z&&z.hasChild(b)};var a=function(M){var z=this;void 0===M&&(M={}),!n&&"undefined"!=typeof window&&window.Vue&&l(window.Vue);var b=M.plugins;void 0===b&&(b=[]);var p=M.strict;void 0===p&&(p=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new e(M),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new n,this._makeLocalGettersCache=Object.create(null);var A=this,c=this.dispatch,o=this.commit;this.dispatch=function(M,z){return c.call(A,M,z)},this.commit=function(M,z,b){return o.call(A,M,z,b)},this.strict=p;var q=this._modules.root.state;f(this,q,[],this._modules.root),u(this,q),b.forEach(function(M){return M(z)}),(void 0!==M.devtools?M.devtools:n.config.devtools)&&function(M){O&&(M._devtoolHook=O,O.emit("vuex:init",M),O.on("vuex:travel-to-state",function(z){M.replaceState(z)}),M.subscribe(function(M,z){O.emit("vuex:mutation",M,z)},{prepend:!0}),M.subscribeAction(function(M,z){O.emit("vuex:action",M,z)},{prepend:!0}))}(this)},i={state:{configurable:!0}};function r(M,z,b){return z.indexOf(M)<0&&(b&&b.prepend?z.unshift(M):z.push(M)),function(){var b=z.indexOf(M);b>-1&&z.splice(b,1)}}function R(M,z){M._actions=Object.create(null),M._mutations=Object.create(null),M._wrappedGetters=Object.create(null),M._modulesNamespaceMap=Object.create(null);var b=M.state;f(M,b,[],M._modules.root,!0),u(M,b,z)}function u(M,z,b){var p=M._vm;M.getters={},M._makeLocalGettersCache=Objec
//# sourceMappingURL=workflowengine-workflowengine.js.map?v=c3dd8f7cc9b13f4b839b