@computec/uibase 1.0.7 → 1.0.9

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.
@@ -0,0 +1,52 @@
1
+ /**
2
+ * Helper for navigating from UIAPI Web Client extensions to AppEngine plugin routes.
3
+ *
4
+ * AppEngine plugins are opened via the Web Client hash URL format:
5
+ * `#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/{pluginId},{route}/{pluginName}`
6
+ *
7
+ * Routes containing path separators (e.g. `ctp/4/0`) must be double-encoded
8
+ * so that both the browser and the SAPUI5 router decode them correctly.
9
+ */
10
+ export default class NavigationHelper {
11
+ private static readonly HASH_PREFIX;
12
+ /**
13
+ * Build the full Web Client hash URL for navigating to an AppEngine plugin route.
14
+ *
15
+ * @param pluginId The plugin identifier (e.g. `"MRP"`)
16
+ * @param route The SAPUI5 route path including parameters (e.g. `"ctp/4/0"`, `"wizard"`)
17
+ * @param pluginName Optional display name; defaults to `pluginId`
18
+ * @returns The complete hash URL string
19
+ *
20
+ * @example
21
+ * ```typescript
22
+ * NavigationHelper.buildPluginUrl("MRP", "ctp/4/0");
23
+ * // => "#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/MRP,ctp%252F4%252F0/MRP"
24
+ *
25
+ * NavigationHelper.buildPluginUrl("MRP", "wizard");
26
+ * // => "#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/MRP,wizard/MRP"
27
+ * ```
28
+ */
29
+ static buildPluginUrl(pluginId: string, route: string, pluginName?: string): string;
30
+ /**
31
+ * Navigate to an AppEngine plugin route using the SDKEnv `open` method.
32
+ *
33
+ * @param openFn A function that opens a URL — typically `oEnv.open.bind(oEnv)` or `(url) => oEnv.open(url)`
34
+ * @param pluginId The plugin identifier (e.g. `"MRP"`)
35
+ * @param route The SAPUI5 route path including parameters (e.g. `"ctp/4/0"`)
36
+ * @param pluginName Optional display name; defaults to `pluginId`
37
+ *
38
+ * @example
39
+ * ```typescript
40
+ * // In a UIAPI controller:
41
+ * import { NavigationHelper } from "@computec/uibase";
42
+ *
43
+ * await NavigationHelper.openPlugin(
44
+ * (url) => oEnv.open(url),
45
+ * "MRP",
46
+ * `ctp/${docEntry}/${lineNum}`
47
+ * );
48
+ * ```
49
+ */
50
+ static openPlugin(openFn: (url: string) => Promise<void>, pluginId: string, route: string, pluginName?: string): Promise<void>;
51
+ }
52
+ //# sourceMappingURL=NavigationHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavigationHelper.d.ts","sourceRoot":"","sources":["../../src/helpers/NavigationHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,gBAAgB;IACpC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,WAAW,CACyB;IAE5D;;;;;;;;;;;;;;;;OAgBG;WACW,cAAc,CAC3B,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,UAAU,CAAC,EAAE,MAAM,GACjB,MAAM;IAKT;;;;;;;;;;;;;;;;;;;OAmBG;WACiB,UAAU,CAC7B,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,EACtC,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,UAAU,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,IAAI,CAAC;CAIhB"}
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ /**
13
+ * Helper for navigating from UIAPI Web Client extensions to AppEngine plugin routes.
14
+ *
15
+ * AppEngine plugins are opened via the Web Client hash URL format:
16
+ * `#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/{pluginId},{route}/{pluginName}`
17
+ *
18
+ * Routes containing path separators (e.g. `ctp/4/0`) must be double-encoded
19
+ * so that both the browser and the SAPUI5 router decode them correctly.
20
+ */
21
+ class NavigationHelper {
22
+ /**
23
+ * Build the full Web Client hash URL for navigating to an AppEngine plugin route.
24
+ *
25
+ * @param pluginId The plugin identifier (e.g. `"MRP"`)
26
+ * @param route The SAPUI5 route path including parameters (e.g. `"ctp/4/0"`, `"wizard"`)
27
+ * @param pluginName Optional display name; defaults to `pluginId`
28
+ * @returns The complete hash URL string
29
+ *
30
+ * @example
31
+ * ```typescript
32
+ * NavigationHelper.buildPluginUrl("MRP", "ctp/4/0");
33
+ * // => "#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/MRP,ctp%252F4%252F0/MRP"
34
+ *
35
+ * NavigationHelper.buildPluginUrl("MRP", "wizard");
36
+ * // => "#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/MRP,wizard/MRP"
37
+ * ```
38
+ */
39
+ static buildPluginUrl(pluginId, route, pluginName) {
40
+ const encodedRoute = encodeURIComponent(encodeURIComponent(route));
41
+ return `${NavigationHelper.HASH_PREFIX}&/${pluginId},${encodedRoute}/${pluginName !== null && pluginName !== void 0 ? pluginName : pluginId}`;
42
+ }
43
+ /**
44
+ * Navigate to an AppEngine plugin route using the SDKEnv `open` method.
45
+ *
46
+ * @param openFn A function that opens a URL — typically `oEnv.open.bind(oEnv)` or `(url) => oEnv.open(url)`
47
+ * @param pluginId The plugin identifier (e.g. `"MRP"`)
48
+ * @param route The SAPUI5 route path including parameters (e.g. `"ctp/4/0"`)
49
+ * @param pluginName Optional display name; defaults to `pluginId`
50
+ *
51
+ * @example
52
+ * ```typescript
53
+ * // In a UIAPI controller:
54
+ * import { NavigationHelper } from "@computec/uibase";
55
+ *
56
+ * await NavigationHelper.openPlugin(
57
+ * (url) => oEnv.open(url),
58
+ * "MRP",
59
+ * `ctp/${docEntry}/${lineNum}`
60
+ * );
61
+ * ```
62
+ */
63
+ static openPlugin(openFn, pluginId, route, pluginName) {
64
+ return __awaiter(this, void 0, void 0, function* () {
65
+ const url = NavigationHelper.buildPluginUrl(pluginId, route, pluginName);
66
+ yield openFn(url);
67
+ });
68
+ }
69
+ }
70
+ NavigationHelper.HASH_PREFIX = "#webclient-CompuTecWebClientStart-CompuTecWebClientStart";
71
+ exports.default = NavigationHelper;
@@ -0,0 +1,52 @@
1
+ /**
2
+ * Helper for navigating from UIAPI Web Client extensions to AppEngine plugin routes.
3
+ *
4
+ * AppEngine plugins are opened via the Web Client hash URL format:
5
+ * `#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/{pluginId},{route}/{pluginName}`
6
+ *
7
+ * Routes containing path separators (e.g. `ctp/4/0`) must be double-encoded
8
+ * so that both the browser and the SAPUI5 router decode them correctly.
9
+ */
10
+ export default class WebClientNavigationHelper {
11
+ private static readonly HASH_PREFIX;
12
+ /**
13
+ * Build the full Web Client hash URL for navigating to an AppEngine plugin route.
14
+ *
15
+ * @param pluginId The plugin identifier (e.g. `"MRP"`)
16
+ * @param route The SAPUI5 route path including parameters (e.g. `"ctp/4/0"`, `"wizard"`)
17
+ * @param pluginName Optional display name; defaults to `pluginId`
18
+ * @returns The complete hash URL string
19
+ *
20
+ * @example
21
+ * ```typescript
22
+ * WebClientNavigationHelper.buildPluginUrl("MRP", "ctp/4/0");
23
+ * // => "#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/MRP,ctp%252F4%252F0/MRP"
24
+ *
25
+ * WebClientNavigationHelper.buildPluginUrl("MRP", "wizard");
26
+ * // => "#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/MRP,wizard/MRP"
27
+ * ```
28
+ */
29
+ static buildPluginUrl(pluginId: string, route: string, pluginName?: string): string;
30
+ /**
31
+ * Navigate to an AppEngine plugin route using the SDKEnv `open` method.
32
+ *
33
+ * @param openFn A function that opens a URL — typically `oEnv.open.bind(oEnv)` or `(url) => oEnv.open(url)`
34
+ * @param pluginId The plugin identifier (e.g. `"MRP"`)
35
+ * @param route The SAPUI5 route path including parameters (e.g. `"ctp/4/0"`)
36
+ * @param pluginName Optional display name; defaults to `pluginId`
37
+ *
38
+ * @example
39
+ * ```typescript
40
+ * // In a UIAPI controller:
41
+ * import { WebClientNavigationHelper } from "@computec/uibase";
42
+ *
43
+ * await WebClientNavigationHelper.openPlugin(
44
+ * (url) => oEnv.open(url),
45
+ * "MRP",
46
+ * `ctp/${docEntry}/${lineNum}`
47
+ * );
48
+ * ```
49
+ */
50
+ static openPlugin(openFn: (url: string) => Promise<void>, pluginId: string, route: string, pluginName?: string): Promise<void>;
51
+ }
52
+ //# sourceMappingURL=WebClientNavigationHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WebClientNavigationHelper.d.ts","sourceRoot":"","sources":["../../src/helpers/WebClientNavigationHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,yBAAyB;IAC7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,WAAW,CACyB;IAE5D;;;;;;;;;;;;;;;;OAgBG;WACW,cAAc,CAC3B,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,UAAU,CAAC,EAAE,MAAM,GACjB,MAAM;IAKT;;;;;;;;;;;;;;;;;;;OAmBG;WACiB,UAAU,CAC7B,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,EACtC,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,UAAU,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,IAAI,CAAC;CAIhB"}
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ /**
13
+ * Helper for navigating from UIAPI Web Client extensions to AppEngine plugin routes.
14
+ *
15
+ * AppEngine plugins are opened via the Web Client hash URL format:
16
+ * `#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/{pluginId},{route}/{pluginName}`
17
+ *
18
+ * Routes containing path separators (e.g. `ctp/4/0`) must be double-encoded
19
+ * so that both the browser and the SAPUI5 router decode them correctly.
20
+ */
21
+ class WebClientNavigationHelper {
22
+ /**
23
+ * Build the full Web Client hash URL for navigating to an AppEngine plugin route.
24
+ *
25
+ * @param pluginId The plugin identifier (e.g. `"MRP"`)
26
+ * @param route The SAPUI5 route path including parameters (e.g. `"ctp/4/0"`, `"wizard"`)
27
+ * @param pluginName Optional display name; defaults to `pluginId`
28
+ * @returns The complete hash URL string
29
+ *
30
+ * @example
31
+ * ```typescript
32
+ * WebClientNavigationHelper.buildPluginUrl("MRP", "ctp/4/0");
33
+ * // => "#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/MRP,ctp%252F4%252F0/MRP"
34
+ *
35
+ * WebClientNavigationHelper.buildPluginUrl("MRP", "wizard");
36
+ * // => "#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/MRP,wizard/MRP"
37
+ * ```
38
+ */
39
+ static buildPluginUrl(pluginId, route, pluginName) {
40
+ const encodedRoute = encodeURIComponent(encodeURIComponent(route));
41
+ return `${WebClientNavigationHelper.HASH_PREFIX}&/${pluginId},${encodedRoute}/${pluginName !== null && pluginName !== void 0 ? pluginName : pluginId}`;
42
+ }
43
+ /**
44
+ * Navigate to an AppEngine plugin route using the SDKEnv `open` method.
45
+ *
46
+ * @param openFn A function that opens a URL — typically `oEnv.open.bind(oEnv)` or `(url) => oEnv.open(url)`
47
+ * @param pluginId The plugin identifier (e.g. `"MRP"`)
48
+ * @param route The SAPUI5 route path including parameters (e.g. `"ctp/4/0"`)
49
+ * @param pluginName Optional display name; defaults to `pluginId`
50
+ *
51
+ * @example
52
+ * ```typescript
53
+ * // In a UIAPI controller:
54
+ * import { WebClientNavigationHelper } from "@computec/uibase";
55
+ *
56
+ * await WebClientNavigationHelper.openPlugin(
57
+ * (url) => oEnv.open(url),
58
+ * "MRP",
59
+ * `ctp/${docEntry}/${lineNum}`
60
+ * );
61
+ * ```
62
+ */
63
+ static openPlugin(openFn, pluginId, route, pluginName) {
64
+ return __awaiter(this, void 0, void 0, function* () {
65
+ const url = WebClientNavigationHelper.buildPluginUrl(pluginId, route, pluginName);
66
+ yield openFn(url);
67
+ });
68
+ }
69
+ }
70
+ WebClientNavigationHelper.HASH_PREFIX = "#webclient-CompuTecWebClientStart-CompuTecWebClientStart";
71
+ exports.default = WebClientNavigationHelper;
package/dist/index.d.ts CHANGED
@@ -7,6 +7,8 @@ export { default as ErrorHelper } from './helpers/ErrorHelper';
7
7
  export * from './helpers/ErrorHelper';
8
8
  export { default as HttpClientHelper } from './helpers/HttpClientHelper';
9
9
  export * from './helpers/HttpClientHelper';
10
+ export { default as WebClientNavigationHelper } from './helpers/WebClientNavigationHelper';
11
+ export * from './helpers/WebClientNavigationHelper';
10
12
  export { default as AppEngineConfiguration } from './models/AppEngineConfiguration';
11
13
  export * from './models/AppEngineConfiguration';
12
14
  export { default as AppEngineException } from './models/AppEngineException';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAA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BAAsB,CAAC;AAC9D,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC1F,cAAc,uCAAuC,CAAC;AACtD,cAAc,gCAAgC,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACjG,cAAc,6CAA6C,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AACzF,cAAc,yCAAyC,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAChE,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACtD,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACxD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACtD,cAAc,kBAAkB,CAAC"}
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
17
17
  return (mod && mod.__esModule) ? mod : { "default": mod };
18
18
  };
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.Version = exports.UserInfo = exports.Session = exports.LocalStorage = exports.HeadersContentTypeEnum = exports.CompanyInfo = exports.BaseBusinessObject = exports.DocumentedException = exports.AppEngineException = exports.AppEngineConfiguration = exports.HttpClientHelper = exports.ErrorHelper = exports.HttpClientCacheOptions = exports.HttpClient = void 0;
20
+ exports.Version = exports.UserInfo = exports.Session = exports.LocalStorage = exports.HeadersContentTypeEnum = exports.CompanyInfo = exports.BaseBusinessObject = exports.DocumentedException = exports.AppEngineException = exports.AppEngineConfiguration = exports.WebClientNavigationHelper = exports.HttpClientHelper = exports.ErrorHelper = exports.HttpClientCacheOptions = exports.HttpClient = void 0;
21
21
  var HttpClient_1 = require("./communication/HttpClient");
22
22
  Object.defineProperty(exports, "HttpClient", { enumerable: true, get: function () { return __importDefault(HttpClient_1).default; } });
23
23
  __exportStar(require("./communication/HttpClient"), exports);
@@ -31,6 +31,9 @@ __exportStar(require("./helpers/ErrorHelper"), exports);
31
31
  var HttpClientHelper_1 = require("./helpers/HttpClientHelper");
32
32
  Object.defineProperty(exports, "HttpClientHelper", { enumerable: true, get: function () { return __importDefault(HttpClientHelper_1).default; } });
33
33
  __exportStar(require("./helpers/HttpClientHelper"), exports);
34
+ var WebClientNavigationHelper_1 = require("./helpers/WebClientNavigationHelper");
35
+ Object.defineProperty(exports, "WebClientNavigationHelper", { enumerable: true, get: function () { return __importDefault(WebClientNavigationHelper_1).default; } });
36
+ __exportStar(require("./helpers/WebClientNavigationHelper"), exports);
34
37
  var AppEngineConfiguration_1 = require("./models/AppEngineConfiguration");
35
38
  Object.defineProperty(exports, "AppEngineConfiguration", { enumerable: true, get: function () { return __importDefault(AppEngineConfiguration_1).default; } });
36
39
  __exportStar(require("./models/AppEngineConfiguration"), exports);
@@ -2,7 +2,7 @@
2
2
  <library xmlns="http://www.sap.com/sap.ui.library.xsd">
3
3
  <name>computec.appengine.uibase</name>
4
4
  <vendor>CompuTec S.A.</vendor>
5
- <version>1.0.7</version>
5
+ <version>1.0.9</version>
6
6
  <copyright>Copyright (c) CompuTec S.A.2025</copyright>
7
7
  <title>uibase</title>
8
8
  <documentation>Core library required by AppEngine plugins</documentation>
@@ -0,0 +1,100 @@
1
+ "use strict";
2
+
3
+ sap.ui.define([], function () {
4
+ "use strict";
5
+
6
+ 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
+ function _regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return _regeneratorDefine(u, "_invoke", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function (t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError("Generator is already running"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); try { if (f = 2, i) { if (c || (o = "next"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine(u), _regeneratorDefine(u, o, "Generator"), _regeneratorDefine(u, n, function () { return this; }), _regeneratorDefine(u, "toString", function () { return "[object Generator]"; }), (_regenerator = function () { return { w: i, m: f }; })(); }
8
+ function _regeneratorDefine(e, r, n, t) { var i = Object.defineProperty; try { i({}, "", {}); } catch (e) { i = 0; } _regeneratorDefine = function (e, r, n, t) { function o(r, n) { _regeneratorDefine(e, r, function (e) { return this._invoke(r, n, e); }); } r ? i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2)); }, _regeneratorDefine(e, r, n, t); }
9
+ function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
10
+ function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
11
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
12
+ 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); } }
13
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
14
+ 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; }
15
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
16
+ 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); }
17
+ /**
18
+ * Helper for navigating from UIAPI Web Client extensions to AppEngine plugin routes.
19
+ *
20
+ * AppEngine plugins are opened via the Web Client hash URL format:
21
+ * `#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/{pluginId},{route}/{pluginName}`
22
+ *
23
+ * Routes containing path separators (e.g. `ctp/4/0`) must be double-encoded
24
+ * so that both the browser and the SAPUI5 router decode them correctly.
25
+ */
26
+ var WebClientNavigationHelper = /*#__PURE__*/function () {
27
+ function WebClientNavigationHelper() {
28
+ _classCallCheck(this, WebClientNavigationHelper);
29
+ }
30
+ return _createClass(WebClientNavigationHelper, null, [{
31
+ key: "buildPluginUrl",
32
+ value:
33
+ /**
34
+ * Build the full Web Client hash URL for navigating to an AppEngine plugin route.
35
+ *
36
+ * @param pluginId The plugin identifier (e.g. `"MRP"`)
37
+ * @param route The SAPUI5 route path including parameters (e.g. `"ctp/4/0"`, `"wizard"`)
38
+ * @param pluginName Optional display name; defaults to `pluginId`
39
+ * @returns The complete hash URL string
40
+ *
41
+ * @example
42
+ * ```typescript
43
+ * WebClientNavigationHelper.buildPluginUrl("MRP", "ctp/4/0");
44
+ * // => "#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/MRP,ctp%252F4%252F0/MRP"
45
+ *
46
+ * WebClientNavigationHelper.buildPluginUrl("MRP", "wizard");
47
+ * // => "#webclient-CompuTecWebClientStart-CompuTecWebClientStart&/MRP,wizard/MRP"
48
+ * ```
49
+ */
50
+ function buildPluginUrl(pluginId, route, pluginName) {
51
+ var encodedRoute = encodeURIComponent(encodeURIComponent(route));
52
+ return "".concat(WebClientNavigationHelper.HASH_PREFIX, "&/").concat(pluginId, ",").concat(encodedRoute, "/").concat(pluginName !== null && pluginName !== void 0 ? pluginName : pluginId);
53
+ }
54
+
55
+ /**
56
+ * Navigate to an AppEngine plugin route using the SDKEnv `open` method.
57
+ *
58
+ * @param openFn A function that opens a URL — typically `oEnv.open.bind(oEnv)` or `(url) => oEnv.open(url)`
59
+ * @param pluginId The plugin identifier (e.g. `"MRP"`)
60
+ * @param route The SAPUI5 route path including parameters (e.g. `"ctp/4/0"`)
61
+ * @param pluginName Optional display name; defaults to `pluginId`
62
+ *
63
+ * @example
64
+ * ```typescript
65
+ * // In a UIAPI controller:
66
+ * import { WebClientNavigationHelper } from "@computec/uibase";
67
+ *
68
+ * await WebClientNavigationHelper.openPlugin(
69
+ * (url) => oEnv.open(url),
70
+ * "MRP",
71
+ * `ctp/${docEntry}/${lineNum}`
72
+ * );
73
+ * ```
74
+ */
75
+ }, {
76
+ key: "openPlugin",
77
+ value: (function () {
78
+ var _openPlugin = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(openFn, pluginId, route, pluginName) {
79
+ var url;
80
+ return _regenerator().w(function (_context) {
81
+ while (1) switch (_context.n) {
82
+ case 0:
83
+ url = WebClientNavigationHelper.buildPluginUrl(pluginId, route, pluginName);
84
+ _context.n = 1;
85
+ return openFn(url);
86
+ case 1:
87
+ return _context.a(2);
88
+ }
89
+ }, _callee);
90
+ }));
91
+ function openPlugin(_x, _x2, _x3, _x4) {
92
+ return _openPlugin.apply(this, arguments);
93
+ }
94
+ return openPlugin;
95
+ }())
96
+ }]);
97
+ }();
98
+ _defineProperty(WebClientNavigationHelper, "HASH_PREFIX", "#webclient-CompuTecWebClientStart-CompuTecWebClientStart");
99
+ return WebClientNavigationHelper;
100
+ });
@@ -0,0 +1,2 @@
1
+ "use strict";sap.ui.define([],function(){"use strict";function t(n){"@babel/helpers - typeof";return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(n)}function n(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,e,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",u=o.toStringTag||"@@toStringTag";function c(n,o,i,u){var c=o&&o.prototype instanceof f?o:f,l=Object.create(c.prototype);return r(l,"_invoke",function(n,r,o){var i,u,c,f=0,l=o||[],p=!1,y={p:0,n:0,v:t,a:b,f:b.bind(t,4),d:function(n,r){return i=n,u=0,c=t,y.n=r,a}};function b(n,r){for(u=n,c=r,e=0;!p&&f&&!o&&e<l.length;e++){var o,i=l[e],b=y.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=t):i[0]<=b&&((o=n<2&&b<i[1])?(u=0,y.v=r,y.n=i[1]):b<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,y.n=v,u=0))}if(o||n>1)return a;throw p=!0,r}return function(o,l,v){if(f>1)throw TypeError("Generator is already running");for(p&&1===l&&b(l,v),u=l,c=v;(e=u<2?t:c)||!p;){i||(u?u<3?(u>1&&(y.n=-1),b(u,c)):y.n=c:y.v=c);try{if(f=2,i){if(u||(o="next"),e=i[o]){if(!(e=e.call(i,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,u<2&&(u=0)}else 1===u&&(e=i.return)&&e.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=t}else if((e=(p=y.n<0)?c:n.call(r,y))!==a)break}catch(n){i=t,u=1,c=n}finally{f=1}}return{value:e,done:p}}}(n,i,u),!0),l}var a={};function f(){}function l(){}function p(){}e=Object.getPrototypeOf;var y=[][i]?e(e([][i]())):(r(e={},i,function(){return this}),e),b=p.prototype=f.prototype=Object.create(y);function v(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,r(t,u,"GeneratorFunction")),t.prototype=Object.create(b),t}return l.prototype=p,r(b,"constructor",p),r(p,"constructor",l),l.displayName="GeneratorFunction",r(p,u,"GeneratorFunction"),r(b),r(b,u,"Generator"),r(b,i,function(){return this}),r(b,"toString",function(){return"[object Generator]"}),(n=function(){return{w:c,m:v}})()}function r(t,n,e,o){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}r=function(t,n,e,o){function u(n,e){r(t,n,function(t){return this._invoke(n,e,t)})}n?i?i(t,n,{value:e,enumerable:!o,configurable:!o,writable:!o}):t[n]=e:(u("next",0),u("throw",1),u("return",2))},r(t,n,e,o)}function e(t,n,r,e,o,i,u){try{var c=t[i](u),a=c.value}catch(t){return void r(t)}c.done?n(a):Promise.resolve(a).then(e,o)}function o(t){return function(){var n=this,r=arguments;return new Promise(function(o,i){var u=t.apply(n,r);function c(t){e(u,o,i,c,a,"next",t)}function a(t){e(u,o,i,c,a,"throw",t)}c(void 0)})}}function i(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function u(t,n){for(var r=0;r<n.length;r++){var e=n[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,f(e.key),e)}}function c(t,n,r){return n&&u(t.prototype,n),r&&u(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function a(t,n,r){return(n=f(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function f(t){var n=l(t,"string");return"symbol"==typeof n?n:n+""}function l(n,r){if("object"!=t(n)||!n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var o=e.call(n,r||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(n)}var p=function(){function t(){i(this,t)}return c(t,null,[{key:"buildPluginUrl",value:function n(r,e,o){var i=encodeURIComponent(encodeURIComponent(e));return"".concat(t.HASH_PREFIX,"&/").concat(r,",").concat(i,"/").concat(o!==null&&o!==void 0?o:r)}},{key:"openPlugin",value:function(){var r=o(n().m(function r(e,o,i,u){var c;return n().w(function(n){while(1)switch(n.n){case 0:c=t.buildPluginUrl(o,i,u);n.n=1;return e(c);case 1:return n.a(2)}},r)}));function e(t,n,e,o){return r.apply(this,arguments)}return e}()}])}();a(p,"HASH_PREFIX","#webclient-CompuTecWebClientStart-CompuTecWebClientStart");return p});
2
+ //# sourceMappingURL=WebClientNavigationHelper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WebClientNavigationHelper.js","names":["sap","ui","define","_typeof","o","Symbol","iterator","constructor","prototype","_regenerator","e","t","r","n","toStringTag","i","c","Generator","u","Object","create","_regeneratorDefine","f","p","y","G","v","a","d","bind","length","l","TypeError","call","done","value","return","GeneratorFunction","GeneratorFunctionPrototype","getPrototypeOf","this","setPrototypeOf","__proto__","displayName","w","m","defineProperty","_invoke","enumerable","configurable","writable","asyncGeneratorStep","Promise","resolve","then","_asyncToGenerator","arguments","apply","_next","_throw","_classCallCheck","_defineProperties","_toPropertyKey","key","_createClass","_defineProperty","_toPrimitive","toPrimitive","String","Number","WebClientNavigationHelper","buildPluginUrl","pluginId","route","pluginName","encodedRoute","encodeURIComponent","concat","HASH_PREFIX","_openPlugin","_callee","openFn","url","_context","openPlugin","_x","_x2","_x3","_x4"],"sources":["WebClientNavigationHelper-dbg.js"],"mappings":"AAAA,aAEAA,IAAIC,GAAGC,OAAO,GAAI,WAChB,aAEA,SAASC,EAAQC,GAAK,0BAA2B,OAAOD,EAAU,mBAAqBE,QAAU,iBAAmBA,OAAOC,SAAW,SAAUF,GAAK,cAAcA,CAAG,EAAI,SAAUA,GAA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1G,IAAIQ,EACJ,OAAOzE,IAAemC,EAAE,SAAUuC,GAChC,MAAO,SAAWA,EAAStE,GACzB,KAAK,EACHqE,EAAMZ,EAA0BC,eAAeC,EAAUC,EAAOC,GAChES,EAAStE,EAAI,EACb,OAAOoE,EAAOC,GAChB,KAAK,EACH,OAAOC,EAASxD,EAAE,GAExB,EAAGqD,EACL,IACA,SAASI,EAAWC,EAAIC,EAAKC,EAAKC,GAChC,OAAOT,EAAYtB,MAAMjB,KAAMgB,UACjC,CACA,OAAO4B,CACT,CAlBO,KAoBX,CAvE6C,GAwE7CnB,EAAgBK,EAA2B,cAAe,4DAC1D,OAAOA,CACT","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- sap.ui.define(["./communication/HttpClient", "./communication/HttpClientCacheOptions", "./communication/IBaseHttpClientOptions", "./helpers/ErrorHelper", "./helpers/HttpClientHelper", "./models/AppEngineConfiguration", "./models/AppEngineException", "./models/DocumentedException", "./models/BaseBusinessObject", "./models/CompanyInfo", "./models/enums/HeadersContentTypeEnum", "./models/enums/StorageTypeEnum", "./models/interfaces/IAppEngineConfiguration", "./models/interfaces/IAppEngineException", "./models/LocalStorage", "./models/Session", "./models/UserInfo", "./models/Version"], function (___communication_HttpClient, ___communication_HttpClientCacheOptions, ___communication_IBaseHttpClientOptions, ___helpers_ErrorHelper, ___helpers_HttpClientHelper, ___models_AppEngineConfiguration, ___models_AppEngineException, ___models_DocumentedException, ___models_BaseBusinessObject, ___models_CompanyInfo, ___models_enums_HeadersContentTypeEnum, ___models_enums_StorageTypeEnum, ___models_interfaces_IAppEngineConfiguration, ___models_interfaces_IAppEngineException, ___models_LocalStorage, ___models_Session, ___models_UserInfo, ___models_Version) {
3
+ sap.ui.define(["./communication/HttpClient", "./communication/HttpClientCacheOptions", "./communication/IBaseHttpClientOptions", "./helpers/ErrorHelper", "./helpers/HttpClientHelper", "./helpers/WebClientNavigationHelper", "./models/AppEngineConfiguration", "./models/AppEngineException", "./models/DocumentedException", "./models/BaseBusinessObject", "./models/CompanyInfo", "./models/enums/HeadersContentTypeEnum", "./models/enums/StorageTypeEnum", "./models/interfaces/IAppEngineConfiguration", "./models/interfaces/IAppEngineException", "./models/LocalStorage", "./models/Session", "./models/UserInfo", "./models/Version"], function (___communication_HttpClient, ___communication_HttpClientCacheOptions, ___communication_IBaseHttpClientOptions, ___helpers_ErrorHelper, ___helpers_HttpClientHelper, ___helpers_WebClientNavigationHelper, ___models_AppEngineConfiguration, ___models_AppEngineException, ___models_DocumentedException, ___models_BaseBusinessObject, ___models_CompanyInfo, ___models_enums_HeadersContentTypeEnum, ___models_enums_StorageTypeEnum, ___models_interfaces_IAppEngineConfiguration, ___models_interfaces_IAppEngineException, ___models_LocalStorage, ___models_Session, ___models_UserInfo, ___models_Version) {
4
4
  "use strict";
5
5
 
6
6
  var __exports = {
@@ -26,6 +26,8 @@ sap.ui.define(["./communication/HttpClient", "./communication/HttpClientCacheOpt
26
26
  extendExports(__exports, ___helpers_ErrorHelper);
27
27
  __exports.HttpClientHelper = ___helpers_HttpClientHelper.default;
28
28
  extendExports(__exports, ___helpers_HttpClientHelper);
29
+ __exports.WebClientNavigationHelper = ___helpers_WebClientNavigationHelper.default;
30
+ extendExports(__exports, ___helpers_WebClientNavigationHelper);
29
31
  __exports.AppEngineConfiguration = ___models_AppEngineConfiguration.default;
30
32
  extendExports(__exports, ___models_AppEngineConfiguration);
31
33
  __exports.AppEngineException = ___models_AppEngineException.default;
@@ -1,2 +1,2 @@
1
- "use strict";sap.ui.define(["./communication/HttpClient","./communication/HttpClientCacheOptions","./communication/IBaseHttpClientOptions","./helpers/ErrorHelper","./helpers/HttpClientHelper","./models/AppEngineConfiguration","./models/AppEngineException","./models/DocumentedException","./models/BaseBusinessObject","./models/CompanyInfo","./models/enums/HeadersContentTypeEnum","./models/enums/StorageTypeEnum","./models/interfaces/IAppEngineConfiguration","./models/interfaces/IAppEngineException","./models/LocalStorage","./models/Session","./models/UserInfo","./models/Version"],function(e,n,t,o,i,s,l,u,p,a,r,d,f,c,m,E,C,g){"use strict";var H={__esModule:true};H.HttpClient=e.default;function I(e,n){n&&Object.keys(n).forEach(function(t){if(t==="default"||t==="__esModule")return;Object.defineProperty(e,t,{enumerable:true,get:function e(){return n[t]}})})}I(H,e);H.HttpClientCacheOptions=n.default;I(H,n);I(H,t);H.ErrorHelper=o.default;I(H,o);H.HttpClientHelper=i.default;I(H,i);H.AppEngineConfiguration=s.default;I(H,s);H.AppEngineException=l.default;I(H,l);H.DocumentedException=u.default;I(H,u);H.BaseBusinessObject=p.default;I(H,p);H.CompanyInfo=a.default;I(H,a);H.HeadersContentTypeEnum=r.default;I(H,r);I(H,d);H.IAppEngineConfiguration=f.default;I(H,f);H.IAppEngineException=c.default;I(H,c);H.LocalStorage=m.default;I(H,m);H.Session=E.default;I(H,E);H.UserInfo=C.default;I(H,C);H.Version=g.default;I(H,g);return H});
1
+ "use strict";sap.ui.define(["./communication/HttpClient","./communication/HttpClientCacheOptions","./communication/IBaseHttpClientOptions","./helpers/ErrorHelper","./helpers/HttpClientHelper","./helpers/WebClientNavigationHelper","./models/AppEngineConfiguration","./models/AppEngineException","./models/DocumentedException","./models/BaseBusinessObject","./models/CompanyInfo","./models/enums/HeadersContentTypeEnum","./models/enums/StorageTypeEnum","./models/interfaces/IAppEngineConfiguration","./models/interfaces/IAppEngineException","./models/LocalStorage","./models/Session","./models/UserInfo","./models/Version"],function(e,n,t,o,i,l,s,a,u,p,r,d,f,c,m,E,C,g,H){"use strict";var I={__esModule:true};I.HttpClient=e.default;function A(e,n){n&&Object.keys(n).forEach(function(t){if(t==="default"||t==="__esModule")return;Object.defineProperty(e,t,{enumerable:true,get:function e(){return n[t]}})})}A(I,e);I.HttpClientCacheOptions=n.default;A(I,n);A(I,t);I.ErrorHelper=o.default;A(I,o);I.HttpClientHelper=i.default;A(I,i);I.WebClientNavigationHelper=l.default;A(I,l);I.AppEngineConfiguration=s.default;A(I,s);I.AppEngineException=a.default;A(I,a);I.DocumentedException=u.default;A(I,u);I.BaseBusinessObject=p.default;A(I,p);I.CompanyInfo=r.default;A(I,r);I.HeadersContentTypeEnum=d.default;A(I,d);A(I,f);I.IAppEngineConfiguration=c.default;A(I,c);I.IAppEngineException=m.default;A(I,m);I.LocalStorage=E.default;A(I,E);I.Session=C.default;A(I,C);I.UserInfo=g.default;A(I,g);I.Version=H.default;A(I,H);return I});
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["sap","ui","define","___communication_HttpClient","___communication_HttpClientCacheOptions","___communication_IBaseHttpClientOptions","___helpers_ErrorHelper","___helpers_HttpClientHelper","___models_AppEngineConfiguration","___models_AppEngineException","___models_DocumentedException","___models_BaseBusinessObject","___models_CompanyInfo","___models_enums_HeadersContentTypeEnum","___models_enums_StorageTypeEnum","___models_interfaces_IAppEngineConfiguration","___models_interfaces_IAppEngineException","___models_LocalStorage","___models_Session","___models_UserInfo","___models_Version","__exports","__esModule","HttpClient","default","extendExports","exports","obj","Object","keys","forEach","key","defineProperty","enumerable","get","HttpClientCacheOptions","ErrorHelper","HttpClientHelper","AppEngineConfiguration","AppEngineException","DocumentedException","BaseBusinessObject","CompanyInfo","HeadersContentTypeEnum","IAppEngineConfiguration","IAppEngineException","LocalStorage","Session","UserInfo","Version"],"sources":["index-dbg.js"],"mappings":"AAAA,aAEAA,IAAIC,GAAGC,OAAO,CAAC,6BAA8B,yCAA0C,yCAA0C,wBAAyB,6BAA8B,kCAAmC,8BAA+B,+BAAgC,8BAA+B,uBAAwB,wCAAyC,iCAAkC,8CAA+C,0CAA2C,wBAAyB,mBAAoB,oBAAqB,oBAAqB,SAAUC,EAA6BC,EAAyCC,EAAyCC,EAAwBC,EAA6BC,EAAkCC,EAA8BC,EAA+BC,EAA8BC,EAAuBC,EAAwCC,EAAiCC,EAA8CC,EAA0CC,EAAwBC,EAAmBC,EAAoBC,GAC7mC,aAEA,IAAIC,EAAY,CACdC,WAAY,MAEd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"file":"index.js","names":["sap","ui","define","___communication_HttpClient","___communication_HttpClientCacheOptions","___communication_IBaseHttpClientOptions","___helpers_ErrorHelper","___helpers_HttpClientHelper","___helpers_WebClientNavigationHelper","___models_AppEngineConfiguration","___models_AppEngineException","___models_DocumentedException","___models_BaseBusinessObject","___models_CompanyInfo","___models_enums_HeadersContentTypeEnum","___models_enums_StorageTypeEnum","___models_interfaces_IAppEngineConfiguration","___models_interfaces_IAppEngineException","___models_LocalStorage","___models_Session","___models_UserInfo","___models_Version","__exports","__esModule","HttpClient","default","extendExports","exports","obj","Object","keys","forEach","key","defineProperty","enumerable","get","HttpClientCacheOptions","ErrorHelper","HttpClientHelper","WebClientNavigationHelper","AppEngineConfiguration","AppEngineException","DocumentedException","BaseBusinessObject","CompanyInfo","HeadersContentTypeEnum","IAppEngineConfiguration","IAppEngineException","LocalStorage","Session","UserInfo","Version"],"sources":["index-dbg.js"],"mappings":"AAAA,aAEAA,IAAIC,GAAGC,OAAO,CAAC,6BAA8B,yCAA0C,yCAA0C,wBAAyB,6BAA8B,sCAAuC,kCAAmC,8BAA+B,+BAAgC,8BAA+B,uBAAwB,wCAAyC,iCAAkC,8CAA+C,0CAA2C,wBAAyB,mBAAoB,oBAAqB,oBAAqB,SAAUC,EAA6BC,EAAyCC,EAAyCC,EAAwBC,EAA6BC,EAAsCC,EAAkCC,EAA8BC,EAA+BC,EAA8BC,EAAuBC,EAAwCC,EAAiCC,EAA8CC,EAA0CC,EAAwBC,EAAmBC,EAAoBC,GAC1rC,aAEA,IAAIC,EAAY,CACdC,WAAY,MAEdD,EAAUE,WAAarB,EAA4BsB,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,EAAWnB,GACzBmB,EAAUc,uBAAyBhC,EAAwCqB,QAC3EC,EAAcJ,EAAWlB,GACzBsB,EAAcJ,EAAWjB,GACzBiB,EAAUe,YAAc/B,EAAuBmB,QAC/CC,EAAcJ,EAAWhB,GACzBgB,EAAUgB,iBAAmB/B,EAA4BkB,QACzDC,EAAcJ,EAAWf,GACzBe,EAAUiB,0BAA4B/B,EAAqCiB,QAC3EC,EAAcJ,EAAWd,GACzBc,EAAUkB,uBAAyB/B,EAAiCgB,QACpEC,EAAcJ,EAAWb,GACzBa,EAAUmB,mBAAqB/B,EAA6Be,QAC5DC,EAAcJ,EAAWZ,GACzBY,EAAUoB,oBAAsB/B,EAA8Bc,QAC9DC,EAAcJ,EAAWX,GACzBW,EAAUqB,mBAAqB/B,EAA6Ba,QAC5DC,EAAcJ,EAAWV,GACzBU,EAAUsB,YAAc/B,EAAsBY,QAC9CC,EAAcJ,EAAWT,GACzBS,EAAUuB,uBAAyB/B,EAAuCW,QAC1EC,EAAcJ,EAAWR,GACzBY,EAAcJ,EAAWP,GACzBO,EAAUwB,wBAA0B9B,EAA6CS,QACjFC,EAAcJ,EAAWN,GACzBM,EAAUyB,oBAAsB9B,EAAyCQ,QACzEC,EAAcJ,EAAWL,GACzBK,EAAU0B,aAAe9B,EAAuBO,QAChDC,EAAcJ,EAAWJ,GACzBI,EAAU2B,QAAU9B,EAAkBM,QACtCC,EAAcJ,EAAWH,GACzBG,EAAU4B,SAAW9B,EAAmBK,QACxCC,EAAcJ,EAAWF,GACzBE,EAAU6B,QAAU9B,EAAkBI,QACtCC,EAAcJ,EAAWD,GACzB,OAAOC,CACT","ignoreList":[]}
@@ -13,7 +13,7 @@ sap.ui.define(["sap/ui/core/Lib", "sap/ui/core/library"], function (Lib, coreLib
13
13
  // delegate further initialization of this library to the Core
14
14
  var thisLib = Lib.init({
15
15
  name: "computec.appengine.uibase",
16
- version: "1.0.7",
16
+ version: "1.0.9",
17
17
  dependencies: [],
18
18
  types: [],
19
19
  interfaces: [],
@@ -35,14 +35,17 @@ sap.ui.require.preload({
35
35
  },
36
36
  "computec/appengine/uibase/helpers/HttpClientHelper.js":function(){
37
37
  "use strict";sap.ui.define(["./ErrorHelper","../models/enums/HeadersContentTypeEnum"],function(e,t){"use strict";function r(e){return e&&e.__esModule&&typeof e.default!=="undefined"?e.default:e}function n(e){"@babel/helpers - typeof";return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){return s(e)||c(e,t)||u(e,t)||i()}function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(e,t){if(e){if("string"==typeof e)return a(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,u,a=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(s)throw o}}return a}}function s(e){if(Array.isArray(e))return e}function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof a?n:a,s=Object.create(c.prototype);return f(s,"_invoke",function(r,n,o){var i,a,c,s=0,l=o||[],f=!1,p={p:0,n:0,v:e,a:y,f:y.bind(e,4),d:function(t,r){return i=t,a=0,c=e,p.n=r,u}};function y(r,n){for(a=r,c=n,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],y=p.p,v=i[2];r>3?(o=v===n)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=y&&((o=r<2&&y<i[1])?(a=0,p.v=n,p.n=i[1]):y<v&&(o=r<3||i[0]>n||n>v)&&(i[4]=r,i[5]=n,p.n=v,a=0))}if(o||r>1)return u;throw f=!0,n}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&y(l,v),a=l,c=v;(t=a<2?e:c)||!f;){i||(a?a<3?(a>1&&(p.n=-1),y(a,c)):p.n=c:p.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(f=p.n<0)?c:r.call(n,p))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:f}}}(r,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var p=[][n]?t(t([][n]())):(f(t={},n,function(){return this}),t),y=s.prototype=a.prototype=Object.create(p);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(y),e}return c.prototype=s,f(y,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(y),f(y,o,"Generator"),f(y,n,function(){return this}),f(y,"toString",function(){return"[object Generator]"}),(l=function(){return{w:i,m:v}})()}function f(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,r,n){function i(t,r){f(e,t,function(e){return this._invoke(t,r,e)})}t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(i("next",0),i("throw",1),i("return",2))},f(e,t,r,n)}function p(e,t,r,n,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void r(e)}a.done?t(c):Promise.resolve(c).then(n,o)}function y(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(e){p(i,n,o,u,a,"next",e)}function a(e){p(i,n,o,u,a,"throw",e)}u(void 0)})}}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,b(n.key),n)}}function h(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var T;function m(e,t,r){return(t=b(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e){var t=w(e,"string");return"symbol"==typeof t?t:t+""}function w(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var _=r(e);var g=r(t);var E=function(){function e(){v(this,e)}return h(e,null,[{key:"validateResponse",value:function(){var e=y(l().m(function e(t,r){return l().w(function(e){while(1)switch(e.n){case 0:if(t.ok){e.n=1;break}e.n=1;return this._throwErrorBasedOnResponse(t,r);case 1:this._validateResponseType(t,r);return e.a(2,true)}},e,this)}));function t(t,r){return e.apply(this,arguments)}return t}()},{key:"isHeadersArrayType",value:function e(t){if(!Array.isArray(t)){return false}for(var r=0;r<t.length;r++){if(!Array.isArray(t[r])||t[r].length!==2){return false}if(typeof t[r][0]!=="string"||typeof t[r][1]!=="string"){return false}}return true}},{key:"fetchData",value:function e(t){var r=t.headers.get("Content-Type");if(this._isJsonType(r))return this._fetchJsonData(t);if(this._isFileType(r))return this._fetchFileData(t);return this._fetchTextData(t)}},{key:"getFullUrl",value:function e(t){if(!t)return"";if(this.FULL_URL_PATTERN.test(t))return t;return"".concat(window.location.origin,"/").concat(t)}},{key:"_validateResponseType",value:function e(t,r){var n=this;var o=t.headers.get("Content-Type");var i=this._getAcceptedType(r.headers);var u=true;if(i){var a=i.split(",");u=a.some(function(e){return n._isJsonType(e)&&n._isJsonType(o)||n._isTextType(e)&&n._isTextType(o)||n._isFileType(e)&&n._isFileType(o)||n._isNullType(e)&&n._isNullType(o)})}if(!u)throw new Error("Wrong content type. Accepted type for request: ".concat(i,", received type in response: ").concat(o,"."))}},{key:"_throwErrorBasedOnResponse",value:function(){var t=y(l().m(function t(r,n){var o,i,u;return l().w(function(t){while(1)switch(t.n){case 0:u=r.status;t.n=u===401?1:u===0?2:u===404?3:u===405?4:5;break;case 1:o=new Error;o.name=e.NOT_AUTHENTICATED_ERROR_NAME;o.message=r.statusText;throw o;case 2:throw new Error("Server is not responding");case 3:throw new Error("Not found ".concat(n.url));case 4:throw new Error("Method ".concat(n.method," not allowed for endpoint: ").concat(n.url));case 5:t.n=6;return this.fetchData(r);case 6:i=t.v;throw _.getError(i);case 7:return t.a(2)}},t,this)}));function r(e,r){return t.apply(this,arguments)}return r}()},{key:"_getAcceptedType",value:function e(t){if(!t)return null;if(t instanceof Headers)return t.get("Accepted");if(this.isHeadersArrayType(t)){var r=t.find(function(e){var t=o(e,1),r=t[0];return r==="Accepted"});if(r!==undefined)return r[1]}return t["Accepted"]}},{key:"_isJsonType",value:function e(t){return t===null||t===void 0?void 0:t.includes(g.Json)}},{key:"_isFileType",value:function e(t){if(!t)return false;if(this._isJsonType(t)||this._isTextType(t))return false;return t.includes(g.OctetStream)||t.includes(g.Pdf)||t.includes(g.Csv)||t.includes(g.Excel)||t.includes(g.ExcelOpenXml)||t.includes(g.Word)||t.includes(g.Zip)||t.includes("image/")||t.includes("audio/")||t.includes("video/")}},{key:"_isTextType",value:function e(t){return t===null||t===void 0?void 0:t.includes(g.Text)}},{key:"_isNullType",value:function e(t){return t===g.Null||t===null}},{key:"_fetchJsonData",value:function(){var e=y(l().m(function e(t){var r,n;return l().w(function(e){while(1)switch(e.p=e.n){case 0:e.p=0;e.n=1;return t.json();case 1:return e.a(2,e.v);case 2:e.p=2;n=e.v;r=_.getError(n);throw new Error("Could not load json data from response. ".concat(r.message));case 3:return e.a(2)}},e,null,[[0,2]])}));function t(t){return e.apply(this,arguments)}return t}()},{key:"_fetchFileData",value:function(){var e=y(l().m(function e(t){var r,n;return l().w(function(e){while(1)switch(e.p=e.n){case 0:e.p=0;e.n=1;return t.blob();case 1:return e.a(2,e.v);case 2:e.p=2;n=e.v;r=_.getError(n);throw new Error("Could not load json data from response. ".concat(r.message));case 3:return e.a(2)}},e,null,[[0,2]])}));function t(t){return e.apply(this,arguments)}return t}()},{key:"_fetchTextData",value:function(){var e=y(l().m(function e(t){var r,n;return l().w(function(e){while(1)switch(e.p=e.n){case 0:e.p=0;e.n=1;return t.text();case 1:return e.a(2,e.v);case 2:e.p=2;n=e.v;r=_.getError(n);throw new Error("Could not load text data from response. ".concat(r.message));case 3:return e.a(2)}},e,null,[[0,2]])}));function t(t){return e.apply(this,arguments)}return t}()}])}();T=E;m(E,"FULL_URL_PATTERN",/^https?:\/\//i);m(E,"NOT_AUTHENTICATED_ERROR_NAME","RESPONSE_NOT_AUTHENTICATED");m(E,"isNotAuthenticated",function(e){return e.name===T.NOT_AUTHENTICATED_ERROR_NAME});return E});
38
+ },
39
+ "computec/appengine/uibase/helpers/WebClientNavigationHelper.js":function(){
40
+ "use strict";sap.ui.define([],function(){"use strict";function t(n){"@babel/helpers - typeof";return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(n)}function n(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,e,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",u=o.toStringTag||"@@toStringTag";function c(n,o,i,u){var c=o&&o.prototype instanceof f?o:f,l=Object.create(c.prototype);return r(l,"_invoke",function(n,r,o){var i,u,c,f=0,l=o||[],p=!1,y={p:0,n:0,v:t,a:b,f:b.bind(t,4),d:function(n,r){return i=n,u=0,c=t,y.n=r,a}};function b(n,r){for(u=n,c=r,e=0;!p&&f&&!o&&e<l.length;e++){var o,i=l[e],b=y.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=t):i[0]<=b&&((o=n<2&&b<i[1])?(u=0,y.v=r,y.n=i[1]):b<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,y.n=v,u=0))}if(o||n>1)return a;throw p=!0,r}return function(o,l,v){if(f>1)throw TypeError("Generator is already running");for(p&&1===l&&b(l,v),u=l,c=v;(e=u<2?t:c)||!p;){i||(u?u<3?(u>1&&(y.n=-1),b(u,c)):y.n=c:y.v=c);try{if(f=2,i){if(u||(o="next"),e=i[o]){if(!(e=e.call(i,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,u<2&&(u=0)}else 1===u&&(e=i.return)&&e.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=t}else if((e=(p=y.n<0)?c:n.call(r,y))!==a)break}catch(n){i=t,u=1,c=n}finally{f=1}}return{value:e,done:p}}}(n,i,u),!0),l}var a={};function f(){}function l(){}function p(){}e=Object.getPrototypeOf;var y=[][i]?e(e([][i]())):(r(e={},i,function(){return this}),e),b=p.prototype=f.prototype=Object.create(y);function v(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,r(t,u,"GeneratorFunction")),t.prototype=Object.create(b),t}return l.prototype=p,r(b,"constructor",p),r(p,"constructor",l),l.displayName="GeneratorFunction",r(p,u,"GeneratorFunction"),r(b),r(b,u,"Generator"),r(b,i,function(){return this}),r(b,"toString",function(){return"[object Generator]"}),(n=function(){return{w:c,m:v}})()}function r(t,n,e,o){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}r=function(t,n,e,o){function u(n,e){r(t,n,function(t){return this._invoke(n,e,t)})}n?i?i(t,n,{value:e,enumerable:!o,configurable:!o,writable:!o}):t[n]=e:(u("next",0),u("throw",1),u("return",2))},r(t,n,e,o)}function e(t,n,r,e,o,i,u){try{var c=t[i](u),a=c.value}catch(t){return void r(t)}c.done?n(a):Promise.resolve(a).then(e,o)}function o(t){return function(){var n=this,r=arguments;return new Promise(function(o,i){var u=t.apply(n,r);function c(t){e(u,o,i,c,a,"next",t)}function a(t){e(u,o,i,c,a,"throw",t)}c(void 0)})}}function i(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function u(t,n){for(var r=0;r<n.length;r++){var e=n[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,f(e.key),e)}}function c(t,n,r){return n&&u(t.prototype,n),r&&u(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function a(t,n,r){return(n=f(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function f(t){var n=l(t,"string");return"symbol"==typeof n?n:n+""}function l(n,r){if("object"!=t(n)||!n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var o=e.call(n,r||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(n)}var p=function(){function t(){i(this,t)}return c(t,null,[{key:"buildPluginUrl",value:function n(r,e,o){var i=encodeURIComponent(encodeURIComponent(e));return"".concat(t.HASH_PREFIX,"&/").concat(r,",").concat(i,"/").concat(o!==null&&o!==void 0?o:r)}},{key:"openPlugin",value:function(){var r=o(n().m(function r(e,o,i,u){var c;return n().w(function(n){while(1)switch(n.n){case 0:c=t.buildPluginUrl(o,i,u);n.n=1;return e(c);case 1:return n.a(2)}},r)}));function e(t,n,e,o){return r.apply(this,arguments)}return e}()}])}();a(p,"HASH_PREFIX","#webclient-CompuTecWebClientStart-CompuTecWebClientStart");return p});
38
41
  },
39
42
  "computec/appengine/uibase/index.js":function(){
40
- "use strict";sap.ui.define(["./communication/HttpClient","./communication/HttpClientCacheOptions","./communication/IBaseHttpClientOptions","./helpers/ErrorHelper","./helpers/HttpClientHelper","./models/AppEngineConfiguration","./models/AppEngineException","./models/DocumentedException","./models/BaseBusinessObject","./models/CompanyInfo","./models/enums/HeadersContentTypeEnum","./models/enums/StorageTypeEnum","./models/interfaces/IAppEngineConfiguration","./models/interfaces/IAppEngineException","./models/LocalStorage","./models/Session","./models/UserInfo","./models/Version"],function(e,n,t,o,i,s,l,u,p,a,r,d,f,c,m,E,C,g){"use strict";var H={__esModule:true};H.HttpClient=e.default;function I(e,n){n&&Object.keys(n).forEach(function(t){if(t==="default"||t==="__esModule")return;Object.defineProperty(e,t,{enumerable:true,get:function e(){return n[t]}})})}I(H,e);H.HttpClientCacheOptions=n.default;I(H,n);I(H,t);H.ErrorHelper=o.default;I(H,o);H.HttpClientHelper=i.default;I(H,i);H.AppEngineConfiguration=s.default;I(H,s);H.AppEngineException=l.default;I(H,l);H.DocumentedException=u.default;I(H,u);H.BaseBusinessObject=p.default;I(H,p);H.CompanyInfo=a.default;I(H,a);H.HeadersContentTypeEnum=r.default;I(H,r);I(H,d);H.IAppEngineConfiguration=f.default;I(H,f);H.IAppEngineException=c.default;I(H,c);H.LocalStorage=m.default;I(H,m);H.Session=E.default;I(H,E);H.UserInfo=C.default;I(H,C);H.Version=g.default;I(H,g);return H});
43
+ "use strict";sap.ui.define(["./communication/HttpClient","./communication/HttpClientCacheOptions","./communication/IBaseHttpClientOptions","./helpers/ErrorHelper","./helpers/HttpClientHelper","./helpers/WebClientNavigationHelper","./models/AppEngineConfiguration","./models/AppEngineException","./models/DocumentedException","./models/BaseBusinessObject","./models/CompanyInfo","./models/enums/HeadersContentTypeEnum","./models/enums/StorageTypeEnum","./models/interfaces/IAppEngineConfiguration","./models/interfaces/IAppEngineException","./models/LocalStorage","./models/Session","./models/UserInfo","./models/Version"],function(e,n,t,o,i,l,s,a,u,p,r,d,f,c,m,E,C,g,H){"use strict";var I={__esModule:true};I.HttpClient=e.default;function A(e,n){n&&Object.keys(n).forEach(function(t){if(t==="default"||t==="__esModule")return;Object.defineProperty(e,t,{enumerable:true,get:function e(){return n[t]}})})}A(I,e);I.HttpClientCacheOptions=n.default;A(I,n);A(I,t);I.ErrorHelper=o.default;A(I,o);I.HttpClientHelper=i.default;A(I,i);I.WebClientNavigationHelper=l.default;A(I,l);I.AppEngineConfiguration=s.default;A(I,s);I.AppEngineException=a.default;A(I,a);I.DocumentedException=u.default;A(I,u);I.BaseBusinessObject=p.default;A(I,p);I.CompanyInfo=r.default;A(I,r);I.HeadersContentTypeEnum=d.default;A(I,d);A(I,f);I.IAppEngineConfiguration=c.default;A(I,c);I.IAppEngineException=m.default;A(I,m);I.LocalStorage=E.default;A(I,E);I.Session=C.default;A(I,C);I.UserInfo=g.default;A(I,g);I.Version=H.default;A(I,H);return I});
41
44
  },
42
45
  "computec/appengine/uibase/library.js":function(){
43
- "use strict";sap.ui.define(["sap/ui/core/Lib","sap/ui/core/library"],function(e,i){i;var n=e.init({name:"computec.appengine.uibase",version:"1.0.7",dependencies:[],types:[],interfaces:[],controls:[],elements:[],noLibraryCSS:false});return n});
46
+ "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.9",dependencies:[],types:[],interfaces:[],controls:[],elements:[],noLibraryCSS:false});return n});
44
47
  },
45
- "computec/appengine/uibase/manifest.json":'{"_version":"1.21.0","sap.app":{"id":"computec.appengine.uibase","type":"library","embeds":[],"applicationVersion":{"version":"1.0.7"},"title":"uibase","description":"Core library required by AppEngine plugins","resources":"resources.json","offline":true},"sap.ui":{"technology":"UI5","supportedThemes":[]},"sap.ui5":{"dependencies":{"libs":{"sap.ui.core":{}}},"library":{"i18n":false,"content":{"controls":[],"elements":[],"types":[],"interfaces":[]}}}}',
48
+ "computec/appengine/uibase/manifest.json":'{"_version":"1.21.0","sap.app":{"id":"computec.appengine.uibase","type":"library","embeds":[],"applicationVersion":{"version":"1.0.9"},"title":"uibase","description":"Core library required by AppEngine plugins","resources":"resources.json","offline":true},"sap.ui":{"technology":"UI5","supportedThemes":[]},"sap.ui5":{"dependencies":{"libs":{"sap.ui.core":{}}},"library":{"i18n":false,"content":{"controls":[],"elements":[],"types":[],"interfaces":[]}}}}',
46
49
  "computec/appengine/uibase/models/AppEngineConfiguration.js":function(){
47
50
  "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});
48
51
  },