@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
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"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.
|
|
1
|
+
"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});
|
|
2
2
|
//# sourceMappingURL=library.js.map
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
sap.ui.define(["./BaseBusinessObject"], function (__BaseBusinessObject) {
|
|
4
|
+
"use strict";
|
|
5
|
+
|
|
6
|
+
function _interopRequireDefault(obj) {
|
|
7
|
+
return obj && obj.__esModule && typeof obj.default !== "undefined" ? obj.default : obj;
|
|
8
|
+
}
|
|
9
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
10
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
11
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
12
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
13
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
14
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
15
|
+
function _possibleConstructorReturn(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 _assertThisInitialized(t); }
|
|
16
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
17
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
|
|
18
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
19
|
+
function _inherits(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 && _setPrototypeOf(t, e); }
|
|
20
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
21
|
+
var BaseBusinessObject = _interopRequireDefault(__BaseBusinessObject);
|
|
22
|
+
var AppEngineConfiguration = /*#__PURE__*/function (_BaseBusinessObject) {
|
|
23
|
+
function AppEngineConfiguration() {
|
|
24
|
+
_classCallCheck(this, AppEngineConfiguration);
|
|
25
|
+
return _callSuper(this, AppEngineConfiguration, arguments);
|
|
26
|
+
}
|
|
27
|
+
_inherits(AppEngineConfiguration, _BaseBusinessObject);
|
|
28
|
+
return _createClass(AppEngineConfiguration);
|
|
29
|
+
}(BaseBusinessObject);
|
|
30
|
+
return AppEngineConfiguration;
|
|
31
|
+
});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"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});
|
|
2
|
+
//# sourceMappingURL=AppEngineConfiguration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppEngineConfiguration.js","names":["sap","ui","define","__BaseBusinessObject","_interopRequireDefault","obj","__esModule","default","_defineProperties","e","r","t","length","o","enumerable","configurable","writable","Object","defineProperty","_toPropertyKey","key","_createClass","prototype","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","_classCallCheck","a","n","_callSuper","_getPrototypeOf","_possibleConstructorReturn","_isNativeReflectConstruct","Reflect","construct","constructor","apply","_assertThisInitialized","ReferenceError","Boolean","valueOf","setPrototypeOf","getPrototypeOf","bind","__proto__","_inherits","create","value","_setPrototypeOf","BaseBusinessObject","AppEngineConfiguration","_BaseBusinessObject","this","arguments"],"sources":["AppEngineConfiguration-dbg.js"],"mappings":"AAAA,aAEAA,IAAIC,GAAGC,OAAO,CAAC,wBAAyB,SAAUC,GAChD,aAEA,SAASC,EAAuBC,GAC9B,OAAOA,GAAOA,EAAIC,mBAAqBD,EAAIE,UAAY,YAAcF,EAAIE,QAAUF,CACrF,CACA,SAASG,EAAkBC,EAAGC,GAAK,IAAK,IAAIC,EAAI,EAAGA,EAAID,EAAEE,OAAQD,IAAK,CAAE,IAAIE,EAAIH,EAAEC,GAAIE,EAAEC,WAAaD,EAAEC,aAAe,EAAGD,EAAEE,cAAgB,EAAG,UAAWF,IAAMA,EAAEG,UAAY,GAAIC,OAAOC,eAAeT,EAAGU,EAAeN,EAAEO,KAAMP,EAAI,CAAE,CACvO,SAASQ,EAAaZ,EAAGC,EAAGC,GAAK,OAAOD,GAAKF,EAAkBC,EAAEa,UAAWZ,GAAIC,GAAKH,EAAkBC,EAAGE,GAAIM,OAAOC,eAAeT,EAAG,YAAa,CAAEO,UAAW,IAAMP,CAAG,CAC1K,SAASU,EAAeR,GAAK,IAAIY,EAAIC,EAAab,EAAG,UAAW,MAAO,iBAAmBY,EAAIA,EAA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GF,GAAK,GAAI,mBAAqBA,GAAK,OAASA,EAAG,MAAM,IAAImB,UAAU,sDAAuDjB,EAAEW,UAAYL,OAAOkC,OAAO1C,GAAKA,EAAEa,UAAW,CAAEkB,YAAa,CAAEY,MAAOzC,EAAGK,UAAW,EAAGD,cAAe,KAAQE,OAAOC,eAAeP,EAAG,YAAa,CAAEK,UAAW,IAAMP,GAAK4C,EAAgB1C,EAAGF,EAAI,CACnV,SAAS4C,EAAgB1C,EAAGF,GAAK,OAAO4C,EAAkBpC,OAAO6B,eAAiB7B,OAAO6B,eAAeE,OAAS,SAAUrC,EAAGF,GAAK,OAAOE,EAAEsC,UAAYxC,EAAGE,CAAG,EAAG0C,EAAgB1C,EAAGF,EAAI,CACxL,IAAI6C,EAAqBlD,EAAuBD,GAChD,IAAIoD,EAAsC,SAAUC,GAClD,SAASD,IACPxB,EAAgB0B,KAAMF,GACtB,OAAOrB,EAAWuB,KAAMF,EAAwBG,UAClD,CACAR,EAAUK,EAAwBC,GAClC,OAAOnC,EAAakC,EACtB,CAP0C,CAOxCD,GACF,OAAOC,CACT","ignoreList":[]}
|
|
@@ -1,35 +1,74 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
sap.ui.define([], function () {
|
|
3
|
+
sap.ui.define(["./BaseError"], function (__BaseError) {
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
|
+
function _interopRequireDefault(obj) {
|
|
7
|
+
return obj && obj.__esModule && typeof obj.default !== "undefined" ? obj.default : obj;
|
|
8
|
+
}
|
|
6
9
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
7
10
|
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
8
11
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
9
12
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
13
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
14
|
+
function _possibleConstructorReturn(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 _assertThisInitialized(t); }
|
|
15
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
16
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
|
|
17
|
+
function _superPropGet(t, o, e, r) { var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; }
|
|
18
|
+
function _get() { return _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) { var p = _superPropBase(e, t); if (p) { var n = Object.getOwnPropertyDescriptor(p, t); return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value; } }, _get.apply(null, arguments); }
|
|
19
|
+
function _superPropBase(t, o) { for (; !{}.hasOwnProperty.call(t, o) && null !== (t = _getPrototypeOf(t));); return t; }
|
|
20
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
21
|
+
function _inherits(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 && _setPrototypeOf(t, e); }
|
|
22
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
23
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
10
24
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
11
25
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
12
|
-
var
|
|
26
|
+
var BaseError = _interopRequireDefault(__BaseError);
|
|
27
|
+
/**
|
|
28
|
+
* Concrete implementation of AppEngine-specific exceptions.
|
|
29
|
+
* Handles business logic errors and application-specific error conditions
|
|
30
|
+
* with structured Title and Detail information following RFC 7807 principles.
|
|
31
|
+
*
|
|
32
|
+
* @extends BaseError
|
|
33
|
+
* @implements IAppEngineException
|
|
34
|
+
*/
|
|
35
|
+
var AppEngineException = /*#__PURE__*/function (_BaseError) {
|
|
13
36
|
function AppEngineException(error) {
|
|
37
|
+
var _this;
|
|
14
38
|
_classCallCheck(this, AppEngineException);
|
|
39
|
+
_this = _callSuper(this, AppEngineException);
|
|
15
40
|
if (error) {
|
|
16
|
-
|
|
17
|
-
|
|
41
|
+
_this.Title = error.Title;
|
|
42
|
+
_this.Detail = error.Detail;
|
|
18
43
|
}
|
|
44
|
+
return _this;
|
|
19
45
|
}
|
|
46
|
+
_inherits(AppEngineException, _BaseError);
|
|
20
47
|
return _createClass(AppEngineException, [{
|
|
48
|
+
key: "fillData",
|
|
49
|
+
value: function fillData(data) {
|
|
50
|
+
_superPropGet(AppEngineException, "fillData", this, 3)([data]);
|
|
51
|
+
return this;
|
|
52
|
+
}
|
|
53
|
+
}, {
|
|
54
|
+
key: "message",
|
|
55
|
+
get: function get() {
|
|
56
|
+
return this.Detail;
|
|
57
|
+
}
|
|
58
|
+
}, {
|
|
21
59
|
key: "error",
|
|
22
60
|
get: function get() {
|
|
23
|
-
return
|
|
61
|
+
return this;
|
|
24
62
|
}
|
|
25
63
|
}], [{
|
|
26
64
|
key: "is",
|
|
27
65
|
value: function is(obj) {
|
|
28
66
|
if (_typeof(obj) !== "object" || obj === null) return false;
|
|
29
67
|
var candidate = obj;
|
|
30
|
-
return "Title" in candidate && typeof candidate.Title === "string" && "Detail" in candidate && typeof candidate.Detail === "string";
|
|
68
|
+
return "Title" in candidate && typeof candidate.Title === "string" && "Detail" in candidate && typeof candidate.Detail === "string" && candidate.Title === this.exceptionName;
|
|
31
69
|
}
|
|
32
70
|
}]);
|
|
33
|
-
}();
|
|
71
|
+
}(BaseError);
|
|
72
|
+
_defineProperty(AppEngineException, "exceptionName", "AppEngineException");
|
|
34
73
|
return AppEngineException;
|
|
35
74
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";sap.ui.define([],function(){"use strict";function t(
|
|
1
|
+
"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});
|
|
2
2
|
//# sourceMappingURL=AppEngineException.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppEngineException.js","names":["sap","ui","define","_typeof","o","Symbol","iterator","constructor","prototype","_classCallCheck","a","n","TypeError","_defineProperties","e","r","t","length","enumerable","configurable","writable","Object","defineProperty","_toPropertyKey","key","_createClass","
|
|
1
|
+
{"version":3,"file":"AppEngineException.js","names":["sap","ui","define","__BaseError","_interopRequireDefault","obj","__esModule","default","_typeof","o","Symbol","iterator","constructor","prototype","_classCallCheck","a","n","TypeError","_defineProperties","e","r","t","length","enumerable","configurable","writable","Object","defineProperty","_toPropertyKey","key","_createClass","_callSuper","_getPrototypeOf","_possibleConstructorReturn","_isNativeReflectConstruct","Reflect","construct","apply","_assertThisInitialized","ReferenceError","Boolean","valueOf","call","_superPropGet","p","_get","get","bind","_superPropBase","getOwnPropertyDescriptor","arguments","value","hasOwnProperty","setPrototypeOf","getPrototypeOf","__proto__","_inherits","create","_setPrototypeOf","_defineProperty","i","_toPrimitive","toPrimitive","String","Number","BaseError","AppEngineException","_BaseError","error","_this","this","Title","Detail","fillData","data","is","candidate","exceptionName"],"sources":["AppEngineException-dbg.js"],"mappings":"AAAA,aAEAA,IAAIC,GAAGC,OAAO,CAAC,eAAgB,SAAUC,GACvC,aAEA,SAASC,EAAuBC,GAC9B,OAAOA,GAAOA,EAAIC,mBAAqBD,EAAIE,UAAY,YAAcF,EAA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ACvCrC,IAAK,WACLsB,MAAO,SAASsB,EAASC,GACvB/B,EAAcuB,EAAoB,WAAYI,KAAM,EAApD3B,CAAuD,CAAC+B,IACxD,OAAOJ,IACT,GACC,CACDzC,IAAK,UACLiB,IAAK,SAASA,IACZ,OAAOwB,KAAKE,MACd,GACC,CACD3C,IAAK,QACLiB,IAAK,SAASA,IACZ,OAAOwB,IACT,IACE,CAAC,CACHzC,IAAK,KACLsB,MAAO,SAASwB,EAAGtE,GACjB,GAAIG,EAAQH,KAAS,UAAYA,IAAQ,KAAM,OAAO,MACtD,IAAIuE,EAAYvE,EAChB,MAAO,UAAWuE,UAAoBA,EAAUL,QAAU,UAAY,WAAYK,UAAoBA,EAAUJ,SAAW,UAAYI,EAAUL,QAAUD,KAAKO,aAClK,IAEJ,CApCsC,CAoCpCZ,GACFN,EAAgBO,EAAoB,gBAAiB,sBACrD,OAAOA,CACT","ignoreList":[]}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
sap.ui.define(["./BaseBusinessObject"], function (__BaseBusinessObject) {
|
|
4
|
+
"use strict";
|
|
5
|
+
|
|
6
|
+
function _interopRequireDefault(obj) {
|
|
7
|
+
return obj && obj.__esModule && typeof obj.default !== "undefined" ? obj.default : obj;
|
|
8
|
+
}
|
|
9
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
10
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
11
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
12
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
13
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
14
|
+
function _possibleConstructorReturn(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 _assertThisInitialized(t); }
|
|
15
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
16
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
|
|
17
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
18
|
+
function _inherits(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 && _setPrototypeOf(t, e); }
|
|
19
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
20
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
21
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
22
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
23
|
+
var BaseBusinessObject = _interopRequireDefault(__BaseBusinessObject);
|
|
24
|
+
/**
|
|
25
|
+
* Abstract base class for application errors in the AppEngine system.
|
|
26
|
+
* Extends BaseBusinessObject and implements the Error interface to provide
|
|
27
|
+
* a consistent error handling mechanism throughout the application.
|
|
28
|
+
*
|
|
29
|
+
* @abstract
|
|
30
|
+
* @extends BaseBusinessObject
|
|
31
|
+
* @implements Error
|
|
32
|
+
*/
|
|
33
|
+
var BaseError = /*#__PURE__*/function (_BaseBusinessObject) {
|
|
34
|
+
function BaseError() {
|
|
35
|
+
var _this;
|
|
36
|
+
_classCallCheck(this, BaseError);
|
|
37
|
+
_this = _callSuper(this, BaseError);
|
|
38
|
+
_defineProperty(_this, "_stack", "");
|
|
39
|
+
_this._stack = new Error().stack;
|
|
40
|
+
return _this;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Gets the error message describing what went wrong.
|
|
44
|
+
* Must be implemented by concrete error classes.
|
|
45
|
+
*
|
|
46
|
+
* @abstract
|
|
47
|
+
* @returns The error message
|
|
48
|
+
*/
|
|
49
|
+
_inherits(BaseError, _BaseBusinessObject);
|
|
50
|
+
return _createClass(BaseError, [{
|
|
51
|
+
key: "name",
|
|
52
|
+
get:
|
|
53
|
+
/**
|
|
54
|
+
* The name of the error type.
|
|
55
|
+
* Returns a standard name for all AppEngine errors.
|
|
56
|
+
*
|
|
57
|
+
* @example "AppEngine Error"
|
|
58
|
+
*/
|
|
59
|
+
function get() {
|
|
60
|
+
return "AppEngine Error";
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Gets the stack trace for the error.
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
}, {
|
|
68
|
+
key: "stack",
|
|
69
|
+
get: function get() {
|
|
70
|
+
return this._stack;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Converts the error to a JSON representation.
|
|
75
|
+
* Useful for serialization, logging, and API responses.
|
|
76
|
+
*
|
|
77
|
+
* @returns An object containing the error's name, message, and stack trace
|
|
78
|
+
*/
|
|
79
|
+
}, {
|
|
80
|
+
key: "toJSON",
|
|
81
|
+
value: function toJSON() {
|
|
82
|
+
return {
|
|
83
|
+
name: this.name,
|
|
84
|
+
message: this.message,
|
|
85
|
+
stack: this.stack
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
}]);
|
|
89
|
+
}(BaseBusinessObject);
|
|
90
|
+
_defineProperty(BaseError, "exceptionName", "Exception");
|
|
91
|
+
return BaseError;
|
|
92
|
+
});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"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});
|
|
2
|
+
//# sourceMappingURL=BaseError.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseError.js","names":["sap","ui","define","__BaseBusinessObject","_interopRequireDefault","obj","__esModule","default","_typeof","o","Symbol","iterator","constructor","prototype","_classCallCheck","a","n","TypeError","_defineProperties","e","r","t","length","enumerable","configurable","writable","Object","defineProperty","_toPropertyKey","key","_createClass","_callSuper","_getPrototypeOf","_possibleConstructorReturn","_isNativeReflectConstruct","Reflect","construct","apply","_assertThisInitialized","ReferenceError","Boolean","valueOf","call","setPrototypeOf","getPrototypeOf","bind","__proto__","_inherits","create","value","_setPrototypeOf","_defineProperty","i","_toPrimitive","toPrimitive","String","Number","BaseBusinessObject","BaseError","_BaseBusinessObject","_this","this","_stack","Error","stack","get","toJSON","name","message"],"sources":["BaseError-dbg.js"],"mappings":"AAAA,aAEAA,IAAIC,GAAGC,OAAO,CAAC,wBAAyB,SAAUC,GAChD,aAEA,SAASC,EAAuBC,GAC9B,OAAOA,GAAOA,EAAIC,mBAAqBD,EAAIE,UAAY,YAAcF,EAAIE,QAAUF,CACrF,CACA,SAASG,EAAQC,GAAK,0BAA2B,OAAOD,EAAU,mBAAqBE,QAAU,iBAAmBA,OAAOC,SAAW,SAAUF,GAAK,cAAcA,CAAG,EAAI,SAAUA,GAAK,OAAOA,GAAK,mBAAqBC,QAAUD,EAAEG,cAAgBF,QAAUD,IAAMC,OAAOG,UAAY,gBAAkBJ,CAAG,EAAGD,EAAQC,EAAI,CAC7T,SAASK,EAAgBC,EAAGC,GAAK,KAAMD,aAAaC,GAAI,MAAM,IAAIC,UAAU,oCAAsC,CAClH,SAASC,EAAkBC,EAAGC,GAAK,IAAK,IAAIC,EAAI,EAAGA,EAAID,EAAEE,OAAQD,IAAK,CAAE,IAAIZ,EAAIW,EAAEC,GAAIZ,EAAEc,WAAad,EAAEc,aAAe,EAAGd,EAAEe,cAAgB,EAAG,UAAWf,IAAMA,EAAEgB,UAAY,GAAIC,OAAOC,eAAeR,EAAGS,EAAenB,EAAEoB,KAAMpB,EAAI,CAAE,CACvO,SAASqB,EAAaX,EAAGC,EAAGC,GAAK,OAAOD,GAAKF,EAAkBC,EAAEN,UAAWO,GAAIC,GAAKH,EAAkBC,EAAGE,GAAIK,OAAOC,eAAeR,EAAG,YAAa,CAAEM,UAAW,IAAMN,CAAG,CAC1K,SAASY,EAAWV,EAAGZ,EAAGU,GAAK,OAAOV,EAAIuB,EAAgBvB,GAAIwB,EAA2BZ,EAAGa,IAA8BC,QAAQC,UAAU3B,EAAGU,GAAK,GAAIa,EAAgBX,GAAGT,aAAeH,EAAE4B,MAAMhB,EAAGF,GAA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,UAAW,IAAON,EAAEC,GAAKC,EAAGF,CAAG,CACnL,SAASS,EAAeP,GAAK,IAAI+B,EAAIC,EAAahC,EAAG,UAAW,MAAO,iBAAmB+B,EAAIA,EAAIA,EAAI,EAAI,CAC1G,SAASC,EAAahC,EAAGD,GAAK,GAAI,UAAYZ,EAAQa,KAAOA,EAAG,OAAOA,EAAG,IAAIF,EAAIE,EAAEX,OAAO4C,aAAc,QAAS,IAAMnC,EAAG,CAAE,IAAIiC,EAAIjC,EAAEuB,KAAKrB,EAAGD,GAAK,WAAY,GAAI,UAAYZ,EAAQ4C,GAAI,OAAOA,EAAG,MAAM,IAAInC,UAAU,+CAAiD,CAAE,OAAQ,WAAaG,EAAImC,OAASC,QAAQnC,EAAI,CAC3T,IAAIoC,EAAqBrD,EAAuBD,GAUhD,IAAIuD,EAAyB,SAAUC,GACrC,SAASD,IACP,IAAIE,EACJ9C,EAAgB+C,KAAMH,GACtBE,EAAQ7B,EAAW8B,KAAMH,GACzBP,EAAgBS,EAAO,SAAU,IACjCA,EAAME,QAAS,IAAIC,OAAQC,MAC3B,OAAOJ,CACT,CAQAb,EAAUW,EAAWC,GACrB,OAAO7B,EAAa4B,EAAW,CAAC,CAC9B7B,IAAK,OACLoC,IAOA,SAASA,IACP,MAAO,iBACT,GAMC,CACDpC,IAAK,QACLoC,IAAK,SAASA,IACZ,OAAOJ,KAAKC,MACd,GAQC,CACDjC,IAAK,SACLoB,MAAO,SAASiB,IACd,MAAO,CACLC,KAAMN,KAAKM,KACXC,QAASP,KAAKO,QACdJ,MAAOH,KAAKG,MAEhB,IAEJ,CAxD6B,CAwD3BP,GACFN,EAAgBO,EAAW,gBAAiB,aAC5C,OAAOA,CACT","ignoreList":[]}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
sap.ui.define(["./BaseBusinessObject", "./Version"], function (__BaseBusinessObject, __Version) {
|
|
4
|
+
"use strict";
|
|
5
|
+
|
|
6
|
+
function _interopRequireDefault(obj) {
|
|
7
|
+
return obj && obj.__esModule && typeof obj.default !== "undefined" ? obj.default : obj;
|
|
8
|
+
}
|
|
9
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
10
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
11
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
13
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
14
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
15
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
16
|
+
function _possibleConstructorReturn(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 _assertThisInitialized(t); }
|
|
17
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
18
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
|
|
19
|
+
function _superPropGet(t, o, e, r) { var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; }
|
|
20
|
+
function _get() { return _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) { var p = _superPropBase(e, t); if (p) { var n = Object.getOwnPropertyDescriptor(p, t); return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value; } }, _get.apply(null, arguments); }
|
|
21
|
+
function _superPropBase(t, o) { for (; !{}.hasOwnProperty.call(t, o) && null !== (t = _getPrototypeOf(t));); return t; }
|
|
22
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
23
|
+
function _inherits(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 && _setPrototypeOf(t, e); }
|
|
24
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
25
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
26
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
27
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
28
|
+
var BaseBusinessObject = _interopRequireDefault(__BaseBusinessObject);
|
|
29
|
+
var Version = _interopRequireDefault(__Version);
|
|
30
|
+
var CompanyInfo = /*#__PURE__*/function (_BaseBusinessObject) {
|
|
31
|
+
function CompanyInfo() {
|
|
32
|
+
var _this;
|
|
33
|
+
_classCallCheck(this, CompanyInfo);
|
|
34
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
35
|
+
args[_key] = arguments[_key];
|
|
36
|
+
}
|
|
37
|
+
_this = _callSuper(this, CompanyInfo, [].concat(args));
|
|
38
|
+
_defineProperty(_this, "Version", new Version());
|
|
39
|
+
return _this;
|
|
40
|
+
}
|
|
41
|
+
_inherits(CompanyInfo, _BaseBusinessObject);
|
|
42
|
+
return _createClass(CompanyInfo, [{
|
|
43
|
+
key: "fillData",
|
|
44
|
+
value: function fillData(data) {
|
|
45
|
+
_superPropGet(CompanyInfo, "fillData", this, 3)([data]);
|
|
46
|
+
this.Version = new Version(this.Version);
|
|
47
|
+
return this;
|
|
48
|
+
}
|
|
49
|
+
}, {
|
|
50
|
+
key: "toJSON",
|
|
51
|
+
value: function toJSON() {
|
|
52
|
+
return _objectSpread(_objectSpread({}, _superPropGet(CompanyInfo, "toJSON", this, 3)([])), {}, {
|
|
53
|
+
Version: this.Version.toString()
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
}]);
|
|
57
|
+
}(BaseBusinessObject);
|
|
58
|
+
return CompanyInfo;
|
|
59
|
+
});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"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});
|
|
2
|
+
//# sourceMappingURL=CompanyInfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompanyInfo.js","names":["sap","ui","define","__BaseBusinessObject","__Version","_interopRequireDefault","obj","__esModule","default","_typeof","o","Symbol","iterator","constructor","prototype","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","_classCallCheck","a","n","TypeError","_defineProperties","configurable","writable","_toPropertyKey","key","_createClass","_callSuper","_getPrototypeOf","_possibleConstructorReturn","_isNativeReflectConstruct","Reflect","construct","_assertThisInitialized","ReferenceError","Boolean","valueOf","call","_superPropGet","p","_get","get","bind","_superPropBase","value","hasOwnProperty","setPrototypeOf","getPrototypeOf","__proto__","_inherits","create","_setPrototypeOf","i","_toPrimitive","toPrimitive","String","Number","BaseBusinessObject","Version","CompanyInfo","_BaseBusinessObject","_this","this","_len","args","Array","_key","concat","fillData","data","toJSON","toString"],"sources":["CompanyInfo-dbg.js"],"mappings":"AAAA,aAEAA,IAAIC,GAAGC,OAAO,CAAC,uBAAwB,aAAc,SAAUC,EAAsBC,GACnF,aAEA,SAASC,EAAuBC,GAC9B,OAAOA,GAAOA,EAAIC,mBAAqBD,EAAIE,UAAY,YAAcF,EAAIE,QAAUF,CACrF,CACA,SAASG,EAAQC,GAAK,0BAA2B,OAAOD,EAAU,mBAAqBE,QAAU,iBAAmBA,OAAOC,SAAW,SAAUF,GAAK,cAAcA,CAAG,EAAI,SAAUA,GAAK,OAAOA,GAAK,mBAAqBC,QAAUD,EAAEG,cAAgBF,QAAUD,IAAMC,OAAOG,UAAY,gBAAkBJ,CAAG,EAAGD,EAAQC,EAAI,CAC7T,SAASK,EAAQC,EAAGC,GAAK,IAAIC,EAAIC,OAAOC,KAAKJ,GAAI,GAAIG,OAAOE,sBAAuB,CAAE,IAAIX,EAAIS,OAAOE,sBAAsBL,GAAIC,IAAMP,EAAIA,EAAEY,OAAO,SAAUL,GAAK,OAAOE,OAAOI,yBAAyBP,EAAGC,GAAGO,UAAY,IAAKN,EAAEO,KAAKC,MAAMR,EAAGR,EAAI,CAAE,OAAOQ,CAAG,CAC9P,SAASS,EAAcX,GAAK,IAAK,IAAIC,EAAI,EAAGA,EAAIW,UAAUC,OAAQZ,IAAK,CAAE,IAAIC,EAAI,MAAQU,UAA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AAO,IAAIC,MAAMF,GAAOG,EAAO,EAAGA,EAAOH,EAAMG,IAAQ,CACvFF,EAAKE,GAAQxD,UAAUwD,EACzB,CACAL,EAAQlC,EAAWmC,KAAMH,EAAa,GAAGQ,OAAOH,IAChDnD,EAAgBgD,EAAO,UAAW,IAAIH,GACtC,OAAOG,CACT,CACAZ,EAAUU,EAAaC,GACvB,OAAOlC,EAAaiC,EAAa,CAAC,CAChClC,IAAK,WACLmB,MAAO,SAASwB,EAASC,GACvB/B,EAAcqB,EAAa,WAAYG,KAAM,EAA7CxB,CAAgD,CAAC+B,IACjDP,KAAKJ,QAAU,IAAIA,EAAQI,KAAKJ,SAChC,OAAOI,IACT,GACC,CACDrC,IAAK,SACLmB,MAAO,SAAS0B,IACd,OAAO7D,EAAcA,EAAc,CAAC,EAAG6B,EAAcqB,EAAa,SAAUG,KAAM,EAA3CxB,CAA8C,KAAM,CAAC,EAAG,CAC7FoB,QAASI,KAAKJ,QAAQa,YAE1B,IAEJ,CA3B+B,CA2B7Bd,GACF,OAAOE,CACT","ignoreList":[]}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
sap.ui.define(["./BaseError"], function (__BaseError) {
|
|
4
|
+
"use strict";
|
|
5
|
+
|
|
6
|
+
function _interopRequireDefault(obj) {
|
|
7
|
+
return obj && obj.__esModule && typeof obj.default !== "undefined" ? obj.default : obj;
|
|
8
|
+
}
|
|
9
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
10
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
11
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
12
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
13
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
14
|
+
function _possibleConstructorReturn(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 _assertThisInitialized(t); }
|
|
15
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
16
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
|
|
17
|
+
function _superPropGet(t, o, e, r) { var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; }
|
|
18
|
+
function _get() { return _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) { var p = _superPropBase(e, t); if (p) { var n = Object.getOwnPropertyDescriptor(p, t); return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value; } }, _get.apply(null, arguments); }
|
|
19
|
+
function _superPropBase(t, o) { for (; !{}.hasOwnProperty.call(t, o) && null !== (t = _getPrototypeOf(t));); return t; }
|
|
20
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
21
|
+
function _inherits(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 && _setPrototypeOf(t, e); }
|
|
22
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
23
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
24
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
25
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
26
|
+
var BaseError = _interopRequireDefault(__BaseError);
|
|
27
|
+
/**
|
|
28
|
+
* Concrete implementation of AppEngine-specific documented exceptions.
|
|
29
|
+
* Handles business logic errors and application-specific error conditions
|
|
30
|
+
* with structured Title and Detail information following RFC 7807 principles.
|
|
31
|
+
*
|
|
32
|
+
* @extends BaseError
|
|
33
|
+
* @implements IDocumentedException
|
|
34
|
+
*/
|
|
35
|
+
var DocumentedException = /*#__PURE__*/function (_BaseError) {
|
|
36
|
+
function DocumentedException(error) {
|
|
37
|
+
var _this;
|
|
38
|
+
_classCallCheck(this, DocumentedException);
|
|
39
|
+
_this = _callSuper(this, DocumentedException);
|
|
40
|
+
if (error) {
|
|
41
|
+
_this.title = error.title;
|
|
42
|
+
_this.detail = error.detail;
|
|
43
|
+
_this.documentationUrl = error.documentationUrl;
|
|
44
|
+
}
|
|
45
|
+
return _this;
|
|
46
|
+
}
|
|
47
|
+
_inherits(DocumentedException, _BaseError);
|
|
48
|
+
return _createClass(DocumentedException, [{
|
|
49
|
+
key: "fillData",
|
|
50
|
+
value: function fillData(data) {
|
|
51
|
+
_superPropGet(DocumentedException, "fillData", this, 3)([data]);
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
}, {
|
|
55
|
+
key: "message",
|
|
56
|
+
get: function get() {
|
|
57
|
+
return this.detail;
|
|
58
|
+
}
|
|
59
|
+
}, {
|
|
60
|
+
key: "error",
|
|
61
|
+
get: function get() {
|
|
62
|
+
return this;
|
|
63
|
+
}
|
|
64
|
+
}], [{
|
|
65
|
+
key: "is",
|
|
66
|
+
value: function is(obj) {
|
|
67
|
+
if (_typeof(obj) !== "object" || obj === null) return false;
|
|
68
|
+
var candidate = obj;
|
|
69
|
+
return "title" in candidate && typeof candidate.title === "string" && "detail" in candidate && typeof candidate.detail === "string" && candidate.title === this.exceptionName && "documentationUrl" in candidate && typeof candidate.documentationUrl === "string";
|
|
70
|
+
}
|
|
71
|
+
}]);
|
|
72
|
+
}(BaseError);
|
|
73
|
+
_defineProperty(DocumentedException, "exceptionName", "DocumentedException");
|
|
74
|
+
return DocumentedException;
|
|
75
|
+
});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"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});
|
|
2
|
+
//# sourceMappingURL=DocumentedException.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentedException.js","names":["sap","ui","define","__BaseError","_interopRequireDefault","obj","__esModule","default","_typeof","o","Symbol","iterator","constructor","prototype","_classCallCheck","a","n","TypeError","_defineProperties","e","r","t","length","enumerable","configurable","writable","Object","defineProperty","_toPropertyKey","key","_createClass","_callSuper","_getPrototypeOf","_possibleConstructorReturn","_isNativeReflectConstruct","Reflect","construct","apply","_assertThisInitialized","ReferenceError","Boolean","valueOf","call","_superPropGet","p","_get","get","bind","_superPropBase","getOwnPropertyDescriptor","arguments","value","hasOwnProperty","setPrototypeOf","getPrototypeOf","__proto__","_inherits","create","_setPrototypeOf","_defineProperty","i","_toPrimitive","toPrimitive","String","Number","BaseError","DocumentedException","_BaseError","error","_this","this","title","detail","documentationUrl","fillData","data","is","candidate","exceptionName"],"sources":["DocumentedException-dbg.js"],"mappings":"AAAA,aAEAA,IAAIC,GAAGC,OAAO,CAAC,eAAgB,SAAUC,GACvC,aAEA,SAASC,EAAuBC,GAC9B,OAAOA,GAAOA,EAAIC,mBAAqBD,EAAIE,UAAY,YAAcF,EAAIE,QAAUF,CACrF,CACA,SAASG,EAAQC,GAAK,0BAA2B,OAAOD,EAAU,mBAAqBE,QAAU,iBAAmBA,OAAOC,SAAW,SAAUF,GAAK,cAAcA,CAAG,EAAI,SAAUA,GAAK,OAAOA,GAAK,mBAAqBC,QAAUD,EAAEG,cAAgBF,QAAUD,IAAMC,OAAOG,UAAY,gBAAkBJ,CAAG,EAAGD,EAAQC,EAAI,CAC7T,SAASK,EAAgBC,EA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,CACHzC,IAAK,KACLsB,MAAO,SAASyB,EAAGvE,GACjB,GAAIG,EAAQH,KAAS,UAAYA,IAAQ,KAAM,OAAO,MACtD,IAAIwE,EAAYxE,EAChB,MAAO,UAAWwE,UAAoBA,EAAUN,QAAU,UAAY,WAAYM,UAAoBA,EAAUL,SAAW,UAAYK,EAAUN,QAAUD,KAAKQ,eAAiB,qBAAsBD,UAAoBA,EAAUJ,mBAAqB,QAC5P,IAEJ,CArCuC,CAqCrCR,GACFN,EAAgBO,EAAqB,gBAAiB,uBACtD,OAAOA,CACT","ignoreList":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
sap.ui.define([], function () {
|
|
4
|
+
"use strict";
|
|
5
|
+
|
|
6
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
7
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
9
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
11
|
+
var HttpResponse = /*#__PURE__*/_createClass(function HttpResponse(data, response) {
|
|
12
|
+
_classCallCheck(this, HttpResponse);
|
|
13
|
+
this.data = data;
|
|
14
|
+
this.response = response;
|
|
15
|
+
});
|
|
16
|
+
return HttpResponse;
|
|
17
|
+
});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"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});
|
|
2
|
+
//# sourceMappingURL=HttpResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HttpResponse.js","names":["sap","ui","define","_defineProperties","e","r","t","length","o","enumerable","configurable","writable","Object","defineProperty","_toPropertyKey","key","_createClass","prototype","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","_classCallCheck","a","n","HttpResponse","data","response","this"],"sources":["HttpResponse-dbg.js"],"mappings":"AAAA,aAEAA,IAAIC,GAAGC,OAAO,GAAI,WAChB,aAEA,SAASC,EAAkBC,EAAGC,GAAK,IAAK,IAAIC,EAAI,EAAGA,EAAID,EAAEE,OAAQD,IAAK,CAAE,IAAIE,EAAIH,EAAEC,GAAIE,EAAEC,WAAaD,EAAEC,aAAe,EAAGD,EAAEE,cAAgB,EAAG,UAAWF,IAAMA,EAAEG,UAAY,GAAIC,OAAOC,eAAeT,EAAGU,EAAeN,EAAEO,KAAMP,EAAI,CAAE,CACvO,SAASQ,EAAaZ,EAAGC,EAAGC,GAAK,OAAOD,GAAKF,EAAkBC,EAAEa,UAAWZ,GAAIC,GAAKH,EAAkBC,EAAGE,GAAIM,OAAOC,eAAeT,EAAG,YAAa,CAAEO,UAAW,IAAMP,CAAG,CAC1K,SAASU,EAAeR,GAAK,IAAIY,EAAIC,EAAab,EAAG,UAAW,MAAO,iBAAmBY,EAAIA,EAAIA,EAAI,EAAI,CAC1G,SAASC,EAAab,EAAGD,GAAK,GAAI,iBAAmBC,IAAMA,EAAG,OAAOA,EAAG,IAAIF,EAAIE,EAAEc,OAAOC,aAAc,QAAS,IAAMjB,EAAG,CAAE,IAAIc,EAAId,EAAEkB,KAAKhB,EAAGD,GAAK,WAAY,GAAI,iBAAmBa,EAAG,OAAOA,EAAG,MAAM,IAAIK,UAAU,+CAAiD,CAAE,OAAQ,WAAalB,EAAImB,OAASC,QAAQnB,EAAI,CACvT,SAASoB,EAAgBC,EAAGC,GAAK,KAAMD,aAAaC,GAAI,MAAM,IAAIL,UAAU,oCAAsC,CAClH,IAAIM,EAA4Bb,EAAa,SAASa,EAAaC,EAAMC,GACvEL,EAAgBM,KAAMH,GACtBG,KAAKF,KAAOA,EACZE,KAAKD,SAAWA,CAClB,GACA,OAAOF,CACT","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IOdataResponse.js","names":["sap","ui","define","IODataResponse"],"sources":["IOdataResponse-dbg.js"],"mappings":"AAAA,aAEAA,IAAIC,GAAGC,OAAO,GAAI,WAChB,aAEA,OAAOC,cACT","ignoreList":[]}
|