@computec/uibase 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/dist/communication/ConnectionOptions.d.ts +48 -0
  2. package/dist/communication/ConnectionOptions.d.ts.map +1 -0
  3. package/dist/communication/ConnectionOptions.js +9 -0
  4. package/dist/communication/IConnectionInfo.d.ts +18 -0
  5. package/dist/communication/IConnectionInfo.d.ts.map +1 -0
  6. package/dist/communication/IConnectionInfo.js +2 -0
  7. package/dist/communication/ISignalRHubClient.d.ts +47 -0
  8. package/dist/communication/ISignalRHubClient.d.ts.map +1 -0
  9. package/dist/communication/ISignalRHubClient.js +2 -0
  10. package/dist/communication/ISignalRMessage.d.ts +8 -0
  11. package/dist/communication/ISignalRMessage.d.ts.map +1 -0
  12. package/dist/communication/ISignalRMessage.js +2 -0
  13. package/dist/communication/SignalRHubClient.d.ts +26 -0
  14. package/dist/communication/SignalRHubClient.d.ts.map +1 -0
  15. package/dist/communication/SignalRHubClient.js +133 -0
  16. package/dist/communication/SignalRMessage.d.ts +10 -0
  17. package/dist/communication/SignalRMessage.d.ts.map +1 -0
  18. package/dist/communication/SignalRMessage.js +9 -0
  19. package/dist/communication/SubscribeProperties.d.ts +17 -0
  20. package/dist/communication/SubscribeProperties.d.ts.map +1 -0
  21. package/dist/communication/SubscribeProperties.js +25 -0
  22. package/dist/helpers/ErrorHelper.d.ts +1 -1
  23. package/dist/helpers/ErrorHelper.d.ts.map +1 -1
  24. package/dist/helpers/ErrorHelper.js +6 -0
  25. package/dist/index.d.ts +10 -0
  26. package/dist/index.d.ts.map +1 -1
  27. package/dist/index.js +14 -1
  28. package/dist/models/AppEngineConfiguration.d.ts +26 -0
  29. package/dist/models/AppEngineConfiguration.d.ts.map +1 -0
  30. package/dist/models/AppEngineConfiguration.js +9 -0
  31. package/dist/models/AppEngineException.d.ts +3 -5
  32. package/dist/models/AppEngineException.d.ts.map +1 -1
  33. package/dist/models/AppEngineException.js +9 -7
  34. package/dist/models/BaseBusinessObject.d.ts +1 -2
  35. package/dist/models/BaseBusinessObject.d.ts.map +1 -1
  36. package/dist/models/CompanyInfo.d.ts +11 -0
  37. package/dist/models/CompanyInfo.d.ts.map +1 -0
  38. package/dist/models/CompanyInfo.js +22 -0
  39. package/dist/models/ProblemDetails.d.ts +13 -0
  40. package/dist/models/ProblemDetails.d.ts.map +1 -0
  41. package/dist/models/ProblemDetails.js +22 -0
  42. package/dist/models/UserInfo.d.ts +7 -0
  43. package/dist/models/UserInfo.d.ts.map +1 -0
  44. package/dist/models/UserInfo.js +9 -0
  45. package/dist/models/ValidationProblemDetails.d.ts +10 -0
  46. package/dist/models/ValidationProblemDetails.d.ts.map +1 -0
  47. package/dist/models/ValidationProblemDetails.js +30 -0
  48. package/dist/models/Version.d.ts +15 -0
  49. package/dist/models/Version.d.ts.map +1 -0
  50. package/dist/models/Version.js +62 -0
  51. package/dist/models/interfaces/IAppEngineConfiguration.d.ts +24 -0
  52. package/dist/models/interfaces/IAppEngineConfiguration.d.ts.map +1 -0
  53. package/dist/models/interfaces/IAppEngineConfiguration.js +2 -0
  54. package/dist/models/interfaces/IAppEngineException.d.ts +2 -4
  55. package/dist/models/interfaces/IAppEngineException.d.ts.map +1 -1
  56. package/dist/models/interfaces/IProblemDetails.d.ts +8 -0
  57. package/dist/models/interfaces/IProblemDetails.d.ts.map +1 -0
  58. package/dist/models/interfaces/IProblemDetails.js +2 -0
  59. package/dist/models/interfaces/IValidationProblemDetails.d.ts +6 -0
  60. package/dist/models/interfaces/IValidationProblemDetails.d.ts.map +1 -0
  61. package/dist/models/interfaces/IValidationProblemDetails.js +2 -0
  62. package/dist-ui5/resources/computec/appengine/uibase/.library +1 -1
  63. package/dist-ui5/resources/computec/appengine/uibase/communication/ConnectionOptions-dbg.js +19 -0
  64. package/dist-ui5/resources/computec/appengine/uibase/communication/ConnectionOptions.js +2 -0
  65. package/dist-ui5/resources/computec/appengine/uibase/communication/ConnectionOptions.js.map +1 -0
  66. package/dist-ui5/resources/computec/appengine/uibase/communication/IConnectionInfo-dbg.js +7 -0
  67. package/dist-ui5/resources/computec/appengine/uibase/communication/IConnectionInfo.js +2 -0
  68. package/dist-ui5/resources/computec/appengine/uibase/communication/IConnectionInfo.js.map +1 -0
  69. package/dist-ui5/resources/computec/appengine/uibase/communication/ISignalRHubClient-dbg.js +7 -0
  70. package/dist-ui5/resources/computec/appengine/uibase/communication/ISignalRHubClient.js +2 -0
  71. package/dist-ui5/resources/computec/appengine/uibase/communication/ISignalRHubClient.js.map +1 -0
  72. package/dist-ui5/resources/computec/appengine/uibase/communication/ISignalRMessage-dbg.js +7 -0
  73. package/dist-ui5/resources/computec/appengine/uibase/communication/ISignalRMessage.js +2 -0
  74. package/dist-ui5/resources/computec/appengine/uibase/communication/ISignalRMessage.js.map +1 -0
  75. package/dist-ui5/resources/computec/appengine/uibase/communication/SignalRHubClient-dbg.js +215 -0
  76. package/dist-ui5/resources/computec/appengine/uibase/communication/SignalRHubClient.js +2 -0
  77. package/dist-ui5/resources/computec/appengine/uibase/communication/SignalRHubClient.js.map +1 -0
  78. package/dist-ui5/resources/computec/appengine/uibase/communication/SignalRMessage-dbg.js +31 -0
  79. package/dist-ui5/resources/computec/appengine/uibase/communication/SignalRMessage.js +2 -0
  80. package/dist-ui5/resources/computec/appengine/uibase/communication/SignalRMessage.js.map +1 -0
  81. package/dist-ui5/resources/computec/appengine/uibase/communication/SubscribeProperties-dbg.js +49 -0
  82. package/dist-ui5/resources/computec/appengine/uibase/communication/SubscribeProperties.js +2 -0
  83. package/dist-ui5/resources/computec/appengine/uibase/communication/SubscribeProperties.js.map +1 -0
  84. package/dist-ui5/resources/computec/appengine/uibase/helpers/ErrorHelper-dbg.js +7 -1
  85. package/dist-ui5/resources/computec/appengine/uibase/helpers/ErrorHelper.js +1 -1
  86. package/dist-ui5/resources/computec/appengine/uibase/helpers/ErrorHelper.js.map +1 -1
  87. package/dist-ui5/resources/computec/appengine/uibase/library-dbg.js +1 -1
  88. package/dist-ui5/resources/computec/appengine/uibase/library-preload.js +37 -7
  89. package/dist-ui5/resources/computec/appengine/uibase/library-preload.js.map +1 -1
  90. package/dist-ui5/resources/computec/appengine/uibase/library.js +1 -1
  91. package/dist-ui5/resources/computec/appengine/uibase/manifest.json +1 -1
  92. package/dist-ui5/resources/computec/appengine/uibase/models/AppEngineException-dbg.js +5 -7
  93. package/dist-ui5/resources/computec/appengine/uibase/models/AppEngineException.js +1 -1
  94. package/dist-ui5/resources/computec/appengine/uibase/models/AppEngineException.js.map +1 -1
  95. package/dist-ui5/resources/computec/appengine/uibase/models/ProblemDetails-dbg.js +49 -0
  96. package/dist-ui5/resources/computec/appengine/uibase/models/ProblemDetails.js +2 -0
  97. package/dist-ui5/resources/computec/appengine/uibase/models/ProblemDetails.js.map +1 -0
  98. package/dist-ui5/resources/computec/appengine/uibase/models/ValidationProblemDetails-dbg.js +70 -0
  99. package/dist-ui5/resources/computec/appengine/uibase/models/ValidationProblemDetails.js +2 -0
  100. package/dist-ui5/resources/computec/appengine/uibase/models/ValidationProblemDetails.js.map +1 -0
  101. package/dist-ui5/resources/computec/appengine/uibase/models/interfaces/IProblemDetails-dbg.js +1 -0
  102. package/dist-ui5/resources/computec/appengine/uibase/models/interfaces/IProblemDetails.js +2 -0
  103. package/dist-ui5/resources/computec/appengine/uibase/models/interfaces/IProblemDetails.js.map +1 -0
  104. package/dist-ui5/resources/computec/appengine/uibase/models/interfaces/IValidationProblemDetails-dbg.js +1 -0
  105. package/dist-ui5/resources/computec/appengine/uibase/models/interfaces/IValidationProblemDetails.js +2 -0
  106. package/dist-ui5/resources/computec/appengine/uibase/models/interfaces/IValidationProblemDetails.js.map +1 -0
  107. package/package.json +6 -10
  108. package/dist-ui5/resources/computec/appengine/uibase/index-dbg.js +0 -43
  109. package/dist-ui5/resources/computec/appengine/uibase/index.js +0 -2
  110. package/dist-ui5/resources/computec/appengine/uibase/index.js.map +0 -1
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+
3
+ sap.ui.define(["./ProblemDetails"], function (__ProblemDetails) {
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 _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
11
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
12
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
13
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
14
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
15
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
16
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
17
+ 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); } }
18
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
19
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
20
+ 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); }
21
+ function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
22
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
23
+ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
24
+ 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); }
25
+ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
26
+ 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; }
27
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
28
+ 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); }
29
+ var ProblemDetails = _interopRequireDefault(__ProblemDetails);
30
+ var ValidationProblemDetails = /*#__PURE__*/function (_ProblemDetails) {
31
+ function ValidationProblemDetails() {
32
+ var _this;
33
+ _classCallCheck(this, ValidationProblemDetails);
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, ValidationProblemDetails, [].concat(args));
38
+ _defineProperty(_this, "errors", {});
39
+ _defineProperty(_this, "traceId", null);
40
+ return _this;
41
+ }
42
+ _inherits(ValidationProblemDetails, _ProblemDetails);
43
+ return _createClass(ValidationProblemDetails, [{
44
+ key: "errorMessage",
45
+ get: function get() {
46
+ var errorMessage = "";
47
+ Object.entries(this.errors).forEach(function (_ref) {
48
+ var _ref2 = _slicedToArray(_ref, 2),
49
+ field = _ref2[0],
50
+ messages = _ref2[1];
51
+ errorMessage += "".concat(field, ": ").concat(messages.join(", "), "\n");
52
+ });
53
+ return errorMessage.trim();
54
+ }
55
+ }, {
56
+ key: "error",
57
+ get: function get() {
58
+ return new Error(this.errorMessage);
59
+ }
60
+ }], [{
61
+ key: "is",
62
+ value: function is(obj) {
63
+ if (!ProblemDetails.is(obj)) return false;
64
+ var candidate = obj;
65
+ return "errors" in candidate && _typeof(candidate.errors) === "object" && candidate.errors !== null;
66
+ }
67
+ }]);
68
+ }(ProblemDetails);
69
+ return ValidationProblemDetails;
70
+ });
@@ -0,0 +1,2 @@
1
+ "use strict";sap.ui.define(["./ProblemDetails"],function(r){"use strict";function t(r){return r&&r.__esModule&&typeof r.default!=="undefined"?r.default:r}function e(r){"@babel/helpers - typeof";return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e(r)}function n(r,t){return f(r)||c(r,t)||i(r,t)||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(r,t){if(r){if("string"==typeof r)return u(r,t);var e={}.toString.call(r).slice(8,-1);return"Object"===e&&r.constructor&&(e=r.constructor.name),"Map"===e||"Set"===e?Array.from(r):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?u(r,t):void 0}}function u(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,n=Array(t);e<t;e++)n[e]=r[e];return n}function c(r,t){var e=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=e){var n,o,i,u,c=[],f=!0,a=!1;try{if(i=(e=e.call(r)).next,0===t){if(Object(e)!==e)return;f=!1}else for(;!(f=(n=i.call(e)).done)&&(c.push(n.value),c.length!==t);f=!0);}catch(r){a=!0,o=r}finally{try{if(!f&&null!=e.return&&(u=e.return(),Object(u)!==u))return}finally{if(a)throw o}}return c}}function f(r){if(Array.isArray(r))return r}function a(r,t){if(!(r instanceof t))throw new TypeError("Cannot call a class as a function")}function l(r,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,g(n.key),n)}}function s(r,t,e){return t&&l(r.prototype,t),e&&l(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function y(r,t,e){return t=d(t),b(r,v()?Reflect.construct(t,e||[],d(r).constructor):t.apply(r,e))}function b(r,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 p(r)}function p(r){if(void 0===r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function v(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(v=function(){return!!r})()}function d(r){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},d(r)}function m(r,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&h(r,t)}function h(r,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,t){return r.__proto__=t,r},h(r,t)}function j(r,t,e){return(t=g(t))in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}function g(r){var t=w(r,"string");return"symbol"==typeof t?t:t+""}function w(r,t){if("object"!=e(r)||!r)return r;var n=r[Symbol.toPrimitive];if(void 0!==n){var o=n.call(r,t||"default");if("object"!=e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(r)}var O=t(r);var S=function(r){function t(){var r;a(this,t);for(var e=arguments.length,n=new Array(e),o=0;o<e;o++){n[o]=arguments[o]}r=y(this,t,[].concat(n));j(r,"errors",{});j(r,"traceId",null);return r}m(t,r);return s(t,[{key:"errorMessage",get:function r(){var t="";Object.entries(this.errors).forEach(function(r){var e=n(r,2),o=e[0],i=e[1];t+="".concat(o,": ").concat(i.join(", "),"\n")});return t.trim()}},{key:"error",get:function r(){return new Error(this.errorMessage)}}],[{key:"is",value:function r(t){if(!O.is(t))return false;var n=t;return"errors"in n&&e(n.errors)==="object"&&n.errors!==null}}])}(O);return S});
2
+ //# sourceMappingURL=ValidationProblemDetails.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ValidationProblemDetails.js","names":["sap","ui","define","__ProblemDetails","_interopRequireDefault","obj","__esModule","default","_typeof","o","Symbol","iterator","constructor","prototype","_slicedToArray","r","e","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","a","_arrayLikeToArray","t","toString","call","slice","name","Array","from","test","length","n","l","i","u","f","next","Object","done","push","value","return","isArray","_classCallCheck","_defineProperties","enumerable","configurable","writable","defineProperty","_toPropertyKey","key","_createClass","_callSuper","_getPrototypeOf","_possibleConstructorReturn","_isNativeReflectConstruct","Reflect","construct","apply","_assertThisInitialized","ReferenceError","Boolean","valueOf","setPrototypeOf","getPrototypeOf","bind","__proto__","_inherits","create","_setPrototypeOf","_defineProperty","_toPrimitive","toPrimitive","String","Number","ProblemDetails","ValidationProblemDetails","_ProblemDetails","_this","this","_len","arguments","args","_key","concat","get","errorMessage","entries","errors","forEach","_ref","_ref2","field","messages","join","trim","Error","is","candidate"],"sources":["ValidationProblemDetails-dbg.js"],"mappings":"AAAA,aAEAA,IAAIC,GAAGC,OAAO,CAAC,oBAAqB,SAAUC,GAC5C,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,EAAeC,EAAGC,GAAK,OAAOC,EAAgBF,IAAMG,EAAsBH,EAAGC,IAAMG,EAA4BJ,EAAGC,IAAMI,GAAoB,CACrJ,SAASA,IAAqB,MAAM,IAAIC,UAAU,4IAA8I,CAChM,SAASF,EAA4BJ,EAAGO,GAAK,GAAIP,EAAG,CAAE,GAAI,iBAAmBA,EAAG,OAAOQ,EAAkBR,EAAGO,GAAI,IAAIE,EAAI,CAAC,EAAEC,SAASC,KAAKX,G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C,IAAI2E,EAAwC,SAAUC,GACpD,SAASD,IACP,IAAIE,EACJnC,EAAgBoC,KAAMH,GACtB,IAAK,IAAII,EAAOC,UAAUnD,OAAQoD,EAAO,IAAIvD,MAAMqD,GAAOG,EAAO,EAAGA,EAAOH,EAAMG,IAAQ,CACvFD,EAAKC,GAAQF,UAAUE,EACzB,CACAL,EAAQ1B,EAAW2B,KAAMH,EAA0B,GAAGQ,OAAOF,IAC7DZ,EAAgBQ,EAAO,SAAU,CAAC,GAClCR,EAAgBQ,EAAO,UAAW,MAClC,OAAOA,CACT,CACAX,EAAUS,EAA0BC,GACpC,OAAO1B,EAAayB,EAA0B,CAAC,CAC7C1B,IAAK,eACLmC,IAAK,SAASA,IACZ,IAAIC,EAAe,GACnBjD,OAAOkD,QAAQR,KAAKS,QAAQC,QAAQ,SAAUC,GAC5C,IAAIC,EAAQ/E,EAAe8E,EAAM,GAC/BE,EAAQD,EAAM,GACdE,EAAWF,EAAM,GACnBL,GAAgB,GAAGF,OAAOQ,EAAO,MAAMR,OAAOS,EAASC,KAAK,MAAO,KACrE,GACA,OAAOR,EAAaS,MACtB,GACC,CACD7C,IAAK,QACLmC,IAAK,SAASA,IACZ,OAAO,IAAIW,MAAMjB,KAAKO,aACxB,IACE,CAAC,CACHpC,IAAK,KACLV,MAAO,SAASyD,EAAG9F,GACjB,IAAKwE,EAAesB,GAAG9F,GAAM,OAAO,MACpC,IAAI+F,EAAY/F,EAChB,MAAO,WAAY+F,GAAa5F,EAAQ4F,EAAUV,UAAY,UAAYU,EAAUV,SAAW,IACjG,IAEJ,CAtC4C,CAsC1Cb,GACF,OAAOC,CACT","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=IProblemDetails.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IProblemDetails.js","names":[],"sources":["IProblemDetails-dbg.js"],"mappings":"AAAA","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=IValidationProblemDetails.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IValidationProblemDetails.js","names":[],"sources":["IValidationProblemDetails-dbg.js"],"mappings":"AAAA","ignoreList":[]}
package/package.json CHANGED
@@ -3,13 +3,13 @@
3
3
  "main": "dist/index.js",
4
4
  "module": "NodeNext",
5
5
  "moduleResolution": "NodeNext",
6
- "version": "1.0.2",
6
+ "version": "1.0.4",
7
7
  "description": "",
8
8
  "types": "dist/index.d.ts",
9
9
  "scripts": {
10
10
  "copy:forprod": "copyfiles --all src-gen/**/* src-gen/computec/appengine/uibase --up 1 && node scripts/clean-except.js",
11
- "start": "node scripts/generate-index.js && tsc --build",
12
- "watch": "nodemon --watch src/ --ignore src/index.ts --ext js,ts --exec \"node scripts/generate-index.js && tsc --build\"",
11
+ "start": "tsc --build",
12
+ "watch": "nodemon --watch src/ --ignore src/index.ts --ext js,ts --exec \"tsc --build\"",
13
13
  "watch:ts": "babel src --out-dir src-gen --source-maps inline --extensions \".ts,.js\" --copy-files --include-dotfiles --config-file ./babel.config.json --presets=@babel/preset-env,transform-ui5,@babel/preset-typescript --watch",
14
14
  "docs": "typedoc --plugin typedoc-plugin-markdown && typedoc --out web-docs --theme default",
15
15
  "build": "npm run build:js && npm run build:ui5",
@@ -35,7 +35,7 @@
35
35
  "@babel/plugin-proposal-object-rest-spread": "^7.20.7",
36
36
  "@babel/preset-env": "^7.26.9",
37
37
  "@babel/preset-typescript": "^7.27.0",
38
- "@microsoft/signalr": "^8.0.7",
38
+ "@microsoft/signalr": "^8.0.0",
39
39
  "@sapui5/ts-types-esm": "^1.134.1",
40
40
  "@sapui5/types": "^1.134.1",
41
41
  "@types/chrome": "^0.0.317",
@@ -62,11 +62,7 @@
62
62
  "sinon": "^20.0.0",
63
63
  "ts-loader": "^9.5.2",
64
64
  "typedoc": "^0.28.3",
65
- "typescript": "^5.8.3",
66
- "webpack": "^5.99.5",
67
- "webpack-cli": "^6.0.1",
68
- "webpack-dev-server": "^5.2.1",
69
- "webpack-watched-glob-entries-plugin": "^3.0.2"
65
+ "typescript": "^5.8.3"
70
66
  },
71
67
  "exports": {
72
68
  ".": {
@@ -89,4 +85,4 @@
89
85
  "dependencies": {
90
86
  "typedoc-plugin-markdown": "^4.6.2"
91
87
  }
92
- }
88
+ }
@@ -1,43 +0,0 @@
1
- "use strict";
2
-
3
- sap.ui.define(["./communication/HttpClient", "./communication/HttpClientCacheOptions", "./communication/IBaseHttpClientOptions", "./helpers/ErrorHelper", "./helpers/HttpClientHelper", "./models/AppEngineException", "./models/BaseBusinessObject", "./models/enums/HeadersContentTypeEnum", "./models/enums/StorageTypeEnum", "./models/interfaces/IAppEngineException", "./models/LocalStorage", "./models/Session"], function (___communication_HttpClient, ___communication_HttpClientCacheOptions, ___communication_IBaseHttpClientOptions, ___helpers_ErrorHelper, ___helpers_HttpClientHelper, ___models_AppEngineException, ___models_BaseBusinessObject, ___models_enums_HeadersContentTypeEnum, ___models_enums_StorageTypeEnum, ___models_interfaces_IAppEngineException, ___models_LocalStorage, ___models_Session) {
4
- "use strict";
5
-
6
- var __exports = {
7
- __esModule: true
8
- };
9
- __exports.HttpClient = ___communication_HttpClient.default;
10
- function extendExports(exports, obj) {
11
- obj && Object.keys(obj).forEach(function (key) {
12
- if (key === "default" || key === "__esModule") return;
13
- Object.defineProperty(exports, key, {
14
- enumerable: true,
15
- get: function get() {
16
- return obj[key];
17
- }
18
- });
19
- });
20
- }
21
- extendExports(__exports, ___communication_HttpClient);
22
- __exports.HttpClientCacheOptions = ___communication_HttpClientCacheOptions.default;
23
- extendExports(__exports, ___communication_HttpClientCacheOptions);
24
- extendExports(__exports, ___communication_IBaseHttpClientOptions);
25
- __exports.ErrorHelper = ___helpers_ErrorHelper.default;
26
- extendExports(__exports, ___helpers_ErrorHelper);
27
- __exports.HttpClientHelper = ___helpers_HttpClientHelper.default;
28
- extendExports(__exports, ___helpers_HttpClientHelper);
29
- __exports.AppEngineException = ___models_AppEngineException.default;
30
- extendExports(__exports, ___models_AppEngineException);
31
- __exports.BaseBusinessObject = ___models_BaseBusinessObject.default;
32
- extendExports(__exports, ___models_BaseBusinessObject);
33
- __exports.HeadersContentTypeEnum = ___models_enums_HeadersContentTypeEnum.default;
34
- extendExports(__exports, ___models_enums_HeadersContentTypeEnum);
35
- extendExports(__exports, ___models_enums_StorageTypeEnum);
36
- __exports.IAppEngineException = ___models_interfaces_IAppEngineException.default;
37
- extendExports(__exports, ___models_interfaces_IAppEngineException);
38
- __exports.LocalStorage = ___models_LocalStorage.default;
39
- extendExports(__exports, ___models_LocalStorage);
40
- __exports.Session = ___models_Session.default;
41
- extendExports(__exports, ___models_Session);
42
- return __exports;
43
- });
@@ -1,2 +0,0 @@
1
- "use strict";sap.ui.define(["./communication/HttpClient","./communication/HttpClientCacheOptions","./communication/IBaseHttpClientOptions","./helpers/ErrorHelper","./helpers/HttpClientHelper","./models/AppEngineException","./models/BaseBusinessObject","./models/enums/HeadersContentTypeEnum","./models/enums/StorageTypeEnum","./models/interfaces/IAppEngineException","./models/LocalStorage","./models/Session"],function(e,t,n,i,o,s,l,u,p,r,a,c){"use strict";var d={__esModule:true};d.HttpClient=e.default;function f(e,t){t&&Object.keys(t).forEach(function(n){if(n==="default"||n==="__esModule")return;Object.defineProperty(e,n,{enumerable:true,get:function e(){return t[n]}})})}f(d,e);d.HttpClientCacheOptions=t.default;f(d,t);f(d,n);d.ErrorHelper=i.default;f(d,i);d.HttpClientHelper=o.default;f(d,o);d.AppEngineException=s.default;f(d,s);d.BaseBusinessObject=l.default;f(d,l);d.HeadersContentTypeEnum=u.default;f(d,u);f(d,p);d.IAppEngineException=r.default;f(d,r);d.LocalStorage=a.default;f(d,a);d.Session=c.default;f(d,c);return d});
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":["sap","ui","define","___communication_HttpClient","___communication_HttpClientCacheOptions","___communication_IBaseHttpClientOptions","___helpers_ErrorHelper","___helpers_HttpClientHelper","___models_AppEngineException","___models_BaseBusinessObject","___models_enums_HeadersContentTypeEnum","___models_enums_StorageTypeEnum","___models_interfaces_IAppEngineException","___models_LocalStorage","___models_Session","__exports","__esModule","HttpClient","default","extendExports","exports","obj","Object","keys","forEach","key","defineProperty","enumerable","get","HttpClientCacheOptions","ErrorHelper","HttpClientHelper","AppEngineException","BaseBusinessObject","HeadersContentTypeEnum","IAppEngineException","LocalStorage","Session"],"sources":["index-dbg.js"],"mappings":"AAAA,aAEAA,IAAIC,GAAGC,OAAO,CAAC,6BAA8B,yCAA0C,yCAA0C,wBAAyB,6BAA8B,8BAA+B,8BAA+B,wCAAyC,iCAAkC,0CAA2C,wBAAyB,oBAAqB,SAAUC,EAA6BC,EAAyCC,EAAyCC,EAAwBC,EAA6BC,EAA8BC,EAA8BC,EAAwCC,EAAiCC,EAA0CC,EAAwBC,GAC7wB,aAEA,IAAIC,EAAY,CACdC,WAAY,MAEdD,EAAUE,WAAad,EAA4Be,QACnD,SAASC,EAAcC,EAASC,GAC9BA,GAAOC,OAAOC,KAAKF,GAAKG,QAAQ,SAAUC,GACxC,GAAIA,IAAQ,WAAaA,IAAQ,aAAc,OAC/CH,OAAOI,eAAeN,EAASK,EAAK,CAClCE,WAAY,KACZC,IAAK,SAASA,IACZ,OAAOP,EAAII,EACb,GAEJ,EACF,CACAN,EAAcJ,EAAWZ,GACzBY,EAAUc,uBAAyBzB,EAAwCc,QAC3EC,EAAcJ,EAAWX,GACzBe,EAAcJ,EAAWV,GACzBU,EAAUe,YAAcxB,EAAuBY,QAC/CC,EAAcJ,EAAWT,GACzBS,EAAUgB,iBAAmBxB,EAA4BW,QACzDC,EAAcJ,EAAWR,GACzBQ,EAAUiB,mBAAqBxB,EAA6BU,QAC5DC,EAAcJ,EAAWP,GACzBO,EAAUkB,mBAAqBxB,EAA6BS,QAC5DC,EAAcJ,EAAWN,GACzBM,EAAUmB,uBAAyBxB,EAAuCQ,QAC1EC,EAAcJ,EAAWL,GACzBS,EAAcJ,EAAWJ,GACzBI,EAAUoB,oBAAsBvB,EAAyCM,QACzEC,EAAcJ,EAAWH,GACzBG,EAAUqB,aAAevB,EAAuBK,QAChDC,EAAcJ,EAAWF,GACzBE,EAAUsB,QAAUvB,EAAkBI,QACtCC,EAAcJ,EAAWD,GACzB,OAAOC,CACT","ignoreList":[]}