@eo-sdk/client 8.11.0-rc.1 → 8.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/app/eo-framework/media/media.component.d.ts +0 -9
  2. package/assets/_default/api/monaco/index.html +1 -1
  3. package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js +10 -4
  4. package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js.map +1 -1
  5. package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.min.js +1 -1
  6. package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.min.js.map +1 -1
  7. package/bundles/eo-sdk-client.umd.js +13 -20
  8. package/bundles/eo-sdk-client.umd.js.map +1 -1
  9. package/bundles/eo-sdk-client.umd.min.js +1 -1
  10. package/bundles/eo-sdk-client.umd.min.js.map +1 -1
  11. package/eo-sdk-client.metadata.json +1 -1
  12. package/esm2015/app/eo-client/about-state/about-state.component.js +3 -3
  13. package/esm2015/app/eo-framework/app-shell/app-bar/app-bar.component.js +9 -8
  14. package/esm2015/app/eo-framework/app-shell/app-bar/app-process/app-process.component.js +2 -2
  15. package/esm2015/app/eo-framework/media/media.component.js +3 -10
  16. package/esm2015/projects/eo-sdk/core/lib/service/auth/auth.service.js +2 -2
  17. package/esm2015/projects/eo-sdk/core/lib/service/bpm/bpm.service.js +8 -4
  18. package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js +8 -4
  19. package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js.map +1 -1
  20. package/fesm2015/eo-sdk-client.js +13 -19
  21. package/fesm2015/eo-sdk-client.js.map +1 -1
  22. package/package.json +2 -2
  23. package/projects/eo-sdk/core/eo-sdk-client-projects-eo-sdk-core.metadata.json +1 -1
  24. package/projects/eo-sdk/core/lib/service/bpm/bpm.service.d.ts +4 -1
  25. package/projects/eo-sdk/core/package.json +1 -1
@@ -54,20 +54,12 @@ export declare class MediaComponent extends UnsubscribeOnDestroy implements Afte
54
54
  mediaType: ObjectType;
55
55
  customConfig: any[];
56
56
  defaultViewers: ({
57
- fileExtension: string[];
58
- viewer: string;
59
- mimeType?: undefined;
60
- error?: undefined;
61
- type?: undefined;
62
- } | {
63
57
  mimeType: string[];
64
58
  viewer: string;
65
- fileExtension?: undefined;
66
59
  error?: undefined;
67
60
  type?: undefined;
68
61
  } | {
69
62
  viewer: string;
70
- fileExtension?: undefined;
71
63
  mimeType?: undefined;
72
64
  error?: undefined;
73
65
  type?: undefined;
@@ -75,7 +67,6 @@ export declare class MediaComponent extends UnsubscribeOnDestroy implements Afte
75
67
  error: boolean;
76
68
  type: string;
77
69
  viewer: string;
78
- fileExtension?: undefined;
79
70
  mimeType?: undefined;
80
71
  })[];
81
72
  isUndocked: boolean;
@@ -1 +1 @@
1
- <!doctype html><html><head><title>Monaco</title><base href="./"><meta http-equiv="Content-Type" content="text/html;charset=utf-8"/><script>(()=>{"use strict";var r,e,o,t,n,a,c,i,l,s,u,d,p,b,g,f,v={369:(r,e,o)=>{o.d(e,{Z:()=>i});var t=o(558),n=o.n(t),a=o(361),c=o.n(a)()(n());c.push([r.id,".dark{--main-background: rgb(40, 40, 40);--color-primary-rgb: 50, 50, 50;--color-primary: rgb(var(--color-primary-rgb));--color-dirty-background: rgba(var(--color-accent-rgb), 0.4);--color-dirty-font: #fff;--panel-background: var(--color-primary);--panel-background-grey: rgb(55, 55, 55);--panel-background-lightgrey: rgb(58, 58, 58);--panel-divider-color: rgb(69, 69, 69);--item-focus-background-color: rgba(255, 255, 255, 0.06);--item-focus-border-color: rgba(255, 255, 255, 0.2);--app-bar-background: var(--panel-background);--scrollbar-thumb-color: rgba(255, 255, 255, 0.1);--scrollbar-thumb-color-hover: rgba(255, 255, 255, 0.2);--text-color-body: #fff;--text-color-caption: rgba(255, 255, 255, 0.75);--text-color-hint: rgba(255, 255, 255, 0.5);--button-secondary-background: rgba(255, 255, 255, 0.1);--button-secondary-background-hover: rgba(255, 255, 255, 0.15);--button-background-hover: rgba(255, 255, 255, 0.06)}:root{--main-background: rgb(245, 245, 245);--color-accent-rgb: 0, 130, 147;--color-primary-rgb: 72, 79, 84;--color-primary: rgb(var(--color-primary-rgb));--color-accent: rgb(var(--color-accent-rgb));--color-error: #d33d4c;--color-success: #547f14;--color-warning: #f39200;--color-favorite: #ffc107;--color-admin-primary: #161616;--color-admin-divider: #393939;--color-dirty-background: rgba(var(--color-accent-rgb), 0.15);--color-dirty-font: var(--color-accent);--panel-background: rgb(255, 255, 255);--panel-background-grey: rgb(240, 240, 240);--panel-background-lightgrey: rgb(250, 250, 250);--panel-divider-color: rgb(224, 224, 224);--item-focus-background-color: rgba(0, 0, 0, 0.06);--item-selected-background-color: rgba(var(--color-accent-rgb), 0.2);--item-focus-border-color: rgba(0, 0, 0, 0.1);--app-bar-background: var(--panel-background);--scrollbar-thumb-color: rgba(0, 0, 0, 0.15);--scrollbar-thumb-color-hover: rgba(0, 0, 0, 0.2);--text-color-body: rgba(0, 0, 0, 0.87);--text-color-caption: rgba(0, 0, 0, 0.54);--text-color-hint: rgba(0, 0, 0, 0.36);--text-color-accent: var(--color-accent);--font-hint: 11px;--font-caption: 12px;--font-body: 13px;--font-subhead: 15px;--font-title: 20px;--font-headline: 24px;--font-display: 34px;--font-weight-light: 300;--font-weight-normal: 400;--font-weight-bold: 700;--app-pane-padding: 16px;--button-secondary-background: rgba(0, 0, 0, 0.1);--button-secondary-background-hover: rgba(0, 0, 0, 0.15);--button-background-hover: rgba(0, 0, 0, 0.06)}html,body{width:100%;height:100%;margin:0;padding:0;overflow:hidden}body.rtl *{direction:rtl}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-color)}::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-color-hover)}::-webkit-scrollbar-button{height:0;width:0}::-webkit-scrollbar-corner{background-color:transparent}\n",""]);const i=c},361:r=>{r.exports=function(r){var e=[];return e.toString=function(){return this.map((function(e){var o="",t=void 0!==e[5];return e[4]&&(o+="@supports (".concat(e[4],") {")),e[2]&&(o+="@media ".concat(e[2]," {")),t&&(o+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),o+=r(e),t&&(o+="}"),e[2]&&(o+="}"),e[4]&&(o+="}"),o})).join("")},e.i=function(r,o,t,n,a){"string"==typeof r&&(r=[[null,r,void 0]]);var c={};if(t)for(var i=0;i<this.length;i++){var l=this[i][0];null!=l&&(c[l]=!0)}for(var s=0;s<r.length;s++){var u=[].concat(r[s]);t&&c[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),o&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=o):u[2]=o),n&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=n):u[4]="".concat(n)),e.push(u))}},e}},558:r=>{r.exports=function(r){return r[1]}},487:r=>{var e=[];function o(r){for(var o=-1,t=0;t<e.length;t++)if(e[t].identifier===r){o=t;break}return o}function t(r,t){for(var a={},c=[],i=0;i<r.length;i++){var l=r[i],s=t.base?l[0]+t.base:l[0],u=a[s]||0,d="".concat(s," ").concat(u);a[s]=u+1;var p=o(d),b={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)e[p].references++,e[p].updater(b);else{var g=n(b,t);t.byIndex=i,e.splice(i,0,{identifier:d,updater:g,references:1})}c.push(d)}return c}function n(r,e){var o=e.domAPI(e);return o.update(r),function(e){if(e){if(e.css===r.css&&e.media===r.media&&e.sourceMap===r.sourceMap&&e.supports===r.supports&&e.layer===r.layer)return;o.update(r=e)}else o.remove()}}r.exports=function(r,n){var a=t(r=r||[],n=n||{});return function(r){r=r||[];for(var c=0;c<a.length;c++){var i=o(a[c]);e[i].references--}for(var l=t(r,n),s=0;s<a.length;s++){var u=o(a[s]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}a=l}}},52:r=>{var e={};r.exports=function(r,o){var t=function(r){if(void 0===e[r]){var o=document.querySelector(r);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(r){o=null}e[r]=o}return e[r]}(r);if(!t)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");t.appendChild(o)}},469:r=>{r.exports=function(r){var e=document.createElement("style");return r.setAttributes(e,r.attributes),r.insert(e,r.options),e}},10:(r,e,o)=>{r.exports=function(r){var e=o.nc;e&&r.setAttribute("nonce",e)}},631:r=>{r.exports=function(r){var e=r.insertStyleElement(r);return{update:function(o){!function(r,e,o){var t="";o.supports&&(t+="@supports (".concat(o.supports,") {")),o.media&&(t+="@media ".concat(o.media," {"));var n=void 0!==o.layer;n&&(t+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),t+=o.css,n&&(t+="}"),o.media&&(t+="}"),o.supports&&(t+="}");var a=o.sourceMap;a&&"undefined"!=typeof btoa&&(t+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(t,r,e.options)}(e,r,o)},remove:function(){!function(r){if(null===r.parentNode)return!1;r.parentNode.removeChild(r)}(e)}}}},329:r=>{r.exports=function(r,e){if(e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}},549:(r,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.translateApi=e.errorApi=e.downloadUri=e.httpGet=e.getApi=void 0,e.getApi=function(){return window.api},e.httpGet=function(r,o,t,n){var a=JSON.parse(t||"{}"),c=new XMLHttpRequest;c.open("GET",(0,e.downloadUri)(r,{})),Object.keys(a).forEach((function(r){return c.setRequestHeader(r,a[r])})),c.onload=function(){return n("arraybuffer"===o?c.response:c.responseText)},c.send()},e.downloadUri=function(r,e){return location.pathname.match("assets")?r:e.headers||["image/tiff","message/rfc822","application/vnd.ms-outlook"].includes(e.mimeType)?location.pathname.replace(/\/view\/api.*/,"")+"/download/?path="+encodeURIComponent(r)+"&mimeType="+encodeURIComponent(e.mimeType)+"&lang="+encodeURIComponent(e.lang)+"&headers="+encodeURIComponent(e.headers||""):r},e.errorApi=function(r,o,t,n){var a;void 0===n&&(n=!0);var c=(0,e.getApi)();if(!c&&n)return setTimeout((function(){return(0,e.errorApi)(r,o,t,!1)}),500);console.warn(null==r?void 0:r.message),(null===(a=null==c?void 0:c.content)||void 0===a?void 0:a.triggerError)&&c.content.triggerError(r,o,t)},e.translateApi=function(r,o,t,n){var a;void 0===n&&(n=!0);var c=(0,e.getApi)();if(!c&&n)return setTimeout((function(){return(0,e.translateApi)(r,o,t,!1)}),500);var i=(null===(a=null==c?void 0:c.util)||void 0===a?void 0:a.translate)?c.util.translate(r,o):r;t(i.endsWith(r)?"":i)}},91:(r,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.applyCustomSettings=e.getParams=void 0,e.getParams=function(r,e){var o;void 0===e&&(e=!0);var t={};location[r||"search"].slice(1).split("&").forEach((function(r){return t[r.split("=")[0]||"_"]=decodeURIComponent(r.split("=")[1])||null})),t.hasOwnProperty("accentColor")||(t.accentColor="196,34,122");var n=new RegExp("^(blob:)?http(s)?:\\/\\/(localhost:|"+location.hostname+"|"+(t.cors||"kolibri.enaioci.net")+")");return e&&!(null===(o=t.path)||void 0===o?void 0:o.match(n))?(location.href=location.pathname.replace(/\/api.*/,"")+"/api/error/?not=authorized",{}):t},e.applyCustomSettings=function(r){var o=r||(0,e.getParams)("search");o.theme&&document.body.classList.add(o.theme),o.accentColor&&document.querySelector("html").setAttribute("style","--color-accent-rgb:"+o.accentColor),o.lang&&document.querySelector("html").setAttribute("lang",o.lang)}}},m={};function h(r){var e=m[r];if(void 0!==e)return e.exports;var o=m[r]={id:r,exports:{}};return v[r](o,o.exports,h),o.exports}h.n=r=>{var e=r&&r.__esModule?()=>r.default:()=>r;return h.d(e,{a:e}),e},h.d=(r,e)=>{for(var o in e)h.o(e,o)&&!h.o(r,o)&&Object.defineProperty(r,o,{enumerable:!0,get:e[o]})},h.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e),r=h(549),e=h(91),document.addEventListener("DOMContentLoaded",(function(o){var t=(0,e.getParams)();if((0,e.applyCustomSettings)(t),require){require.config({paths:{vs:"./monaco-editor/min/vs"}});var n=["de","es","fr","it","ja","js","ko","ru","zh-cn","zh-tw"].find((function(r){return(t.lang||"").toLowerCase().startsWith(r)}));n&&require.config({"vs/nls":{availableLanguages:{"*":n}}});var a=function(r){var e=monaco.editor.create(document.getElementById("container"),Object.assign({value:r,theme:"dark"===t.theme?"vs-dark":"vs-light",language:t.language||"javascript",readOnly:!0,automaticLayout:!0,formatOnPaste:!0,lineNumbers:t.language?"on":"off"},"true"==t.minimap?{}:{overviewRulerLanes:0,hideCursorInOverviewRuler:!0,overviewRulerBorder:!1,minimap:{enabled:!1}},JSON.parse(t.params||"{}")));window.onresize=function(){return e.layout()}};require(["vs/editor/editor.main"],(function(){(0,r.httpGet)(t.path,"text",t.headers,a)}))}})),o=h(487),t=h.n(o),n=h(631),a=h.n(n),c=h(52),i=h.n(c),l=h(10),s=h.n(l),u=h(469),d=h.n(u),p=h(329),b=h.n(p),g=h(369),(f={}).styleTagTransform=b(),f.setAttributes=s(),f.insert=i().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),t()(g.Z,f),g.Z&&g.Z.locals&&g.Z.locals})();</script></head><body><div id="container" style="width: 100%; height: 100%"></div><script src="./monaco-editor/min/vs/loader.js"></script></body></html>
1
+ <!doctype html><html><head><title>Monaco</title><base href="./"><meta http-equiv="Content-Type" content="text/html;charset=utf-8"/><script>(()=>{"use strict";var r,e,o,t,n,a,c,i,l,s,u,d,p,b,g,f,v={369:(r,e,o)=>{o.d(e,{Z:()=>i});var t=o(558),n=o.n(t),a=o(361),c=o.n(a)()(n());c.push([r.id,".dark{--main-background: rgb(40, 40, 40);--color-primary-rgb: 50, 50, 50;--color-primary: rgb(var(--color-primary-rgb));--color-dirty-background: rgba(var(--color-accent-rgb), 0.4);--color-dirty-font: #fff;--panel-background: var(--color-primary);--panel-background-grey: rgb(55, 55, 55);--panel-background-lightgrey: rgb(58, 58, 58);--panel-divider-color: rgb(69, 69, 69);--item-focus-background-color: rgba(255, 255, 255, 0.06);--item-focus-border-color: rgba(255, 255, 255, 0.2);--app-bar-background: var(--panel-background);--scrollbar-thumb-color: rgba(255, 255, 255, 0.1);--scrollbar-thumb-color-hover: rgba(255, 255, 255, 0.2);--text-color-body: #fff;--text-color-caption: rgba(255, 255, 255, 0.75);--text-color-hint: rgba(255, 255, 255, 0.5);--button-secondary-background: rgba(255, 255, 255, 0.1);--button-secondary-background-hover: rgba(255, 255, 255, 0.15);--button-background-hover: rgba(255, 255, 255, 0.06)}:root{--main-background: rgb(245, 245, 245);--color-accent-rgb: 0, 130, 147;--color-primary-rgb: 72, 79, 84;--color-primary: rgb(var(--color-primary-rgb));--color-accent: rgb(var(--color-accent-rgb));--color-error: #d33d4c;--color-success: #547f14;--color-warning: #f39200;--color-favorite: #ffc107;--color-admin-primary: #161616;--color-admin-divider: #393939;--color-dirty-background: rgba(var(--color-accent-rgb), 0.15);--color-dirty-font: var(--color-accent);--panel-background: rgb(255, 255, 255);--panel-background-grey: rgb(240, 240, 240);--panel-background-lightgrey: rgb(250, 250, 250);--panel-divider-color: rgb(224, 224, 224);--item-focus-background-color: rgba(0, 0, 0, 0.06);--item-selected-background-color: rgba(var(--color-accent-rgb), 0.2);--item-focus-border-color: rgba(0, 0, 0, 0.1);--app-bar-background: var(--panel-background);--scrollbar-thumb-color: rgba(0, 0, 0, 0.15);--scrollbar-thumb-color-hover: rgba(0, 0, 0, 0.2);--text-color-body: rgba(0, 0, 0, 0.87);--text-color-caption: rgba(0, 0, 0, 0.54);--text-color-hint: rgba(0, 0, 0, 0.36);--text-color-accent: var(--color-accent);--font-hint: 11px;--font-caption: 12px;--font-body: 13px;--font-subhead: 15px;--font-title: 20px;--font-headline: 24px;--font-display: 34px;--font-weight-light: 300;--font-weight-normal: 400;--font-weight-bold: 700;--app-pane-padding: 16px;--button-secondary-background: rgba(0, 0, 0, 0.1);--button-secondary-background-hover: rgba(0, 0, 0, 0.15);--button-background-hover: rgba(0, 0, 0, 0.06)}html,body{width:100%;height:100%;margin:0;padding:0;overflow:hidden}body.rtl *{direction:rtl}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-color)}::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-color-hover)}::-webkit-scrollbar-button{height:0;width:0}::-webkit-scrollbar-corner{background-color:transparent}\n",""]);const i=c},361:r=>{r.exports=function(r){var e=[];return e.toString=function(){return this.map((function(e){var o="",t=void 0!==e[5];return e[4]&&(o+="@supports (".concat(e[4],") {")),e[2]&&(o+="@media ".concat(e[2]," {")),t&&(o+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),o+=r(e),t&&(o+="}"),e[2]&&(o+="}"),e[4]&&(o+="}"),o})).join("")},e.i=function(r,o,t,n,a){"string"==typeof r&&(r=[[null,r,void 0]]);var c={};if(t)for(var i=0;i<this.length;i++){var l=this[i][0];null!=l&&(c[l]=!0)}for(var s=0;s<r.length;s++){var u=[].concat(r[s]);t&&c[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),o&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=o):u[2]=o),n&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=n):u[4]="".concat(n)),e.push(u))}},e}},558:r=>{r.exports=function(r){return r[1]}},487:r=>{var e=[];function o(r){for(var o=-1,t=0;t<e.length;t++)if(e[t].identifier===r){o=t;break}return o}function t(r,t){for(var a={},c=[],i=0;i<r.length;i++){var l=r[i],s=t.base?l[0]+t.base:l[0],u=a[s]||0,d="".concat(s," ").concat(u);a[s]=u+1;var p=o(d),b={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)e[p].references++,e[p].updater(b);else{var g=n(b,t);t.byIndex=i,e.splice(i,0,{identifier:d,updater:g,references:1})}c.push(d)}return c}function n(r,e){var o=e.domAPI(e);return o.update(r),function(e){if(e){if(e.css===r.css&&e.media===r.media&&e.sourceMap===r.sourceMap&&e.supports===r.supports&&e.layer===r.layer)return;o.update(r=e)}else o.remove()}}r.exports=function(r,n){var a=t(r=r||[],n=n||{});return function(r){r=r||[];for(var c=0;c<a.length;c++){var i=o(a[c]);e[i].references--}for(var l=t(r,n),s=0;s<a.length;s++){var u=o(a[s]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}a=l}}},52:r=>{var e={};r.exports=function(r,o){var t=function(r){if(void 0===e[r]){var o=document.querySelector(r);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(r){o=null}e[r]=o}return e[r]}(r);if(!t)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");t.appendChild(o)}},469:r=>{r.exports=function(r){var e=document.createElement("style");return r.setAttributes(e,r.attributes),r.insert(e,r.options),e}},10:(r,e,o)=>{r.exports=function(r){var e=o.nc;e&&r.setAttribute("nonce",e)}},631:r=>{r.exports=function(r){var e=r.insertStyleElement(r);return{update:function(o){!function(r,e,o){var t="";o.supports&&(t+="@supports (".concat(o.supports,") {")),o.media&&(t+="@media ".concat(o.media," {"));var n=void 0!==o.layer;n&&(t+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),t+=o.css,n&&(t+="}"),o.media&&(t+="}"),o.supports&&(t+="}");var a=o.sourceMap;a&&"undefined"!=typeof btoa&&(t+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(t,r,e.options)}(e,r,o)},remove:function(){!function(r){if(null===r.parentNode)return!1;r.parentNode.removeChild(r)}(e)}}}},329:r=>{r.exports=function(r,e){if(e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}},549:(r,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.translateApi=e.errorApi=e.downloadUri=e.httpGet=e.getApi=void 0,e.getApi=function(){return window.api},e.httpGet=function(r,o,t,n){var a=JSON.parse(t||"{}"),c=new XMLHttpRequest;c.open("GET",(0,e.downloadUri)(r,{})),Object.keys(a).forEach((function(r){return c.setRequestHeader(r,a[r])})),c.onload=function(){return n("arraybuffer"===o?c.response:c.responseText)},c.send()},e.downloadUri=function(r,e){return location.pathname.match("assets")?r:e.headers||["image/tiff","message/rfc822","application/vnd.ms-outlook"].includes(e.mimeType)?location.pathname.replace(/\/view\/api.*/,"")+"/download/?path="+encodeURIComponent(r)+"&mimeType="+encodeURIComponent(e.mimeType)+"&lang="+encodeURIComponent(e.lang)+"&headers="+encodeURIComponent(e.headers||""):r},e.errorApi=function(r,o,t,n){var a;void 0===n&&(n=!0);var c=(0,e.getApi)();if(!c&&n)return setTimeout((function(){return(0,e.errorApi)(r,o,t,!1)}),500);console.warn(null==r?void 0:r.message),(null===(a=null==c?void 0:c.content)||void 0===a?void 0:a.triggerError)&&c.content.triggerError(r,o,t)},e.translateApi=function(r,o,t,n){var a;void 0===n&&(n=!0);var c=(0,e.getApi)();if(!c&&n)return setTimeout((function(){return(0,e.translateApi)(r,o,t,!1)}),500);var i=(null===(a=null==c?void 0:c.util)||void 0===a?void 0:a.translate)?c.util.translate(r,o):r;t(i.endsWith(r)?"":i)}},91:(r,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.applyCustomSettings=e.getParams=void 0,e.getParams=function(r,e){var o;void 0===e&&(e=!0);var t={};location[r||"search"].slice(1).split("&").forEach((function(r){return t[r.split("=")[0]||"_"]=decodeURIComponent(r.split("=")[1])||null})),t.hasOwnProperty("accentColor")||(t.accentColor="196,34,122");var n=new RegExp("^(blob:)?http(s)?:\\/\\/(localhost:|"+location.hostname+"|"+(t.cors||"kolibri.enaioci.net")+")");return e&&!(null===(o=t.path)||void 0===o?void 0:o.match(n))?(location.href=location.pathname.replace(/\/api.*/,"")+"/api/error/?not=authorized",{}):t},e.applyCustomSettings=function(r){var o=r||(0,e.getParams)("search");o.theme&&document.body.classList.add(o.theme),o.accentColor&&document.querySelector("html").setAttribute("style","--color-accent-rgb:"+o.accentColor),o.lang&&document.querySelector("html").setAttribute("lang",o.lang)}}},m={};function h(r){var e=m[r];if(void 0!==e)return e.exports;var o=m[r]={id:r,exports:{}};return v[r](o,o.exports,h),o.exports}h.n=r=>{var e=r&&r.__esModule?()=>r.default:()=>r;return h.d(e,{a:e}),e},h.d=(r,e)=>{for(var o in e)h.o(e,o)&&!h.o(r,o)&&Object.defineProperty(r,o,{enumerable:!0,get:e[o]})},h.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e),r=h(549),e=h(91),document.addEventListener("DOMContentLoaded",(function(o){var t=(0,e.getParams)();if((0,e.applyCustomSettings)(t),require){require.config({paths:{vs:"./monaco-editor/min/vs"}});var n=["de","es","fr","it","ja","js","ko","ru","zh-cn","zh-tw"].find((function(r){return(t.lang||"").toLowerCase().startsWith(r)}));n&&require.config({"vs/nls":{availableLanguages:{"*":n}}});var a=function(r){var e=t.language||["json","javascript","java","xml","html","markdown"].find((function(r){return t.mimeType.toLowerCase().endsWith(r)}))||"plaintext",o=monaco.editor.create(document.getElementById("container"),Object.assign({value:r,theme:"dark"===t.theme?"vs-dark":"vs-light",language:e,readOnly:!0,automaticLayout:!0,formatOnPaste:!0,lineNumbers:"plaintext"!==e?"on":"off"},"true"==t.minimap?{}:{overviewRulerLanes:0,hideCursorInOverviewRuler:!0,overviewRulerBorder:!1,minimap:{enabled:!1}},JSON.parse(t.params||"{}")));window.onresize=function(){return o.layout()}};require(["vs/editor/editor.main"],(function(){(0,r.httpGet)(t.path,"text",t.headers,a)}))}})),o=h(487),t=h.n(o),n=h(631),a=h.n(n),c=h(52),i=h.n(c),l=h(10),s=h.n(l),u=h(469),d=h.n(u),p=h(329),b=h.n(p),g=h(369),(f={}).styleTagTransform=b(),f.setAttributes=s(),f.insert=i().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),t()(g.Z,f),g.Z&&g.Z.locals&&g.Z.locals})();</script></head><body><div id="container" style="width: 100%; height: 100%"></div><script src="./monaco-editor/min/vs/loader.js"></script></body></html>
@@ -3216,14 +3216,19 @@
3216
3216
  * @param types List of dms object types to fetch executable processes for
3217
3217
  * @returns List of executable processes
3218
3218
  */
3219
- BpmService.prototype.getExecutableProcesses = function (types) {
3219
+ BpmService.prototype.getExecutableProcesses = function (types, useCached) {
3220
3220
  if (this.capabilities.hasCapability('bpm')) {
3221
- return this.fetchExecutableProcesses(types);
3221
+ return (!!this.executableProcesses && useCached) ? rxjs.of(this.executableProcesses) : this.fetchExecutableProcesses(types);
3222
3222
  }
3223
3223
  else {
3224
3224
  return rxjs.of([]);
3225
3225
  }
3226
3226
  };
3227
+ BpmService.prototype.initExecutableProcesses = function () {
3228
+ var _this = this;
3229
+ var uri = '/bpm/process/executable';
3230
+ return this.backend.get(uri).pipe(operators.tap(function (res) { return _this.hasMainExecutableProcesses = res === null || res === void 0 ? void 0 : res.length; }));
3231
+ };
3227
3232
  /**
3228
3233
  * Gets executable Processes for a given set of dms object.You'll get
3229
3234
  * only the processes that are executable for all of them.
@@ -3239,11 +3244,12 @@
3239
3244
  * @returns List of executable processes
3240
3245
  */
3241
3246
  BpmService.prototype.fetchExecutableProcesses = function (types) {
3247
+ var _this = this;
3242
3248
  var uri = '/bpm/process/executable?form=true&fields=true';
3243
3249
  if (types) {
3244
3250
  uri += "&type=" + types.join(',');
3245
3251
  }
3246
- return this.backend.get(uri).pipe(operators.map(function (res) { return res; }));
3252
+ return this.backend.get(uri).pipe(operators.map(function (res) { return res; }), operators.tap(function (res) { return _this.executableProcesses = res; }));
3247
3253
  };
3248
3254
  /**
3249
3255
  * Getter for a processes file. The file of a process contains
@@ -3900,7 +3906,7 @@
3900
3906
  this.prepareService.refreshPreparedItemsCount();
3901
3907
  }
3902
3908
  var todo = [
3903
- this.bpmService.getExecutableProcesses(),
3909
+ this.bpmService.initExecutableProcesses(),
3904
3910
  this.systemService.getSystemDefinition(currUser)
3905
3911
  ];
3906
3912
  return rxjs.forkJoin(todo).pipe(operators.map(function () { return currUser; }));