@computec/uibase 1.0.4 → 1.0.6
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.
- package/dist/communication/ConnectionOptions.d.ts.map +1 -1
- package/dist/communication/HttpClient.d.ts +1 -0
- package/dist/communication/HttpClient.d.ts.map +1 -1
- package/dist/communication/HttpClient.js +6 -1
- package/dist/communication/IBaseHttpClientOptions.d.ts +1 -0
- package/dist/communication/IBaseHttpClientOptions.d.ts.map +1 -1
- package/dist/communication/IConnectionInfo.d.ts +0 -1
- package/dist/communication/IConnectionInfo.d.ts.map +1 -1
- package/dist/communication/ISignalRHubClient.d.ts.map +1 -1
- package/dist/communication/SignalRHubClient.d.ts.map +1 -1
- package/dist/helpers/ErrorHelper.d.ts +1 -1
- package/dist/helpers/ErrorHelper.d.ts.map +1 -1
- package/dist/helpers/ErrorHelper.js +6 -0
- package/dist/helpers/HttpClientHelper.d.ts.map +1 -1
- package/dist/helpers/HttpClientHelper.js +15 -4
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -1
- package/dist/models/AppEngineException.d.ts +14 -2
- package/dist/models/AppEngineException.d.ts.map +1 -1
- package/dist/models/AppEngineException.js +24 -3
- package/dist/models/BaseError.d.ts +51 -0
- package/dist/models/BaseError.d.ts.map +1 -0
- package/dist/models/BaseError.js +53 -0
- package/dist/models/DocumentedException.d.ts +22 -0
- package/dist/models/DocumentedException.d.ts.map +1 -0
- package/dist/models/DocumentedException.js +48 -0
- package/dist/models/HttpResponse.d.ts +7 -0
- package/dist/models/HttpResponse.d.ts.map +1 -0
- package/dist/models/HttpResponse.js +9 -0
- package/dist/models/IOdataResponse.d.ts +6 -0
- package/dist/models/IOdataResponse.d.ts.map +1 -0
- package/dist/models/IOdataResponse.js +2 -0
- package/dist/models/OdataError.d.ts +56 -0
- package/dist/models/OdataError.d.ts.map +1 -0
- package/dist/models/OdataError.js +88 -0
- package/dist/models/ProblemDetails.d.ts +13 -3
- package/dist/models/ProblemDetails.d.ts.map +1 -1
- package/dist/models/ProblemDetails.js +19 -4
- package/dist/models/Session.d.ts +2 -1
- package/dist/models/Session.d.ts.map +1 -1
- package/dist/models/Session.js +5 -1
- package/dist/models/UserInfo.d.ts +27 -1
- package/dist/models/UserInfo.d.ts.map +1 -1
- package/dist/models/ValidationProblemDetails.d.ts +10 -1
- package/dist/models/ValidationProblemDetails.d.ts.map +1 -1
- package/dist/models/ValidationProblemDetails.js +13 -2
- package/dist/models/Version.d.ts +21 -1
- package/dist/models/Version.d.ts.map +1 -1
- package/dist/models/Version.js +137 -14
- package/dist/models/enums/HeadersContentTypeEnum.d.ts +7 -0
- package/dist/models/enums/HeadersContentTypeEnum.d.ts.map +1 -1
- package/dist/models/enums/HeadersContentTypeEnum.js +7 -0
- package/dist/models/interfaces/IAppEngineException.d.ts +52 -0
- package/dist/models/interfaces/IAppEngineException.d.ts.map +1 -1
- package/dist/models/interfaces/IDocumentedException.d.ts +60 -0
- package/dist/models/interfaces/IDocumentedException.d.ts.map +1 -0
- package/dist/models/interfaces/IDocumentedException.js +2 -0
- package/dist/models/interfaces/IHttpResponse.d.ts +5 -0
- package/dist/models/interfaces/IHttpResponse.d.ts.map +1 -0
- package/dist/models/interfaces/IHttpResponse.js +2 -0
- package/dist/models/interfaces/IOdataError.d.ts +182 -0
- package/dist/models/interfaces/IOdataError.d.ts.map +1 -0
- package/dist/models/interfaces/IOdataError.js +2 -0
- package/dist/models/interfaces/IProblemDetails.d.ts +85 -0
- package/dist/models/interfaces/IProblemDetails.d.ts.map +1 -1
- package/dist/models/interfaces/IValidationProblemDetails.d.ts +76 -0
- package/dist/models/interfaces/IValidationProblemDetails.d.ts.map +1 -1
- package/dist-ui5/resources/computec/appengine/uibase/.library +1 -1
- package/dist-ui5/resources/computec/appengine/uibase/communication/ConnectionOptions-dbg.js +1 -0
- package/dist-ui5/resources/computec/appengine/uibase/communication/ConnectionOptions.js.map +1 -1
- package/dist-ui5/resources/computec/appengine/uibase/communication/HttpClient-dbg.js +41 -22
- package/dist-ui5/resources/computec/appengine/uibase/communication/HttpClient.js +1 -1
- package/dist-ui5/resources/computec/appengine/uibase/communication/HttpClient.js.map +1 -1
- package/dist-ui5/resources/computec/appengine/uibase/communication/SignalRHubClient-dbg.js +26 -28
- package/dist-ui5/resources/computec/appengine/uibase/communication/SignalRHubClient.js +1 -1
- package/dist-ui5/resources/computec/appengine/uibase/communication/SignalRHubClient.js.map +1 -1
- package/dist-ui5/resources/computec/appengine/uibase/helpers/ErrorHelper-dbg.js +7 -1
- package/dist-ui5/resources/computec/appengine/uibase/helpers/ErrorHelper.js +1 -1
- package/dist-ui5/resources/computec/appengine/uibase/helpers/ErrorHelper.js.map +1 -1
- package/dist-ui5/resources/computec/appengine/uibase/helpers/HttpClientHelper-dbg.js +76 -85
- package/dist-ui5/resources/computec/appengine/uibase/helpers/HttpClientHelper.js +1 -1
- package/dist-ui5/resources/computec/appengine/uibase/helpers/HttpClientHelper.js.map +1 -1
- package/dist-ui5/resources/computec/appengine/uibase/index-dbg.js +55 -0
- package/dist-ui5/resources/computec/appengine/uibase/index.js +2 -0
- package/dist-ui5/resources/computec/appengine/uibase/index.js.map +1 -0
- package/dist-ui5/resources/computec/appengine/uibase/library-dbg.js +1 -1
- package/dist-ui5/resources/computec/appengine/uibase/library-preload.js +53 -11
- package/dist-ui5/resources/computec/appengine/uibase/library-preload.js.map +1 -1
- package/dist-ui5/resources/computec/appengine/uibase/library.js +1 -1
- package/dist-ui5/resources/computec/appengine/uibase/manifest.json +1 -1
- package/dist-ui5/resources/computec/appengine/uibase/models/AppEngineConfiguration-dbg.js +31 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/AppEngineConfiguration.js +2 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/AppEngineConfiguration.js.map +1 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/AppEngineException-dbg.js +46 -7
- package/dist-ui5/resources/computec/appengine/uibase/models/AppEngineException.js +1 -1
- package/dist-ui5/resources/computec/appengine/uibase/models/AppEngineException.js.map +1 -1
- package/dist-ui5/resources/computec/appengine/uibase/models/BaseError-dbg.js +92 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/BaseError.js +2 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/BaseError.js.map +1 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/CompanyInfo-dbg.js +59 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/CompanyInfo.js +2 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/CompanyInfo.js.map +1 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/DocumentedException-dbg.js +75 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/DocumentedException.js +2 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/DocumentedException.js.map +1 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/HttpResponse-dbg.js +17 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/HttpResponse.js +2 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/HttpResponse.js.map +1 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/IOdataResponse-dbg.js +7 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/IOdataResponse.js +2 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/IOdataResponse.js.map +1 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/OdataError-dbg.js +122 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/OdataError.js +2 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/OdataError.js.map +1 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/ProblemDetails-dbg.js +29 -7
- package/dist-ui5/resources/computec/appengine/uibase/models/ProblemDetails.js +1 -1
- package/dist-ui5/resources/computec/appengine/uibase/models/ProblemDetails.js.map +1 -1
- package/dist-ui5/resources/computec/appengine/uibase/models/Session-dbg.js +20 -4
- package/dist-ui5/resources/computec/appengine/uibase/models/Session.js +1 -1
- package/dist-ui5/resources/computec/appengine/uibase/models/Session.js.map +1 -1
- package/dist-ui5/resources/computec/appengine/uibase/models/UserInfo-dbg.js +31 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/UserInfo.js +2 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/UserInfo.js.map +1 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/ValidationProblemDetails-dbg.js +15 -2
- package/dist-ui5/resources/computec/appengine/uibase/models/ValidationProblemDetails.js +1 -1
- package/dist-ui5/resources/computec/appengine/uibase/models/ValidationProblemDetails.js.map +1 -1
- package/dist-ui5/resources/computec/appengine/uibase/models/Version-dbg.js +253 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/Version.js +2 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/Version.js.map +1 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/enums/HeadersContentTypeEnum-dbg.js +7 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/enums/HeadersContentTypeEnum.js +1 -1
- package/dist-ui5/resources/computec/appengine/uibase/models/enums/HeadersContentTypeEnum.js.map +1 -1
- package/dist-ui5/resources/computec/appengine/uibase/models/interfaces/IAppEngineConfiguration-dbg.js +7 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/interfaces/IAppEngineConfiguration.js +2 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/interfaces/IAppEngineConfiguration.js.map +1 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/interfaces/IDocumentedException-dbg.js +7 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/interfaces/IDocumentedException.js +2 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/interfaces/IDocumentedException.js.map +1 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/interfaces/IHttpResponse-dbg.js +1 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/interfaces/IHttpResponse.js +2 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/interfaces/IHttpResponse.js.map +1 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/interfaces/IOdataError-dbg.js +1 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/interfaces/IOdataError.js +2 -0
- package/dist-ui5/resources/computec/appengine/uibase/models/interfaces/IOdataError.js.map +1 -0
- package/package.json +9 -4
|
@@ -4,7 +4,7 @@ sap.ui.require.preload({
|
|
|
4
4
|
"use strict";sap.ui.define([],function(){"use strict";function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,r(i.key),i)}}function e(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function r(t){var e=n(t,"string");return"symbol"==typeof e?e:e+""}function n(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=e(function t(){i(this,t)});return o});
|
|
5
5
|
},
|
|
6
6
|
"computec/appengine/uibase/communication/HttpClient.js":function(){
|
|
7
|
-
"use strict";sap.ui.define(["../models/LocalStorage","../helpers/ErrorHelper","../models/enums/HeadersContentTypeEnum","../helpers/HttpClientHelper","./HttpClientCacheOptions"],function(t,e,r,n,o){"use strict";function i(t){return t&&t.__esModule&&typeof t.default!=="undefined"?t.default:t}function a(t){"@babel/helpers - typeof";return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function u(t,e){return h(t)||s(t,e)||l(t,e)||c()}function c(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(t,e){if(t){if("string"==typeof t)return f(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(t,e):void 0}}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function s(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}function h(t){if(Array.isArray(t))return t}function p(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */p=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),u=new _(n||[]);return o(a,"_invoke",{value:k(t,r,u)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var h="suspendedStart",y="suspendedYield",v="executing",d="completed",g={};function m(){}function b(){}function w(){}var O={};l(O,a,function(){return this});var j=Object.getPrototypeOf,E=j&&j(j(N([])));E&&E!==r&&n.call(E,a)&&(O=E);var x=w.prototype=m.prototype=Object.create(O);function S(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function L(t,e){function r(o,i,a,u){var c=s(t[o],t,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then(function(t){r("next",t,a,u)},function(t){r("throw",t,a,u)}):e.resolve(f).then(function(t){l.value=t,a(l)},function(t){return r("throw",t,a,u)})}u(c.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e(function(e,o){r(t,n,e,o)})}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===d){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=T(u,n);if(c){if(c===g)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var l=s(e,r,n);if("normal"===l.type){if(o=n.done?d:y,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=d,n.method="throw",n.arg=l.arg)}}}function T(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,T(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=s(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return b.prototype=w,o(x,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:b,configurable:!0}),b.displayName=l(w,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,l(t,c,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},S(L.prototype),l(L.prototype,u,function(){return this}),e.AsyncIterator=L,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new L(f(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next()})},S(x),l(x,c,"Generator"),l(x,a,function(){return this}),l(x,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=N,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(C),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return u.type="throw",u.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function y(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function v(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?y(Object(r),!0).forEach(function(e){d(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function d(t,e,r){return(e=j(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function g(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function m(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function a(t){g(i,n,o,a,u,"next",t)}function u(t){g(i,n,o,a,u,"throw",t)}a(void 0)})}}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function w(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,j(n.key),n)}}function O(t,e,r){return e&&w(t.prototype,e),r&&w(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function j(t){var e=E(t,"string");return"symbol"==typeof e?e:e+""}function E(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var x=i(t);var S=i(e);var L=i(r);var k=i(n);var T=i(o);var P=function(){function t(){b(this,t)}return O(t,null,[{key:"clearCache",value:function t(){if(navigator.serviceWorker.controller){navigator.serviceWorker.controller.postMessage({type:"CT_AppEngine_pwa"})}else{console.warn("No active service worker found.")}}},{key:"removeCache",value:function t(e){this.clearCache()}},{key:"request",value:function(){var t=m(p().mark(function t(){var e,r,n;var o,i,a,u,c,l,f,s,h=arguments;return p().wrap(function t(p){while(1)switch(p.prev=p.next){case 0:o=h.length>0&&h[0]!==undefined?h[0]:{};i=(e=x.get("CTS_Session"))===null||e===void 0?void 0:e.CompanyId;a=v({headers:new Headers({"Content-Type":"application/json",Accepted:"application/json"})},o);if(i){this._appendToHeaders(a.headers,"x-b1-companyid",i)}u=(r=o.cacheOptions)===null||r===void 0?void 0:r.getCacheControlHeader();c=(n=o.cacheOptions)===null||n===void 0?void 0:n.getComputecCustomCacheControlHeader();if(u){this._appendToHeaders(a.headers,"cache-control",u)}if(c){this._appendToHeaders(a.headers,c[0],c[1])}l=k.getFullUrl(a.url);p.prev=9;p.next=12;return fetch(l,a);case 12:f=p.sent;p.next=15;return k.validateResponse(f,a);case 15:return p.abrupt("return",k.fetchData(f));case 18:p.prev=18;p.t0=p["catch"](9);s=S.getError(p.t0);throw s;case 22:case"end":return p.stop()}},t,this,[[9,18]])}));function e(){return t.apply(this,arguments)}return e}()},{key:"get",value:function t(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var n=v(v({},r),{},{method:"GET",url:e});if(r.useCache)n.cacheOptions=new T(true);return this.request(n)}},{key:"getCache",value:function t(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{cacheOptions:new T(true)};return this.get(e,r)}},{key:"post",value:function t(e,r){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return this.request(v(v({},n),{},{method:"POST",url:r,body:e}))}},{key:"postJSON",value:function t(e,r){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return this.post(JSON.stringify(e),r,v({headers:{"Content-Type":"application/json"}},n))}},{key:"postFile",value:function t(e,r){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var o=new FormData;o.append("file",e);return this.request(v(v({headers:{}},n),{},{method:"POST",url:r,body:o,cache:"no-cache"}))}},{key:"put",value:function t(e,r){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return this.request(v(v({},n),{},{method:"PUT",url:r,body:e}))}},{key:"putJSON",value:function t(e,r){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return this.put(JSON.stringify(e),r,v({headers:{"Content-Type":"application/json"}},n))}},{key:"patch",value:function t(e,r){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return this.request(v(v({},n),{},{method:"PATCH",url:r,body:e}))}},{key:"patchJSON",value:function t(e,r){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return this.patch(JSON.stringify(e),r,v({headers:{"Content-Type":"application/json"}},n))}},{key:"remove",value:function t(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return this.request(v(v({headers:{Accepted:"".concat(L.Null,",").concat(L.Text)}},r),{},{method:"DELETE",url:e,cache:"no-cache"}))}},{key:"_appendToHeaders",value:function t(e,r,n){if(e instanceof Headers){if(!e.has(r))e.append(r,n)}if(k.isHeadersArrayType(e)){if(!e.find(function(t){var e=u(t,1),n=e[0];return n===r}))e.push([r,n])}return e[r]=n}}])}();return P});
|
|
7
|
+
"use strict";sap.ui.define(["../models/LocalStorage","../helpers/ErrorHelper","../models/enums/HeadersContentTypeEnum","../helpers/HttpClientHelper","./HttpClientCacheOptions","../models/HttpResponse"],function(e,t,r,n,o,i){"use strict";function a(e){return e&&e.__esModule&&typeof e.default!=="undefined"?e.default:e}function u(e){"@babel/helpers - typeof";return u="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},u(e)}function c(e,t){return d(e)||p(e,t)||f(e,t)||l()}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(e,t){if(e){if("string"==typeof e)return s(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function p(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}function d(e){if(Array.isArray(e))return e}function y(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof u?n:u,l=Object.create(c.prototype);return h(l,"_invoke",function(r,n,o){var i,u,c,l=0,f=o||[],s=!1,p={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,r){return i=t,u=0,c=e,p.n=r,a}};function d(r,n){for(u=r,c=n,t=0;!s&&l&&!o&&t<f.length;t++){var o,i=f[t],d=p.p,y=i[2];r>3?(o=y===n)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(u=0,p.v=n,p.n=i[1]):d<y&&(o=r<3||i[0]>n||n>y)&&(i[4]=r,i[5]=n,p.n=y,u=0))}if(o||r>1)return a;throw s=!0,n}return function(o,f,y){if(l>1)throw TypeError("Generator is already running");for(s&&1===f&&d(f,y),u=f,c=y;(t=u<2?e:c)||!s;){i||(u?u<3?(u>1&&(p.n=-1),d(u,c)):p.n=c:p.v=c);try{if(l=2,i){if(u||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(s=p.n<0)?c:r.call(n,p))!==a)break}catch(t){i=e,u=1,c=t}finally{l=1}}return{value:t,done:s}}}(r,o,i),!0),l}var a={};function u(){}function c(){}function l(){}t=Object.getPrototypeOf;var f=[][n]?t(t([][n]())):(h(t={},n,function(){return this}),t),s=l.prototype=u.prototype=Object.create(f);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,h(e,o,"GeneratorFunction")),e.prototype=Object.create(s),e}return c.prototype=l,h(s,"constructor",l),h(l,"constructor",c),c.displayName="GeneratorFunction",h(l,o,"GeneratorFunction"),h(s),h(s,o,"Generator"),h(s,n,function(){return this}),h(s,"toString",function(){return"[object Generator]"}),(y=function(){return{w:i,m:p}})()}function h(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}h=function(e,t,r,n){function i(t,r){h(e,t,function(e){return this._invoke(t,r,e)})}t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(i("next",0),i("throw",1),i("return",2))},h(e,t,r,n)}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach(function(t){m(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function m(e,t,r){return(t=T(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function O(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function a(e){g(i,n,o,a,u,"next",e)}function u(e){g(i,n,o,a,u,"throw",e)}a(void 0)})}}function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,T(n.key),n)}}function S(e,t,r){return t&&j(e.prototype,t),r&&j(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function T(e){var t=C(e,"string");return"symbol"==typeof t?t:t+""}function C(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var k=a(e);var P=a(t);var E=a(r);var H=a(n);var _=a(o);var A=a(i);var N=function(){function e(){w(this,e)}return S(e,null,[{key:"clearCache",value:function e(){if(navigator.serviceWorker.controller){navigator.serviceWorker.controller.postMessage({type:"CT_AppEngine_pwa"})}else{console.warn("No active service worker found.")}}},{key:"removeCache",value:function e(t){this.clearCache()}},{key:"request",value:function(){var e=O(y().m(function e(){var t,r,n;var o,i,a,u,c,l,f,s,p=arguments,d,h,v,m;return y().w(function(e){while(1)switch(e.p=e.n){case 0:o=p.length>0&&p[0]!==undefined?p[0]:{};i=(t=k.get("CTS_Session"))===null||t===void 0?void 0:t.CompanyId;a=b({headers:new Headers({"Content-Type":"application/json",Accepted:"application/json"}),includeResponse:false},o);if(i){this._appendToHeaders(a.headers,"x-b1-companyid",i)}u=(r=o.cacheOptions)===null||r===void 0?void 0:r.getCacheControlHeader();c=(n=o.cacheOptions)===null||n===void 0?void 0:n.getComputecCustomCacheControlHeader();if(u){this._appendToHeaders(a.headers,"cache-control",u)}if(c){this._appendToHeaders(a.headers,c[0],c[1])}l=H.getFullUrl(a.url);e.p=1;e.n=2;return fetch(l,a);case 2:f=e.v;e.n=3;return H.validateResponse(f,a);case 3:if(!o.includeResponse){e.n=5;break}d=A;e.n=4;return H.fetchData(f);case 4:h=e.v;v=f;return e.a(2,new d(h,v));case 5:return e.a(2,H.fetchData(f));case 6:e.p=6;m=e.v;s=P.getError(m);throw s;case 7:return e.a(2)}},e,this,[[1,6]])}));function t(){return e.apply(this,arguments)}return t}()},{key:"get",value:function e(t){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var n=b(b({},r),{},{method:"GET",url:t});if(r.useCache)n.cacheOptions=new _(true);return this.request(n)}},{key:"getCache",value:function e(t){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{cacheOptions:new _(true)};return this.get(t,r)}},{key:"post",value:function e(t,r){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return this.request(b(b({},n),{},{method:"POST",url:r,body:t}))}},{key:"postJSON",value:function e(t,r){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return this.post(JSON.stringify(t),r,b({headers:{"Content-Type":"application/json"}},n))}},{key:"postFile",value:function e(t,r){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var o=new FormData;o.append("file",t);return this.request(b(b({headers:{}},n),{},{method:"POST",url:r,body:o,cache:"no-cache"}))}},{key:"put",value:function e(t,r){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return this.request(b(b({},n),{},{method:"PUT",url:r,body:t}))}},{key:"putJSON",value:function e(t,r){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return this.put(JSON.stringify(t),r,b({headers:{"Content-Type":"application/json"}},n))}},{key:"patch",value:function e(t,r){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return this.request(b(b({},n),{},{method:"PATCH",url:r,body:t}))}},{key:"patchJSON",value:function e(t,r){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return this.patch(JSON.stringify(t),r,b({headers:{"Content-Type":"application/json"}},n))}},{key:"remove",value:function e(t){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return this.request(b(b({headers:{Accepted:"".concat(E.Null,",").concat(E.Text)}},r),{},{method:"DELETE",url:t,cache:"no-cache"}))}},{key:"_appendToHeaders",value:function e(t,r,n){if(t instanceof Headers){if(!t.has(r))t.append(r,n)}if(H.isHeadersArrayType(t)){if(!t.find(function(e){var t=c(e,1),n=t[0];return n===r}))t.push([r,n])}return t[r]=n}}])}();return N});
|
|
8
8
|
},
|
|
9
9
|
"computec/appengine/uibase/communication/HttpClientCacheOptions.js":function(){
|
|
10
10
|
"use strict";sap.ui.define([],function(){"use strict";function e(t){"@babel/helpers - typeof";return e="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(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,o(n.key),n)}}function n(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e){var t=i(e,"string");return"symbol"==typeof t?t:t+""}function i(t,r){if("object"!=e(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,r||"default");if("object"!=e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}var u=function(){function e(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:false;var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;var o=arguments.length>2?arguments[2]:undefined;t(this,e);this.useCache=r;this.refresh=n;this.maxAge=o}return n(e,[{key:"getCacheControlHeader",value:function e(){if(!this.useCache)return"no-store";if(this.refresh)return"no-cache";if(this.maxAge){return"max-age=".concat(this.maxAge)}return null}},{key:"getComputecCustomCacheControlHeader",value:function e(){if(this.useCache)return["use-ct-cache","true"];return null}}])}();return u});
|
|
@@ -22,7 +22,7 @@ sap.ui.require.preload({
|
|
|
22
22
|
"use strict";sap.ui.define([],function(){"use strict";return ISignalRMessage});
|
|
23
23
|
},
|
|
24
24
|
"computec/appengine/uibase/communication/SignalRHubClient.js":function(){
|
|
25
|
-
"use strict";sap.ui.define(["../helpers/ErrorHelper"],function(t){"use strict";function e(t){return t&&t.__esModule&&typeof t.default!=="undefined"?t.default:t}function n(t){"@babel/helpers - typeof";return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function r(t){return a(t)||c(t)||i(t)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(t,e){if(t){if("string"==typeof t)return u(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}function c(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function a(t){if(Array.isArray(t))return u(t)}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function s(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */s=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function f(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,c=Object.create(i.prototype),a=new S(r||[]);return o(c,"_invoke",{value:P(t,n,a)}),c}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var p="suspendedStart",y="suspendedYield",v="executing",d="completed",m={};function g(){}function b(){}function w(){}var _={};l(_,c,function(){return this});var O=Object.getPrototypeOf,j=O&&O(O(C([])));j&&j!==n&&r.call(j,c)&&(_=j);var E=w.prototype=g.prototype=Object.create(_);function k(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function x(t,e){function n(o,i,c,a){var u=h(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then(function(t){n("next",t,c,a)},function(t){n("throw",t,c,a)}):e.resolve(l).then(function(t){s.value=t,c(s)},function(t){return n("throw",t,c,a)})}a(u.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e(function(e,o){n(t,r,e,o)})}return i=i?i.then(o,o):o()}})}function P(e,n,r){var o=p;return function(i,c){if(o===v)throw Error("Generator is already running");if(o===d){if("throw"===i)throw c;return{value:t,done:!0}}for(r.method=i,r.arg=c;;){var a=r.delegate;if(a){var u=L(a,r);if(u){if(u===m)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=v;var s=h(e,n,r);if("normal"===s.type){if(o=r.done?d:y,s.arg===m)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=d,r.method="throw",r.arg=s.arg)}}}function L(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,L(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var i=h(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var c=i.arg;return c?c.done?(n[e.resultName]=c.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):c:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function I(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function C(e){if(e||""===e){var n=e[c];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return b.prototype=w,o(E,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:b,configurable:!0}),b.displayName=l(w,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,l(t,u,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},k(x.prototype),l(x.prototype,a,function(){return this}),e.AsyncIterator=x,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var c=new x(f(t,n,r,o),i);return e.isGeneratorFunction(n)?c:c.next().then(function(t){return t.done?t.value:c.next()})},k(E),l(E,u,"Generator"),l(E,c,function(){return this}),l(E,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=C,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(I),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return a.type="throw",a.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i],a=c.completion;if("root"===c.tryLoc)return o("end");if(c.tryLoc<=this.prev){var u=r.call(c,"catchLoc"),s=r.call(c,"finallyLoc");if(u&&s){if(this.prev<c.catchLoc)return o(c.catchLoc,!0);if(this.prev<c.finallyLoc)return o(c.finallyLoc)}else if(u){if(this.prev<c.catchLoc)return o(c.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return o(c.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=t,c.arg=e,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),I(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;I(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:C(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}function l(t,e,n,r,o,i,c){try{var a=t[i](c),u=a.value}catch(t){return void n(t)}a.done?e(u):Promise.resolve(u).then(r,o)}function f(t){return function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function c(t){l(i,r,o,c,a,"next",t)}function a(t){l(i,r,o,c,a,"throw",t)}c(void 0)})}}function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?h(Object(n),!0).forEach(function(e){m(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,g(r.key),r)}}function d(t,e,n){return e&&v(t.prototype,e),n&&v(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function m(t,e,n){return(e=g(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function g(t){var e=b(t,"string");return"symbol"==typeof e?e:e+""}function b(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var w=e(t);var _=function(){function t(e){var n=this;y(this,t);m(this,"off",function(t){return n._connection.off(t)});e=p({useSharedConnection:false,rootPath:"".concat(window.location.origin,"/tnc"),autoConnect:true},e);this._globalConnections=[];this.options=e;this._connection=this._getConnection(this.options);if(this.options.autoConnect){this.initialized=this.connect()}return this}return d(t,[{key:"promise",get:function t(){return this.initialized}},{key:"autoConnectPromise",get:function t(){return this.initialized}},{key:"connection",get:function t(){return this._connection}},{key:"connect",value:function(){var t=f(s().mark(function t(){return s().wrap(function t(e){while(1)switch(e.prev=e.next){case 0:e.next=2;return this.connection.start();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}()},{key:"disconnect",value:function t(){this.connection.stop();return}},{key:"subscribe",value:function t(e){return this._subscribe(e)}},{key:"on",value:function t(e,n){this.connection.on(e,n)}},{key:"_subscribe",value:function(){var t=f(s().mark(function t(e){var n,o,i;return s().wrap(function t(c){while(1)switch(c.prev=c.next){case 0:c.prev=0;c.next=3;return this.initialized;case 3:o=e.getAttributes();c.next=6;return(n=this.connection).invoke.apply(n,[e.Name].concat(r(o)));case 6:c.next=14;break;case 8:c.prev=8;c.t0=c["catch"](0);i=w.getError(c.t0);console.error("".concat(i.name,":").concat(i.message));console.error(i.stack);throw new Error("Error while subscribing to function: ".concat(i.name," ").concat(i.message));case 14:case"end":return c.stop()}},t,this,[[0,8]])}));function e(e){return t.apply(this,arguments)}return e}()},{key:"_addQueries",value:function t(e){var n=[];if(e.companyId)n.push("CompanyId=".concat(e.companyId));if(e.companyApiKey){n.push("ApiKey=".concat(e.companyApiKey))}if(n.length==0)return"";return"?"+n.join("&")}},{key:"_initNewConnection",value:function t(e){var n;var r=new signalR.HubConnectionBuilder;if(e.rootPath){var o;var i="".concat((o=e.companyId)!==null&&o!==void 0?o:""," ");r=r.withUrl("".concat(e.rootPath).concat(this._addQueries(e)))}r=this._setAutoReconnect(r,e);if(e.keepAliveIntervalInMilliseconds&&e.keepAliveIntervalInMilliseconds>0){r=r.withKeepAliveInterval(e.keepAliveIntervalInMilliseconds)}if(e.serverTimeoutInMilliseconds&&e.serverTimeoutInMilliseconds>0){r=r.withServerTimeout(e.serverTimeoutInMilliseconds)}n=r.build();return n}},{key:"_setAutoReconnect",value:function t(e,n){if(!n.autoReconnect){return e}if(n.autoReconnectPolicy){return e.withAutomaticReconnect(n.autoReconnectPolicy)}if(typeof n.autoReconnectInterval==="number"){return e.withAutomaticReconnect([n.autoReconnectInterval])}if(Array.isArray(n.autoReconnectInterval)&&n.autoReconnectInterval.length>0){return e.withAutomaticReconnect(n.autoReconnectInterval)}return e.withAutomaticReconnect()}},{key:"_getSharedConnection",value:function t(e){var n;var r=this._globalConnections.find(function(t){return t.path===e.rootPath});var o;if(!r){o=this._initNewConnection(this.options);r={path:e.rootPath,connection:o};this._globalConnections.push(r)}return(n=r)===null||n===void 0?void 0:n.connection}},{key:"_getConnection",value:function t(e){if(this.options.useSharedConnection){return this._getSharedConnection(e)}else{return this._initNewConnection(this.options)}}}])}();return _});
|
|
25
|
+
"use strict";sap.ui.define(["../helpers/ErrorHelper"],function(t){"use strict";function n(t){return t&&t.__esModule&&typeof t.default!=="undefined"?t.default:t}function e(t){"@babel/helpers - typeof";return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function r(t){return u(t)||c(t)||i(t)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(t,n){if(t){if("string"==typeof t)return a(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?a(t,n):void 0}}function c(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function u(t){if(Array.isArray(t))return a(t)}function a(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function s(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,n,e="function"==typeof Symbol?Symbol:{},r=e.iterator||"@@iterator",o=e.toStringTag||"@@toStringTag";function i(e,r,o,i){var a=r&&r.prototype instanceof u?r:u,s=Object.create(a.prototype);return f(s,"_invoke",function(e,r,o){var i,u,a,s=0,f=o||[],l=!1,p={p:0,n:0,v:t,a:y,f:y.bind(t,4),d:function(n,e){return i=n,u=0,a=t,p.n=e,c}};function y(e,r){for(u=e,a=r,n=0;!l&&s&&!o&&n<f.length;n++){var o,i=f[n],y=p.p,h=i[2];e>3?(o=h===r)&&(a=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=t):i[0]<=y&&((o=e<2&&y<i[1])?(u=0,p.v=r,p.n=i[1]):y<h&&(o=e<3||i[0]>r||r>h)&&(i[4]=e,i[5]=r,p.n=h,u=0))}if(o||e>1)return c;throw l=!0,r}return function(o,f,h){if(s>1)throw TypeError("Generator is already running");for(l&&1===f&&y(f,h),u=f,a=h;(n=u<2?t:a)||!l;){i||(u?u<3?(u>1&&(p.n=-1),y(u,a)):p.n=a:p.v=a);try{if(s=2,i){if(u||(o="next"),n=i[o]){if(!(n=n.call(i,a)))throw TypeError("iterator result is not an object");if(!n.done)return n;a=n.value,u<2&&(u=0)}else 1===u&&(n=i.return)&&n.call(i),u<2&&(a=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=t}else if((n=(l=p.n<0)?a:e.call(r,p))!==c)break}catch(n){i=t,u=1,a=n}finally{s=1}}return{value:n,done:l}}}(e,o,i),!0),s}var c={};function u(){}function a(){}function l(){}n=Object.getPrototypeOf;var p=[][r]?n(n([][r]())):(f(n={},r,function(){return this}),n),y=l.prototype=u.prototype=Object.create(p);function h(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,f(t,o,"GeneratorFunction")),t.prototype=Object.create(y),t}return a.prototype=l,f(y,"constructor",l),f(l,"constructor",a),a.displayName="GeneratorFunction",f(l,o,"GeneratorFunction"),f(y),f(y,o,"Generator"),f(y,r,function(){return this}),f(y,"toString",function(){return"[object Generator]"}),(s=function(){return{w:i,m:h}})()}function f(t,n,e,r){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}f=function(t,n,e,r){function i(n,e){f(t,n,function(t){return this._invoke(n,e,t)})}n?o?o(t,n,{value:e,enumerable:!r,configurable:!r,writable:!r}):t[n]=e:(i("next",0),i("throw",1),i("return",2))},f(t,n,e,r)}function l(t,n,e,r,o,i,c){try{var u=t[i](c),a=u.value}catch(t){return void e(t)}u.done?n(a):Promise.resolve(a).then(r,o)}function p(t){return function(){var n=this,e=arguments;return new Promise(function(r,o){var i=t.apply(n,e);function c(t){l(i,r,o,c,u,"next",t)}function u(t){l(i,r,o,c,u,"throw",t)}c(void 0)})}}function y(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),e.push.apply(e,r)}return e}function h(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?y(Object(e),!0).forEach(function(n){m(t,n,e[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):y(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}return t}function v(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function b(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,g(r.key),r)}}function d(t,n,e){return n&&b(t.prototype,n),e&&b(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function m(t,n,e){return(n=g(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function g(t){var n=w(t,"string");return"symbol"==typeof n?n:n+""}function w(t,n){if("object"!=e(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,n||"default");if("object"!=e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}var O=n(t);var j=function(){function t(n){var e=this;v(this,t);m(this,"off",function(t){return e._connection.off(t)});n=h({useSharedConnection:false,rootPath:"".concat(window.location.origin,"/tnc"),autoConnect:true},n);this._globalConnections=[];this.options=n;this._connection=this._getConnection(this.options);if(this.options.autoConnect){this.initialized=this.connect()}return this}return d(t,[{key:"promise",get:function t(){return this.initialized}},{key:"autoConnectPromise",get:function t(){return this.initialized}},{key:"connection",get:function t(){return this._connection}},{key:"connect",value:function(){var t=p(s().m(function t(){return s().w(function(t){while(1)switch(t.n){case 0:t.n=1;return this.connection.start();case 1:return t.a(2,t.v)}},t,this)}));function n(){return t.apply(this,arguments)}return n}()},{key:"disconnect",value:function t(){this.connection.stop();return}},{key:"subscribe",value:function t(n){return this._subscribe(n)}},{key:"on",value:function t(n,e){this.connection.on(n,e)}},{key:"_subscribe",value:function(){var t=p(s().m(function t(n){var e,o,i,c;return s().w(function(t){while(1)switch(t.p=t.n){case 0:t.p=0;t.n=1;return this.initialized;case 1:o=n.getAttributes();t.n=2;return(e=this.connection).invoke.apply(e,[n.Name].concat(r(o)));case 2:t.n=4;break;case 3:t.p=3;c=t.v;i=O.getError(c);console.error("".concat(i.name,":").concat(i.message));console.error(i.stack);throw new Error("Error while subscribing to function: ".concat(i.name," ").concat(i.message));case 4:return t.a(2)}},t,this,[[0,3]])}));function n(n){return t.apply(this,arguments)}return n}()},{key:"_addQueries",value:function t(n){var e=[];if(n.companyId)e.push("CompanyId=".concat(n.companyId));if(n.companyApiKey){e.push("ApiKey=".concat(n.companyApiKey))}if(e.length==0)return"";return"?"+e.join("&")}},{key:"_initNewConnection",value:function t(n){var e;var r=new signalR.HubConnectionBuilder;if(n.rootPath){var o;var i="".concat((o=n.companyId)!==null&&o!==void 0?o:""," ");r=r.withUrl("".concat(n.rootPath).concat(this._addQueries(n)))}r=this._setAutoReconnect(r,n);if(n.keepAliveIntervalInMilliseconds&&n.keepAliveIntervalInMilliseconds>0){r=r.withKeepAliveInterval(n.keepAliveIntervalInMilliseconds)}if(n.serverTimeoutInMilliseconds&&n.serverTimeoutInMilliseconds>0){r=r.withServerTimeout(n.serverTimeoutInMilliseconds)}e=r.build();return e}},{key:"_setAutoReconnect",value:function t(n,e){if(!e.autoReconnect){return n}if(e.autoReconnectPolicy){return n.withAutomaticReconnect(e.autoReconnectPolicy)}if(typeof e.autoReconnectInterval==="number"){return n.withAutomaticReconnect([e.autoReconnectInterval])}if(Array.isArray(e.autoReconnectInterval)&&e.autoReconnectInterval.length>0){return n.withAutomaticReconnect(e.autoReconnectInterval)}return n.withAutomaticReconnect()}},{key:"_getSharedConnection",value:function t(n){var e;var r=this._globalConnections.find(function(t){return t.path===n.rootPath});var o;if(!r){o=this._initNewConnection(this.options);r={path:n.rootPath,connection:o};this._globalConnections.push(r)}return(e=r)===null||e===void 0?void 0:e.connection}},{key:"_getConnection",value:function t(n){if(this.options.useSharedConnection){return this._getSharedConnection(n)}else{return this._initNewConnection(this.options)}}}])}();return j});
|
|
26
26
|
},
|
|
27
27
|
"computec/appengine/uibase/communication/SignalRMessage.js":function(){
|
|
28
28
|
"use strict";sap.ui.define(["../models/BaseBusinessObject"],function(t){"use strict";function e(t){return t&&t.__esModule&&typeof t.default!=="undefined"?t.default:t}function r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,o(n.key),n)}}function n(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function o(t){var e=i(t,"string");return"symbol"==typeof e?e:e+""}function i(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e,r){return e=p(e),f(t,l()?Reflect.construct(e,r||[],p(t).constructor):e.apply(t,r))}function f(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return a(t)}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(l=function(){return!!t})()}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},p(t)}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&y(t,e)}function y(t,e){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},y(t,e)}var b=e(t);var d=function(t){function e(){u(this,e);return c(this,e,arguments)}s(e,t);return n(e)}(b);return d});
|
|
@@ -31,41 +31,83 @@ sap.ui.require.preload({
|
|
|
31
31
|
"use strict";sap.ui.define([],function(){"use strict";function t(r){"@babel/helpers - typeof";return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(r)}function r(t){return i(t)||o(t)||n(t)||e()}function e(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function n(t,r){if(t){if("string"==typeof t)return u(t,r);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?u(t,r):void 0}}function o(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function i(t){if(Array.isArray(t))return u(t)}function u(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=Array(r);e<r;e++)n[e]=t[e];return n}function a(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function c(t,r){for(var e=0;e<r.length;e++){var n=r[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,l(n.key),n)}}function f(t,r,e){return r&&c(t.prototype,r),e&&c(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function l(t){var r=s(t,"string");return"symbol"==typeof r?r:r+""}function s(r,e){if("object"!=t(r)||!r)return r;var n=r[Symbol.toPrimitive];if(void 0!==n){var o=n.call(r,e||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(r)}var y=function(){function t(r){a(this,t);this.Name=r}return f(t,[{key:"getAttributes",value:function t(){var e=Object.keys(this).indexOf("Name");var n=[].concat(r(Object.values(this).slice(0,e)),r(Object.values(this).slice(e+1)));return n}}])}();var b={__esModule:true};b.SubscribeProperties=y;return b});
|
|
32
32
|
},
|
|
33
33
|
"computec/appengine/uibase/helpers/ErrorHelper.js":function(){
|
|
34
|
-
"use strict";sap.ui.define(["../models/ValidationProblemDetails","../models/AppEngineException","../models/ProblemDetails"],function(e,r,t){"use strict";function
|
|
34
|
+
"use strict";sap.ui.define(["../models/ValidationProblemDetails","../models/AppEngineException","../models/ProblemDetails","../models/OdataError","../models/DocumentedException"],function(e,r,t,n,o){"use strict";function i(e){return e&&e.__esModule&&typeof e.default!=="undefined"?e.default:e}function u(e){"@babel/helpers - typeof";return u="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},u(e)}function a(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function s(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l(n.key),n)}}function c(e,r,t){return r&&s(e.prototype,r),t&&s(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e){var r=f(e,"string");return"symbol"==typeof r?r:r+""}function f(e,r){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r||"default");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}var p=i(e);var y=i(r);var m=i(t);var b=i(n);var v=i(o);var d=function(){function e(){a(this,e)}return c(e,null,[{key:"getError",value:function e(r){var t;switch(true){case r instanceof Error:return r;case typeof r==="string":return new Error(r);case b.is(r):return b.create(r).error;case p.is(r):return p.create(r).error;case v.is(r):return new v(r).error;case m.is(r):return m.create(r).error;case y.is(r):return new y(r).error;case r===null||r===void 0||(t=r.error)===null||t===void 0?void 0:t.message:return new Error(r.error.message);default:return r}}},{key:"isAppEngineException",value:function e(r){return y.is(r)}}])}();return d});
|
|
35
35
|
},
|
|
36
36
|
"computec/appengine/uibase/helpers/HttpClientHelper.js":function(){
|
|
37
|
-
"use strict";sap.ui.define(["../models/AppEngineException","./ErrorHelper","../models/enums/HeadersContentTypeEnum"],function(t,e,r){"use strict";function n(t){return t&&t.__esModule&&typeof t.default!=="undefined"?t.default:t}function o(t){"@babel/helpers - typeof";return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){return l(t)||s(t,e)||u(t,e)||a()}function a(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(t,e){if(t){if("string"==typeof t)return c(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(t,e):void 0}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function s(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}function l(t){if(Array.isArray(t))return t}function f(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */f=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new S(n||[]);return o(a,"_invoke",{value:k(t,r,u)}),a}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var p="suspendedStart",y="suspendedYield",v="executing",d="completed",m={};function g(){}function w(){}function b(){}var E={};s(E,a,function(){return this});var T=Object.getPrototypeOf,_=T&&T(T(R([])));_&&_!==r&&n.call(_,a)&&(E=_);var x=b.prototype=g.prototype=Object.create(E);function A(t){["next","throw","return"].forEach(function(e){s(t,e,function(t){return this._invoke(e,t)})})}function L(t,e){function r(o,i,a,u){var c=h(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then(function(t){r("next",t,a,u)},function(t){r("throw",t,a,u)}):e.resolve(l).then(function(t){s.value=t,a(s)},function(t){return r("throw",t,a,u)})}u(c.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e(function(e,o){r(t,n,e,o)})}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=p;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===d){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=O(u,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=h(e,r,n);if("normal"===s.type){if(o=n.done?d:y,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=d,n.method="throw",n.arg=s.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=h(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function N(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function R(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return w.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:w,configurable:!0}),w.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},A(L.prototype),s(L.prototype,u,function(){return this}),e.AsyncIterator=L,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new L(l(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next()})},A(x),s(x,c,"Generator"),s(x,a,function(){return this}),s(x,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=R,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return u.type="throw",u.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:R(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function h(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function p(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function a(t){h(i,n,o,a,u,"next",t)}function u(t){h(i,n,o,a,u,"throw",t)}a(void 0)})}}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,w(n.key),n)}}function d(t,e,r){return e&&v(t.prototype,e),r&&v(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var m;function g(t,e,r){return(e=w(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function w(t){var e=b(t,"string");return"symbol"==typeof e?e:e+""}function b(t,e){if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var E=n(t);var T=n(e);var _=n(r);var x=function(){function t(){y(this,t)}return d(t,null,[{key:"validateResponse",value:function(){var t=p(f().mark(function t(e,r){return f().wrap(function t(n){while(1)switch(n.prev=n.next){case 0:if(e.ok){n.next=3;break}n.next=3;return this._throwErrorBasedOnResponse(e,r);case 3:this._validateResponseType(e,r);return n.abrupt("return",true);case 5:case"end":return n.stop()}},t,this)}));function e(e,r){return t.apply(this,arguments)}return e}()},{key:"isHeadersArrayType",value:function t(e){if(!Array.isArray(e)){return false}for(var r=0;r<e.length;r++){if(!Array.isArray(e[r])||e[r].length!==2){return false}if(typeof e[r][0]!=="string"||typeof e[r][1]!=="string"){return false}}return true}},{key:"fetchData",value:function t(e){var r=e.headers.get("Content-Type");if(this._isJsonType(r))return this._fetchJsonData(e);if(this._isFileType(r))return this._fetchFileData(e);return this._fetchTextData(e)}},{key:"getFullUrl",value:function t(e){if(!e)return"";if(this.FULL_URL_PATTERN.test(e))return e;return"".concat(window.location.origin,"/").concat(e)}},{key:"_validateResponseType",value:function t(e,r){var n=this;var o=e.headers.get("Content-Type");var i=this._getAcceptedType(r.headers);var a=true;if(i){var u=i.split(",");a=u.some(function(t){return n._isJsonType(t)&&n._isJsonType(o)||n._isTextType(t)&&n._isTextType(o)||n._isFileType(t)&&n._isFileType(o)||n._isNullType(t)&&n._isNullType(o)})}if(!a)throw new Error("Wrong content type. Accepted type for request: ".concat(i,", received type in response: ").concat(o,"."))}},{key:"_throwErrorBasedOnResponse",value:function(){var e=p(f().mark(function e(r,n){var o,i;return f().wrap(function e(a){while(1)switch(a.prev=a.next){case 0:a.t0=r.status;a.next=a.t0===401?3:a.t0===0?7:a.t0===404?8:a.t0===405?9:10;break;case 3:o=new Error;o.name=t.NOT_AUTHENTICATED_ERROR_NAME;o.message=r.statusText;throw o;case 7:throw new Error("Server is not responding");case 8:throw new Error("Not found ".concat(n.url));case 9:throw new Error("Method ".concat(n.method," not allowed for endpoint: ").concat(n.url));case 10:a.next=12;return this.fetchData(r);case 12:i=a.sent;if(!E.is(i)){a.next=15;break}throw new E(i).error;case 15:throw T.getError(i);case 16:case"end":return a.stop()}},e,this)}));function r(t,r){return e.apply(this,arguments)}return r}()},{key:"_getAcceptedType",value:function t(e){if(!e)return null;if(e instanceof Headers)return e.get("Accepted");if(this.isHeadersArrayType(e)){var r=e.find(function(t){var e=i(t,1),r=e[0];return r==="Accepted"});if(r!==undefined)return r[1]}return e["Accepted"]}},{key:"_isJsonType",value:function t(e){return e===null||e===void 0?void 0:e.includes(_.Json)}},{key:"_isFileType",value:function t(e){return e===null||e===void 0?void 0:e.includes(_.OctetStream)}},{key:"_isTextType",value:function t(e){return e===null||e===void 0?void 0:e.includes(_.Text)}},{key:"_isNullType",value:function t(e){return e===_.Null||e===null}},{key:"_fetchJsonData",value:function(){var t=p(f().mark(function t(e){var r;return f().wrap(function t(n){while(1)switch(n.prev=n.next){case 0:n.prev=0;n.next=3;return e.json();case 3:return n.abrupt("return",n.sent);case 6:n.prev=6;n.t0=n["catch"](0);r=T.getError(n.t0);throw new Error("Could not load json data from response. ".concat(r.message));case 10:case"end":return n.stop()}},t,null,[[0,6]])}));function e(e){return t.apply(this,arguments)}return e}()},{key:"_fetchFileData",value:function(){var t=p(f().mark(function t(e){var r;return f().wrap(function t(n){while(1)switch(n.prev=n.next){case 0:n.prev=0;n.next=3;return e.blob();case 3:return n.abrupt("return",n.sent);case 6:n.prev=6;n.t0=n["catch"](0);r=T.getError(n.t0);throw new Error("Could not load json data from response. ".concat(r.message));case 10:case"end":return n.stop()}},t,null,[[0,6]])}));function e(e){return t.apply(this,arguments)}return e}()},{key:"_fetchTextData",value:function(){var t=p(f().mark(function t(e){var r;return f().wrap(function t(n){while(1)switch(n.prev=n.next){case 0:n.prev=0;n.next=3;return e.text();case 3:return n.abrupt("return",n.sent);case 6:n.prev=6;n.t0=n["catch"](0);r=T.getError(n.t0);throw new Error("Could not load text data from response. ".concat(r.message));case 10:case"end":return n.stop()}},t,null,[[0,6]])}));function e(e){return t.apply(this,arguments)}return e}()}])}();m=x;g(x,"FULL_URL_PATTERN",/^https?:\/\//i);g(x,"NOT_AUTHENTICATED_ERROR_NAME","RESPONSE_NOT_AUTHENTICATED");g(x,"isNotAuthenticated",function(t){return t.name===m.NOT_AUTHENTICATED_ERROR_NAME});return x});
|
|
37
|
+
"use strict";sap.ui.define(["./ErrorHelper","../models/enums/HeadersContentTypeEnum"],function(e,t){"use strict";function r(e){return e&&e.__esModule&&typeof e.default!=="undefined"?e.default:e}function n(e){"@babel/helpers - typeof";return n="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},n(e)}function o(e,t){return s(e)||c(e,t)||u(e,t)||i()}function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(e,t){if(e){if("string"==typeof e)return a(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,u,a=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(s)throw o}}return a}}function s(e){if(Array.isArray(e))return e}function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof a?n:a,s=Object.create(c.prototype);return f(s,"_invoke",function(r,n,o){var i,a,c,s=0,l=o||[],f=!1,p={p:0,n:0,v:e,a:y,f:y.bind(e,4),d:function(t,r){return i=t,a=0,c=e,p.n=r,u}};function y(r,n){for(a=r,c=n,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],y=p.p,v=i[2];r>3?(o=v===n)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=y&&((o=r<2&&y<i[1])?(a=0,p.v=n,p.n=i[1]):y<v&&(o=r<3||i[0]>n||n>v)&&(i[4]=r,i[5]=n,p.n=v,a=0))}if(o||r>1)return u;throw f=!0,n}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&y(l,v),a=l,c=v;(t=a<2?e:c)||!f;){i||(a?a<3?(a>1&&(p.n=-1),y(a,c)):p.n=c:p.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(f=p.n<0)?c:r.call(n,p))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:f}}}(r,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var p=[][n]?t(t([][n]())):(f(t={},n,function(){return this}),t),y=s.prototype=a.prototype=Object.create(p);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(y),e}return c.prototype=s,f(y,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(y),f(y,o,"Generator"),f(y,n,function(){return this}),f(y,"toString",function(){return"[object Generator]"}),(l=function(){return{w:i,m:v}})()}function f(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,r,n){function i(t,r){f(e,t,function(e){return this._invoke(t,r,e)})}t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(i("next",0),i("throw",1),i("return",2))},f(e,t,r,n)}function p(e,t,r,n,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void r(e)}a.done?t(c):Promise.resolve(c).then(n,o)}function y(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(e){p(i,n,o,u,a,"next",e)}function a(e){p(i,n,o,u,a,"throw",e)}u(void 0)})}}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,b(n.key),n)}}function h(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var T;function m(e,t,r){return(t=b(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e){var t=w(e,"string");return"symbol"==typeof t?t:t+""}function w(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var _=r(e);var g=r(t);var E=function(){function e(){v(this,e)}return h(e,null,[{key:"validateResponse",value:function(){var e=y(l().m(function e(t,r){return l().w(function(e){while(1)switch(e.n){case 0:if(t.ok){e.n=1;break}e.n=1;return this._throwErrorBasedOnResponse(t,r);case 1:this._validateResponseType(t,r);return e.a(2,true)}},e,this)}));function t(t,r){return e.apply(this,arguments)}return t}()},{key:"isHeadersArrayType",value:function e(t){if(!Array.isArray(t)){return false}for(var r=0;r<t.length;r++){if(!Array.isArray(t[r])||t[r].length!==2){return false}if(typeof t[r][0]!=="string"||typeof t[r][1]!=="string"){return false}}return true}},{key:"fetchData",value:function e(t){var r=t.headers.get("Content-Type");if(this._isJsonType(r))return this._fetchJsonData(t);if(this._isFileType(r))return this._fetchFileData(t);return this._fetchTextData(t)}},{key:"getFullUrl",value:function e(t){if(!t)return"";if(this.FULL_URL_PATTERN.test(t))return t;return"".concat(window.location.origin,"/").concat(t)}},{key:"_validateResponseType",value:function e(t,r){var n=this;var o=t.headers.get("Content-Type");var i=this._getAcceptedType(r.headers);var u=true;if(i){var a=i.split(",");u=a.some(function(e){return n._isJsonType(e)&&n._isJsonType(o)||n._isTextType(e)&&n._isTextType(o)||n._isFileType(e)&&n._isFileType(o)||n._isNullType(e)&&n._isNullType(o)})}if(!u)throw new Error("Wrong content type. Accepted type for request: ".concat(i,", received type in response: ").concat(o,"."))}},{key:"_throwErrorBasedOnResponse",value:function(){var t=y(l().m(function t(r,n){var o,i,u;return l().w(function(t){while(1)switch(t.n){case 0:u=r.status;t.n=u===401?1:u===0?2:u===404?3:u===405?4:5;break;case 1:o=new Error;o.name=e.NOT_AUTHENTICATED_ERROR_NAME;o.message=r.statusText;throw o;case 2:throw new Error("Server is not responding");case 3:throw new Error("Not found ".concat(n.url));case 4:throw new Error("Method ".concat(n.method," not allowed for endpoint: ").concat(n.url));case 5:t.n=6;return this.fetchData(r);case 6:i=t.v;throw _.getError(i);case 7:return t.a(2)}},t,this)}));function r(e,r){return t.apply(this,arguments)}return r}()},{key:"_getAcceptedType",value:function e(t){if(!t)return null;if(t instanceof Headers)return t.get("Accepted");if(this.isHeadersArrayType(t)){var r=t.find(function(e){var t=o(e,1),r=t[0];return r==="Accepted"});if(r!==undefined)return r[1]}return t["Accepted"]}},{key:"_isJsonType",value:function e(t){return t===null||t===void 0?void 0:t.includes(g.Json)}},{key:"_isFileType",value:function e(t){if(!t)return false;if(this._isJsonType(t)||this._isTextType(t))return false;return t.includes(g.OctetStream)||t.includes(g.Pdf)||t.includes(g.Csv)||t.includes(g.Excel)||t.includes(g.ExcelOpenXml)||t.includes(g.Word)||t.includes(g.Zip)||t.includes("image/")||t.includes("audio/")||t.includes("video/")}},{key:"_isTextType",value:function e(t){return t===null||t===void 0?void 0:t.includes(g.Text)}},{key:"_isNullType",value:function e(t){return t===g.Null||t===null}},{key:"_fetchJsonData",value:function(){var e=y(l().m(function e(t){var r,n;return l().w(function(e){while(1)switch(e.p=e.n){case 0:e.p=0;e.n=1;return t.json();case 1:return e.a(2,e.v);case 2:e.p=2;n=e.v;r=_.getError(n);throw new Error("Could not load json data from response. ".concat(r.message));case 3:return e.a(2)}},e,null,[[0,2]])}));function t(t){return e.apply(this,arguments)}return t}()},{key:"_fetchFileData",value:function(){var e=y(l().m(function e(t){var r,n;return l().w(function(e){while(1)switch(e.p=e.n){case 0:e.p=0;e.n=1;return t.blob();case 1:return e.a(2,e.v);case 2:e.p=2;n=e.v;r=_.getError(n);throw new Error("Could not load json data from response. ".concat(r.message));case 3:return e.a(2)}},e,null,[[0,2]])}));function t(t){return e.apply(this,arguments)}return t}()},{key:"_fetchTextData",value:function(){var e=y(l().m(function e(t){var r,n;return l().w(function(e){while(1)switch(e.p=e.n){case 0:e.p=0;e.n=1;return t.text();case 1:return e.a(2,e.v);case 2:e.p=2;n=e.v;r=_.getError(n);throw new Error("Could not load text data from response. ".concat(r.message));case 3:return e.a(2)}},e,null,[[0,2]])}));function t(t){return e.apply(this,arguments)}return t}()}])}();T=E;m(E,"FULL_URL_PATTERN",/^https?:\/\//i);m(E,"NOT_AUTHENTICATED_ERROR_NAME","RESPONSE_NOT_AUTHENTICATED");m(E,"isNotAuthenticated",function(e){return e.name===T.NOT_AUTHENTICATED_ERROR_NAME});return E});
|
|
38
|
+
},
|
|
39
|
+
"computec/appengine/uibase/index.js":function(){
|
|
40
|
+
"use strict";sap.ui.define(["./communication/HttpClient","./communication/HttpClientCacheOptions","./communication/IBaseHttpClientOptions","./helpers/ErrorHelper","./helpers/HttpClientHelper","./models/AppEngineConfiguration","./models/AppEngineException","./models/DocumentedException","./models/BaseBusinessObject","./models/CompanyInfo","./models/enums/HeadersContentTypeEnum","./models/enums/StorageTypeEnum","./models/interfaces/IAppEngineConfiguration","./models/interfaces/IAppEngineException","./models/LocalStorage","./models/Session","./models/UserInfo","./models/Version"],function(e,n,t,o,i,s,l,u,p,a,r,d,f,c,m,E,C,g){"use strict";var H={__esModule:true};H.HttpClient=e.default;function I(e,n){n&&Object.keys(n).forEach(function(t){if(t==="default"||t==="__esModule")return;Object.defineProperty(e,t,{enumerable:true,get:function e(){return n[t]}})})}I(H,e);H.HttpClientCacheOptions=n.default;I(H,n);I(H,t);H.ErrorHelper=o.default;I(H,o);H.HttpClientHelper=i.default;I(H,i);H.AppEngineConfiguration=s.default;I(H,s);H.AppEngineException=l.default;I(H,l);H.DocumentedException=u.default;I(H,u);H.BaseBusinessObject=p.default;I(H,p);H.CompanyInfo=a.default;I(H,a);H.HeadersContentTypeEnum=r.default;I(H,r);I(H,d);H.IAppEngineConfiguration=f.default;I(H,f);H.IAppEngineException=c.default;I(H,c);H.LocalStorage=m.default;I(H,m);H.Session=E.default;I(H,E);H.UserInfo=C.default;I(H,C);H.Version=g.default;I(H,g);return H});
|
|
38
41
|
},
|
|
39
42
|
"computec/appengine/uibase/library.js":function(){
|
|
40
|
-
"use strict";sap.ui.define(["sap/ui/core/Lib","sap/ui/core/library"],function(e,i){i;var n=e.init({name:"computec.appengine.uibase",version:"1.0.
|
|
43
|
+
"use strict";sap.ui.define(["sap/ui/core/Lib","sap/ui/core/library"],function(e,i){i;var n=e.init({name:"computec.appengine.uibase",version:"1.0.6",dependencies:[],types:[],interfaces:[],controls:[],elements:[],noLibraryCSS:false});return n});
|
|
44
|
+
},
|
|
45
|
+
"computec/appengine/uibase/manifest.json":'{"_version":"1.21.0","sap.app":{"id":"computec.appengine.uibase","type":"library","embeds":[],"applicationVersion":{"version":"1.0.6"},"title":"uibase","description":"Core library required by AppEngine plugins","resources":"resources.json","offline":true},"sap.ui":{"technology":"UI5","supportedThemes":[]},"sap.ui5":{"dependencies":{"libs":{"sap.ui.core":{}}},"library":{"i18n":false,"content":{"controls":[],"elements":[],"types":[],"interfaces":[]}}}}',
|
|
46
|
+
"computec/appengine/uibase/models/AppEngineConfiguration.js":function(){
|
|
47
|
+
"use strict";sap.ui.define(["./BaseBusinessObject"],function(t){"use strict";function e(t){return t&&t.__esModule&&typeof t.default!=="undefined"?t.default:t}function r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,o(n.key),n)}}function n(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function o(t){var e=i(t,"string");return"symbol"==typeof e?e:e+""}function i(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e,r){return e=l(e),f(t,p()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r))}function f(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return a(t)}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(p=function(){return!!t})()}function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},l(t)}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&y(t,e)}function y(t,e){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},y(t,e)}var b=e(t);var d=function(t){function e(){u(this,e);return c(this,e,arguments)}s(e,t);return n(e)}(b);return d});
|
|
41
48
|
},
|
|
42
|
-
"computec/appengine/uibase/manifest.json":'{"_version":"1.21.0","sap.app":{"id":"computec.appengine.uibase","type":"library","embeds":[],"applicationVersion":{"version":"1.0.4"},"title":"uibase","description":"Core library required by AppEngine plugins","resources":"resources.json","offline":true},"sap.ui":{"technology":"UI5","supportedThemes":[]},"sap.ui5":{"dependencies":{"libs":{"sap.ui.core":{}}},"library":{"i18n":false,"content":{"controls":[],"elements":[],"types":[],"interfaces":[]}}}}',
|
|
43
49
|
"computec/appengine/uibase/models/AppEngineException.js":function(){
|
|
44
|
-
"use strict";sap.ui.define([],function(){"use strict";function t(
|
|
50
|
+
"use strict";sap.ui.define(["./BaseError"],function(t){"use strict";function e(t){return t&&t.__esModule&&typeof t.default!=="undefined"?t.default:t}function r(t){"@babel/helpers - typeof";return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,m(n.key),n)}}function i(t,e,r){return e&&o(t.prototype,e),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function u(t,e,r){return e=s(e),f(t,l()?Reflect.construct(e,r||[],s(t).constructor):e.apply(t,r))}function f(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return c(t)}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(l=function(){return!!t})()}function a(t,e,r,n){var o=p(s(1&n?t.prototype:t),e,r);return 2&n&&"function"==typeof o?function(t){return o.apply(r,t)}:o}function p(){return p="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=y(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(arguments.length<3?t:r):o.value}},p.apply(null,arguments)}function y(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=s(t)););return t}function s(t){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},s(t)}function b(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&v(t,e)}function v(t,e){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},v(t,e)}function d(t,e,r){return(e=m(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function m(t){var e=g(t,"string");return"symbol"==typeof e?e:e+""}function g(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var h=e(t);var O=function(t){function e(t){var r;n(this,e);r=u(this,e);if(t){r.Title=t.Title;r.Detail=t.Detail}return r}b(e,t);return i(e,[{key:"fillData",value:function t(r){a(e,"fillData",this,3)([r]);return this}},{key:"message",get:function t(){return this.Detail}},{key:"error",get:function t(){return this}}],[{key:"is",value:function t(e){if(r(e)!=="object"||e===null)return false;var n=e;return"Title"in n&&typeof n.Title==="string"&&"Detail"in n&&typeof n.Detail==="string"&&n.Title===this.exceptionName}}])}(h);d(O,"exceptionName","AppEngineException");return O});
|
|
45
51
|
},
|
|
46
52
|
"computec/appengine/uibase/models/BaseBusinessObject.js":function(){
|
|
47
53
|
"use strict";sap.ui.define([],function(){"use strict";function t(e){"@babel/helpers - typeof";return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function r(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?e(Object(n),!0).forEach(function(e){u(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):e(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,a(n.key),n)}}function o(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function u(t,e,r){return(e=a(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(t){var e=c(t,"string");return"symbol"==typeof e?e:e+""}function c(e,r){if("object"!=t(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,r||"default");if("object"!=t(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}var f=function(){function t(){n(this,t);u(this,"USE_RAW_DATA",false);u(this,"_rawData",{})}return o(t,[{key:"cleanRaw",value:function t(){return this._rawData={}}},{key:"getField",value:function t(e){try{return this._rawData[e]}catch(t){return null}}},{key:"fillData",value:function t(e){var r=this.USE_RAW_DATA;var n=e||{};n["_rawData"]=undefined;Object.assign(this,n);if(r)this._rawData=n;return this}},{key:"clone",value:function t(){return this.cloneInternal(this)}},{key:"structuredClone",value:function t(){return this.constructor.create(this)}},{key:"cloneInternal",value:function t(e){return Object.assign(new this.constructor,e)}},{key:"toJSON",value:function t(){return r(r({},this),{},{_rawData:undefined,USE_RAW_DATA:undefined})}}],[{key:"create",value:function t(e){var r=new this;r.fillData(e);return r}},{key:"createMany",value:function t(e){var r=this;return(e||[]).map(function(t){return r.create(t)})}}])}();return f});
|
|
54
|
+
},
|
|
55
|
+
"computec/appengine/uibase/models/BaseError.js":function(){
|
|
56
|
+
"use strict";sap.ui.define(["./BaseBusinessObject"],function(t){"use strict";function e(t){return t&&t.__esModule&&typeof t.default!=="undefined"?t.default:t}function r(t){"@babel/helpers - typeof";return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,b(n.key),n)}}function i(t,e,r){return e&&o(t.prototype,e),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function u(t,e,r){return e=s(e),c(t,a()?Reflect.construct(e,r||[],s(t).constructor):e.apply(t,r))}function c(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return f(t)}function f(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(a=function(){return!!t})()}function s(t){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},s(t)}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&p(t,e)}function p(t,e){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},p(t,e)}function y(t,e,r){return(e=b(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function b(t){var e=m(t,"string");return"symbol"==typeof e?e:e+""}function m(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var v=e(t);var d=function(t){function e(){var t;n(this,e);t=u(this,e);y(t,"_stack","");t._stack=(new Error).stack;return t}l(e,t);return i(e,[{key:"name",get:function t(){return"AppEngine Error"}},{key:"stack",get:function t(){return this._stack}},{key:"toJSON",value:function t(){return{name:this.name,message:this.message,stack:this.stack}}}])}(v);y(d,"exceptionName","Exception");return d});
|
|
57
|
+
},
|
|
58
|
+
"computec/appengine/uibase/models/CompanyInfo.js":function(){
|
|
59
|
+
"use strict";sap.ui.define(["./BaseBusinessObject","./Version"],function(t,e){"use strict";function r(t){return t&&t.__esModule&&typeof t.default!=="undefined"?t.default:t}function n(t){"@babel/helpers - typeof";return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach(function(e){d(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,w(n.key),n)}}function f(t,e,r){return e&&c(t.prototype,e),r&&c(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function l(t,e,r){return e=v(e),a(t,s()?Reflect.construct(e,r||[],v(t).constructor):e.apply(t,r))}function a(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return p(t)}function p(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function y(t,e,r,n){var o=b(v(1&n?t.prototype:t),e,r);return 2&n&&"function"==typeof o?function(t){return o.apply(r,t)}:o}function b(){return b="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=O(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(arguments.length<3?t:r):o.value}},b.apply(null,arguments)}function O(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=v(t)););return t}function v(t){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},v(t)}function h(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&j(t,e)}function j(t,e){return j=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},j(t,e)}function d(t,e,r){return(e=w(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function w(t){var e=g(t,"string");return"symbol"==typeof e?e:e+""}function g(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var m=r(t);var P=r(e);var S=function(t){function e(){var t;u(this,e);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++){n[o]=arguments[o]}t=l(this,e,[].concat(n));d(t,"Version",new P);return t}h(e,t);return f(e,[{key:"fillData",value:function t(r){y(e,"fillData",this,3)([r]);this.Version=new P(this.Version);return this}},{key:"toJSON",value:function t(){return i(i({},y(e,"toJSON",this,3)([])),{},{Version:this.Version.toString()})}}])}(m);return S});
|
|
60
|
+
},
|
|
61
|
+
"computec/appengine/uibase/models/DocumentedException.js":function(){
|
|
62
|
+
"use strict";sap.ui.define(["./BaseError"],function(t){"use strict";function e(t){return t&&t.__esModule&&typeof t.default!=="undefined"?t.default:t}function n(t){"@babel/helpers - typeof";return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,m(r.key),r)}}function i(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function u(t,e,n){return e=s(e),c(t,l()?Reflect.construct(e,n||[],s(t).constructor):e.apply(t,n))}function c(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return f(t)}function f(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(l=function(){return!!t})()}function a(t,e,n,r){var o=p(s(1&r?t.prototype:t),e,n);return 2&r&&"function"==typeof o?function(t){return o.apply(n,t)}:o}function p(){return p="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=y(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},p.apply(null,arguments)}function y(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=s(t)););return t}function s(t){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},s(t)}function b(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&d(t,e)}function d(t,e){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},d(t,e)}function v(t,e,n){return(e=m(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function m(t){var e=g(t,"string");return"symbol"==typeof e?e:e+""}function g(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var h=e(t);var O=function(t){function e(t){var n;r(this,e);n=u(this,e);if(t){n.title=t.title;n.detail=t.detail;n.documentationUrl=t.documentationUrl}return n}b(e,t);return i(e,[{key:"fillData",value:function t(n){a(e,"fillData",this,3)([n]);return this}},{key:"message",get:function t(){return this.detail}},{key:"error",get:function t(){return this}}],[{key:"is",value:function t(e){if(n(e)!=="object"||e===null)return false;var r=e;return"title"in r&&typeof r.title==="string"&&"detail"in r&&typeof r.detail==="string"&&r.title===this.exceptionName&&"documentationUrl"in r&&typeof r.documentationUrl==="string"}}])}(h);v(O,"exceptionName","DocumentedException");return O});
|
|
63
|
+
},
|
|
64
|
+
"computec/appengine/uibase/models/HttpResponse.js":function(){
|
|
65
|
+
"use strict";sap.ui.define([],function(){"use strict";function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,r(i.key),i)}}function e(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function r(t){var e=n(t,"string");return"symbol"==typeof e?e:e+""}function n(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=e(function t(e,r){i(this,t);this.data=e;this.response=r});return o});
|
|
66
|
+
},
|
|
67
|
+
"computec/appengine/uibase/models/IOdataResponse.js":function(){
|
|
68
|
+
"use strict";sap.ui.define([],function(){"use strict";return IODataResponse});
|
|
48
69
|
},
|
|
49
70
|
"computec/appengine/uibase/models/LocalStorage.js":function(){
|
|
50
71
|
"use strict";sap.ui.define(["./enums/StorageTypeEnum"],function(e){"use strict";function t(e){"@babel/helpers - typeof";return t="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},t(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function o(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function i(e){var t=u(e,"string");return"symbol"==typeof t?t:t+""}function u(e,r){if("object"!=t(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,r||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}var a=e["StorageTypeEnum"];var l=function(){function e(){r(this,e)}return o(e,null,[{key:"put",value:function e(t,r){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:a.session;var o=this._prepareValueForStorage(r);if(o===null)return;if(n===a.session){window.sessionStorage.setItem(t,o)}else if(n==a.local){window.localStorage.setItem(t,o)}}},{key:"get",value:function e(t){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:a.session;var n;switch(r){case a.session:n=window.sessionStorage.getItem(t);break;case a.local:n=window.localStorage.getItem(t);break;default:return null}if(n===null)return null;return this._parseValue(n)}},{key:"remove",value:function e(t){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:a.session;if(r===a.session){window.sessionStorage.removeItem(t)}else if(r===a.local){window.localStorage.removeItem(t)}}},{key:"_prepareValueForStorage",value:function e(r){if(t(r)==="object"&&r!==null)return JSON.stringify(r);return r}},{key:"_parseValue",value:function e(t){try{JSON.parse(t);return JSON.parse(t)}catch(e){}return t}}])}();return l});
|
|
72
|
+
},
|
|
73
|
+
"computec/appengine/uibase/models/OdataError.js":function(){
|
|
74
|
+
"use strict";sap.ui.define(["./BaseError"],function(e){"use strict";function t(e){return e&&e.__esModule&&typeof e.default!=="undefined"?e.default:e}function r(e){"@babel/helpers - typeof";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},r(e)}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,g(n.key),n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e,t,r){return t=p(t),f(e,a()?Reflect.construct(t,r||[],p(e).constructor):t.apply(e,r))}function f(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return c(e)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(a=function(){return!!e})()}function l(e,t,r,n){var o=s(p(1&n?e.prototype:e),t,r);return 2&n&&"function"==typeof o?function(e){return o.apply(r,e)}:o}function s(){return s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=y(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(arguments.length<3?e:r):o.value}},s.apply(null,arguments)}function y(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=p(e)););return e}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function b(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function d(e,t,r){return(t=g(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){var t=m(e,"string");return"symbol"==typeof t?t:t+""}function m(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var h=t(e);var O=function(e){function t(){var e;n(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++){o[i]=arguments[i]}e=u(this,t,[].concat(o));d(e,"_message","");d(e,"code","");d(e,"details",[]);d(e,"innererror",{});return e}b(t,e);return i(t,[{key:"fillData",value:function e(r){if(t.is(r)){l(t,"fillData",this,3)([r.error])}else{l(t,"fillData",this,3)([r])}return this}},{key:"name",get:function e(){return"OData Error"}},{key:"message",get:function e(){return this._message},set:function e(t){this._message=t}},{key:"error",get:function e(){return this}}],[{key:"is",value:function e(t){if(r(t)!=="object"||t===null)return false;var n=t;return r(n.error)==="object"&&typeof n.error.code==="string"&&typeof n.error.message==="string"&&Array.isArray(n.error.details)&&r(n.error.innererror)==="object"}}])}(h);return O});
|
|
51
75
|
},
|
|
52
76
|
"computec/appengine/uibase/models/ProblemDetails.js":function(){
|
|
53
|
-
"use strict";sap.ui.define(["./
|
|
77
|
+
"use strict";sap.ui.define(["./BaseError"],function(t){"use strict";function e(t){return t&&t.__esModule&&typeof t.default!=="undefined"?t.default:t}function r(t){"@babel/helpers - typeof";return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,i(n.key),n)}}function u(t,e,r){return e&&o(t.prototype,e),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function i(t){var e=f(t,"string");return"symbol"==typeof e?e:e+""}function f(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function c(t,e,r){return e=v(e),l(t,p()?Reflect.construct(e,r||[],v(t).constructor):e.apply(t,r))}function l(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return a(t)}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(p=function(){return!!t})()}function y(t,e,r,n){var o=s(v(1&n?t.prototype:t),e,r);return 2&n&&"function"==typeof o?function(t){return o.apply(r,t)}:o}function s(){return s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=b(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(arguments.length<3?t:r):o.value}},s.apply(null,arguments)}function b(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=v(t)););return t}function v(t){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},v(t)}function d(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&m(t,e)}function m(t,e){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},m(t,e)}var h=e(t);var g=function(t){function e(){n(this,e);return c(this,e,arguments)}d(e,t);return u(e,[{key:"fillData",value:function t(r){y(e,"fillData",this,3)([r]);return this}},{key:"name",get:function t(){return"Problem Details"}},{key:"message",get:function t(){return this.detail||this.title}},{key:"error",get:function t(){return this}}],[{key:"is",value:function t(e){if(r(e)!=="object"||e===null)return false;var n=e;return"title"in n&&typeof n.title==="string"||"status"in n&&typeof n.status==="number"}}])}(h);return g});
|
|
54
78
|
},
|
|
55
79
|
"computec/appengine/uibase/models/Session.js":function(){
|
|
56
|
-
"use strict";sap.ui.define([],function(){"use strict";function t(t,e){for(var
|
|
80
|
+
"use strict";sap.ui.define(["./BaseBusinessObject"],function(t){"use strict";function e(t){return t&&t.__esModule&&typeof t.default!=="undefined"?t.default:t}function r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,o(n.key),n)}}function n(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function o(t){var e=i(t,"string");return"symbol"==typeof e?e:e+""}function i(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e,r){return e=l(e),f(t,p()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r))}function f(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return a(t)}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(p=function(){return!!t})()}function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},l(t)}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&y(t,e)}function y(t,e){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},y(t,e)}var b=e(t);var d=function(t){function e(){u(this,e);return c(this,e,arguments)}s(e,t);return n(e)}(b);return d});
|
|
81
|
+
},
|
|
82
|
+
"computec/appengine/uibase/models/UserInfo.js":function(){
|
|
83
|
+
"use strict";sap.ui.define(["./BaseBusinessObject"],function(t){"use strict";function e(t){return t&&t.__esModule&&typeof t.default!=="undefined"?t.default:t}function r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,o(n.key),n)}}function n(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function o(t){var e=i(t,"string");return"symbol"==typeof e?e:e+""}function i(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e,r){return e=l(e),f(t,p()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r))}function f(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return a(t)}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(p=function(){return!!t})()}function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},l(t)}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&y(t,e)}function y(t,e){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},y(t,e)}var b=e(t);var d=function(t){function e(){u(this,e);return c(this,e,arguments)}s(e,t);return n(e)}(b);return d});
|
|
57
84
|
},
|
|
58
85
|
"computec/appengine/uibase/models/ValidationProblemDetails.js":function(){
|
|
59
|
-
"use strict";sap.ui.define(["./ProblemDetails"],function(
|
|
86
|
+
"use strict";sap.ui.define(["./ProblemDetails"],function(t){"use strict";function r(t){return t&&t.__esModule&&typeof t.default!=="undefined"?t.default:t}function e(t){"@babel/helpers - typeof";return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function n(t,r){return f(t)||c(t,r)||i(t,r)||o()}function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(t,r){if(t){if("string"==typeof t)return u(t,r);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?u(t,r):void 0}}function u(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=Array(r);e<r;e++)n[e]=t[e];return n}function c(t,r){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,o,i,u,c=[],f=!0,a=!1;try{if(i=(e=e.call(t)).next,0===r){if(Object(e)!==e)return;f=!1}else for(;!(f=(n=i.call(e)).done)&&(c.push(n.value),c.length!==r);f=!0);}catch(t){a=!0,o=t}finally{try{if(!f&&null!=e.return&&(u=e.return(),Object(u)!==u))return}finally{if(a)throw o}}return c}}function f(t){if(Array.isArray(t))return t}function a(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function l(t,r){for(var e=0;e<r.length;e++){var n=r[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,g(n.key),n)}}function y(t,r,e){return r&&l(t.prototype,r),e&&l(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function s(t,r,e){return r=v(r),b(t,m()?Reflect.construct(r,e||[],v(t).constructor):r.apply(t,e))}function b(t,r){if(r&&("object"==typeof r||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return p(t)}function p(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function m(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(m=function(){return!!t})()}function v(t){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},v(t)}function d(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&h(t,r)}function h(t,r){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},h(t,r)}function j(t,r,e){return(r=g(r))in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}function g(t){var r=O(t,"string");return"symbol"==typeof r?r:r+""}function O(t,r){if("object"!=e(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,r||"default");if("object"!=e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}var w=r(t);var P=function(t){function r(){var t;a(this,r);for(var e=arguments.length,n=new Array(e),o=0;o<e;o++){n[o]=arguments[o]}t=s(this,r,[].concat(n));j(t,"errors",{});j(t,"traceId",null);return t}d(r,t);return y(r,[{key:"name",get:function t(){return"Validation Problem Details"}},{key:"message",get:function t(){var r="";Object.entries(this.errors).forEach(function(t){var e=n(t,2),o=e[0],i=e[1];r+="".concat(o,": ").concat(i.join(", "),"\n")});return r.trim()}},{key:"error",get:function t(){return this}}],[{key:"is",value:function t(r){if(!w.is(r))return false;var n=r;return"errors"in n&&e(n.errors)==="object"&&n.errors!==null}}])}(w);return P});
|
|
87
|
+
},
|
|
88
|
+
"computec/appengine/uibase/models/Version.js":function(){
|
|
89
|
+
"use strict";sap.ui.define(["./BaseBusinessObject"],function(e){"use strict";function r(e){return e&&e.__esModule&&typeof e.default!=="undefined"?e.default:e}function t(e){"@babel/helpers - typeof";return t="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},t(e)}function n(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function i(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,v(n.key),n)}}function o(e,r,t){return r&&i(e.prototype,r),t&&i(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e,r,t){return r=f(r),s(e,l()?Reflect.construct(r,t||[],f(e).constructor):r.apply(e,t))}function s(e,r){if(r&&("object"==typeof r||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return a(e)}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function c(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),r&&p(e,r)}function p(e,r){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,r){return e.__proto__=r,e},p(e,r)}function _(e,r,t){return(r=v(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function v(e){var r=y(e,"string");return"symbol"==typeof r?r:r+""}function y(e,r){if("object"!=t(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,r||"default");if("object"!=t(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}var m=r(e);var b=function(e){function r(e,t,i,o,a){var l;n(this,r);l=u(this,r);_(l,"_major",0);_(l,"_minor",0);_(l,"_build",0);_(l,"_revision",0);_(l,"_prerelease","");if(arguments.length===0)return s(l,l);if(r.isVersion(e)){l._major=e._major;l._minor=e._minor;l._build=e._build;l._revision=e._revision;l._prerelease=e._prerelease||""}else if(typeof e==="string"){var f=r.tryParse(e);if(!f.success){throw new Error("Invalid version format. Expected format: 'major.minor[.build][.revision][-prerelease]'")}l._major=f.version._major;l._minor=f.version._minor;l._build=f.version._build;l._revision=f.version._revision;l._prerelease=f.version._prerelease}else if(typeof e==="number"&&arguments.length===1){var c=e.toString().padStart(7,"0");l._major=parseInt(c.slice(0,2),10);l._minor=parseInt(c.slice(2,4),10);l._build=parseInt(c.slice(4,7),10)}else{l._major=e||0;l._minor=t||0;l._build=i||0;l._revision=o||0;l._prerelease=a||""}return l}c(r,e);return o(r,[{key:"major",get:function e(){return this._major}},{key:"minor",get:function e(){return this._minor}},{key:"build",get:function e(){return this._build}},{key:"revision",get:function e(){return this._revision}},{key:"prerelease",get:function e(){return this._prerelease}},{key:"isZero",value:function e(){return this._major===0&&this._minor===0&&this._build===0}},{key:"toString",value:function e(){var r="".concat(this._major.toString(),".").concat(this._minor.toString(),".").concat(this._build.toString());if(this._revision>0){r+=".".concat(this._revision.toString())}if(this._prerelease){r+="-".concat(this._prerelease)}return r}},{key:"compare",value:function e(r){if(this._major!==r._major){return this._major-r._major}if(this._minor!==r._minor){return this._minor-r._minor}if(this._build!==r._build){return this._build-r._build}if(this._revision!==r._revision){return this._revision-r._revision}if(!this._prerelease&&r._prerelease)return 1;if(this._prerelease&&!r._prerelease)return-1;if(this._prerelease&&r._prerelease){return this._prerelease.localeCompare(r._prerelease)}return 0}},{key:"equals",value:function e(r){return this.compare(r)===0}},{key:"lessThan",value:function e(r){return this.compare(r)<0}},{key:"greaterThan",value:function e(r){return this.compare(r)>0}},{key:"lessThanOrEqual",value:function e(r){return this.compare(r)<=0}},{key:"greaterThanOrEqual",value:function e(r){return this.compare(r)>=0}}],[{key:"tryParse",value:function e(t){if(!t){return{success:false}}var n="";var i=t.indexOf("-");if(i===-1){i=t.indexOf("+")}var o=i>1;if(o){n=t.substring(i+1);t=t.substring(0,i)}var u=t.split(".");var s=u.length;if(s<2||s>4){return{success:false}}var a=[];for(var l=0;l<s;l++){var f=this.tryParseComponent(u[l]);if(!f.success){return{success:false}}a.push(f.value)}var c;if(s===2){c=new r(a[0],a[1],0,0,n)}else if(s===3){c=new r(a[0],a[1],a[2],0,n)}else{c=new r(a[0],a[1],a[2],a[3],n)}return{success:true,version:c}}},{key:"tryParseComponent",value:function e(r){var t=parseInt(r,10);if(isNaN(t)||t<0){return{success:false}}return{success:true,value:t}}},{key:"isVersion",value:function e(n){var i,o,u;if(n instanceof r)return true;if(!n||t(n)!=="object")return false;if(((i=n._major)!==null&&i!==void 0?i:null)===null)return false;if(((o=n._minor)!==null&&o!==void 0?o:null)===null)return false;if(((u=n._build)!==null&&u!==void 0?u:null)===null)return false;return true}},{key:"ZERO",value:function e(){return new r(0,0,0)}}])}(m);_(b,"VERSION_PATTERN",/^\d+(\.\d+){1,3}([-+].+)?$/);return b});
|
|
60
90
|
},
|
|
61
91
|
"computec/appengine/uibase/models/enums/HeadersContentTypeEnum.js":function(){
|
|
62
|
-
"use strict";sap.ui.define([],function(){"use strict";var t=function(t){t["Json"]="application/json";t["Text"]="text/plain";t["OctetStream"]="application/octet-stream";t["Null"]="null";return t}(t||{});return t});
|
|
92
|
+
"use strict";sap.ui.define([],function(){"use strict";var t=function(t){t["Json"]="application/json";t["Text"]="text/plain";t["OctetStream"]="application/octet-stream";t["Pdf"]="application/pdf";t["Csv"]="text/csv";t["Excel"]="application/vnd.ms-excel";t["ExcelOpenXml"]="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";t["Word"]="application/vnd.openxmlformats-officedocument.wordprocessingml.document";t["Zip"]="application/zip";t["Xml"]="application/xml";t["Null"]="null";return t}(t||{});return t});
|
|
63
93
|
},
|
|
64
94
|
"computec/appengine/uibase/models/enums/StorageTypeEnum.js":function(){
|
|
65
95
|
"use strict";sap.ui.define([],function(){"use strict";var e=function(e){e[e["session"]=0]="session";e[e["local"]=1]="local";return e}(e||{});var s={__esModule:true};s.StorageTypeEnum=e;return s});
|
|
96
|
+
},
|
|
97
|
+
"computec/appengine/uibase/models/interfaces/IAppEngineConfiguration.js":function(){
|
|
98
|
+
"use strict";sap.ui.define([],function(){"use strict";return IAppEngineConfiguration});
|
|
66
99
|
},
|
|
67
100
|
"computec/appengine/uibase/models/interfaces/IAppEngineException.js":function(){
|
|
68
101
|
"use strict";sap.ui.define([],function(){"use strict";return IAppEngineException});
|
|
102
|
+
},
|
|
103
|
+
"computec/appengine/uibase/models/interfaces/IDocumentedException.js":function(){
|
|
104
|
+
"use strict";sap.ui.define([],function(){"use strict";return IDocumentedException});
|
|
105
|
+
},
|
|
106
|
+
"computec/appengine/uibase/models/interfaces/IHttpResponse.js":function(){
|
|
107
|
+
"use strict";
|
|
108
|
+
},
|
|
109
|
+
"computec/appengine/uibase/models/interfaces/IOdataError.js":function(){
|
|
110
|
+
"use strict";
|
|
69
111
|
},
|
|
70
112
|
"computec/appengine/uibase/models/interfaces/IProblemDetails.js":function(){
|
|
71
113
|
"use strict";
|