@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
@@ -1 +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AM,CAAC,CAAC,SAAS,kBAAkB,EAAE,CAAC,SAAS,CAAC,EACrD,IAAI,EAAE,6BAA6B,CAAC,CAAC,CAAC,EACtC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,GACrC,CAAC;IAMJ;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CAAC,UAAU,CAAC,CAAC,SAAS,kBAAkB,EAAE,CAAC,SAAS,CAAC,EACzD,IAAI,EAAE,6BAA6B,CAAC,CAAC,CAAC,EACtC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,MAAM,EAAE,GACzC,CAAC,EAAE;IAIN;;;;;;;;;OASG;IACH,SAAS,CAAC,QAAQ,CAAC,CAAC,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM;IAQ5C;;;;;OAKG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM;IAU/C;;;;;;;;;;;;OAYG;IACH,KAAK,IAAI,IAAI;IAIb;;;;;;;;;;;;;;;;;OAiBG;IACH,eAAe,IAAI,IAAI;IAMvB,SAAS,CAAC,aAAa,CAAC,aAAa,EAAE,OAAO,GAAG,IAAI;IAIrD;;;;OAIG;IACH,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAOlC"}
@@ -0,0 +1,11 @@
1
+ import BaseBusinessObject from "./BaseBusinessObject";
2
+ import Version from "./Version";
3
+ export default class CompanyInfo extends BaseBusinessObject {
4
+ Version: Version;
5
+ LanguageCode: string;
6
+ CompanyName: string;
7
+ Localization: string;
8
+ fillData(data: Record<string, unknown> | object): this;
9
+ toJSON(): Record<string, unknown>;
10
+ }
11
+ //# sourceMappingURL=CompanyInfo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CompanyInfo.d.ts","sourceRoot":"","sources":["../../src/models/CompanyInfo.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AACtD,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,kBAAkB;IACzD,OAAO,UAAiB;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IAErB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,GAAG,IAAI;IAOtD,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAMlC"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const BaseBusinessObject_1 = __importDefault(require("./BaseBusinessObject"));
7
+ const Version_1 = __importDefault(require("./Version"));
8
+ class CompanyInfo extends BaseBusinessObject_1.default {
9
+ constructor() {
10
+ super(...arguments);
11
+ this.Version = new Version_1.default();
12
+ }
13
+ fillData(data) {
14
+ super.fillData(data);
15
+ this.Version = new Version_1.default(this.Version);
16
+ return this;
17
+ }
18
+ toJSON() {
19
+ return Object.assign(Object.assign({}, super.toJSON()), { Version: this.Version.toString() });
20
+ }
21
+ }
22
+ exports.default = CompanyInfo;
@@ -0,0 +1,13 @@
1
+ import BaseBusinessObject from "./BaseBusinessObject";
2
+ import { IProblemDetails } from "./interfaces/IProblemDetails";
3
+ export default class ProblemDetails extends BaseBusinessObject implements IProblemDetails {
4
+ type: string;
5
+ title: string;
6
+ status: number;
7
+ detail: string;
8
+ instance: string;
9
+ get errorMessage(): string;
10
+ get error(): Error;
11
+ static is(obj: any): obj is IProblemDetails;
12
+ }
13
+ //# sourceMappingURL=ProblemDetails.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProblemDetails.d.ts","sourceRoot":"","sources":["../../src/models/ProblemDetails.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,kBAAmB,YAAW,eAAe;IACxF,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IAEjB,IAAI,YAAY,IAAI,MAAM,CAEzB;IAED,IAAI,KAAK,IAAI,KAAK,CAEjB;IAED,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,eAAe;CAS3C"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const BaseBusinessObject_1 = __importDefault(require("./BaseBusinessObject"));
7
+ class ProblemDetails extends BaseBusinessObject_1.default {
8
+ get errorMessage() {
9
+ return this.detail || this.title;
10
+ }
11
+ get error() {
12
+ return new Error(this.errorMessage);
13
+ }
14
+ static is(obj) {
15
+ if (typeof obj !== "object" || obj === null)
16
+ return false;
17
+ const candidate = obj;
18
+ return (("title" in candidate && typeof candidate.title === "string") ||
19
+ ("status" in candidate && typeof candidate.status === "number"));
20
+ }
21
+ }
22
+ exports.default = ProblemDetails;
@@ -0,0 +1,7 @@
1
+ import BaseBusinessObject from "./BaseBusinessObject";
2
+ export default class UserInfo extends BaseBusinessObject {
3
+ UserCode: string;
4
+ Superuser: string;
5
+ UserName: string;
6
+ }
7
+ //# sourceMappingURL=UserInfo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserInfo.d.ts","sourceRoot":"","sources":["../../src/models/UserInfo.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AAGtD,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,kBAAkB;IACvD,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const BaseBusinessObject_1 = __importDefault(require("./BaseBusinessObject"));
7
+ class UserInfo extends BaseBusinessObject_1.default {
8
+ }
9
+ exports.default = UserInfo;
@@ -0,0 +1,10 @@
1
+ import { IValidationProblemDetails } from "./interfaces/IValidationProblemDetails";
2
+ import ProblemDetails from "./ProblemDetails";
3
+ export default class ValidationProblemDetails extends ProblemDetails implements IValidationProblemDetails {
4
+ errors: Record<string, string[]>;
5
+ traceId: string;
6
+ get errorMessage(): string;
7
+ get error(): Error;
8
+ static is(obj: any): obj is IValidationProblemDetails;
9
+ }
10
+ //# sourceMappingURL=ValidationProblemDetails.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ValidationProblemDetails.d.ts","sourceRoot":"","sources":["../../src/models/ValidationProblemDetails.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAE9C,MAAM,CAAC,OAAO,OAAO,wBACpB,SAAQ,cACR,YAAW,yBAAyB;IAEpC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAM;IACtC,OAAO,EAAE,MAAM,CAAQ;IAEvB,IAAI,YAAY,IAAI,MAAM,CAMzB;IAED,IAAI,KAAK,IAAI,KAAK,CAEjB;IAED,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,yBAAyB;CAQrD"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const ProblemDetails_1 = __importDefault(require("./ProblemDetails"));
7
+ class ValidationProblemDetails extends ProblemDetails_1.default {
8
+ constructor() {
9
+ super(...arguments);
10
+ this.errors = {};
11
+ this.traceId = null;
12
+ }
13
+ get errorMessage() {
14
+ let errorMessage = "";
15
+ Object.entries(this.errors).forEach(([field, messages]) => {
16
+ errorMessage += `${field}: ${messages.join(", ")}\n`;
17
+ });
18
+ return errorMessage.trim();
19
+ }
20
+ get error() {
21
+ return new Error(this.errorMessage);
22
+ }
23
+ static is(obj) {
24
+ if (!ProblemDetails_1.default.is(obj))
25
+ return false;
26
+ const candidate = obj;
27
+ return ("errors" in candidate && typeof candidate.errors === "object" && candidate.errors !== null);
28
+ }
29
+ }
30
+ exports.default = ValidationProblemDetails;
@@ -0,0 +1,15 @@
1
+ import BaseBusinessObject from "./BaseBusinessObject";
2
+ export default class Version extends BaseBusinessObject {
3
+ static readonly VERSION_PATTERN: RegExp;
4
+ private readonly _major;
5
+ private readonly _minor;
6
+ private readonly _build;
7
+ constructor();
8
+ constructor(version: Version);
9
+ constructor(version: string);
10
+ constructor(version: number);
11
+ constructor(major: number, minor: number, build: number);
12
+ static isVersion(obj: any): obj is Partial<Version>;
13
+ toString(): string;
14
+ }
15
+ //# sourceMappingURL=Version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Version.d.ts","sourceRoot":"","sources":["../../src/models/Version.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AAEtD,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,kBAAkB;IACtD,gBAAuB,eAAe,SAAqB;IAC3D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAa;IACpC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAa;IACpC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAa;;gBAGxB,OAAO,EAAE,OAAO;gBAChB,OAAO,EAAE,MAAM;gBACf,OAAO,EAAE,MAAM;gBACf,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;WAmCzC,SAAS,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,OAAO,CAAC,OAAO,CAAC;IAS1D,QAAQ,IAAI,MAAM;CAKlB"}
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const BaseBusinessObject_1 = __importDefault(require("./BaseBusinessObject"));
7
+ class Version extends BaseBusinessObject_1.default {
8
+ constructor(major, minor, build) {
9
+ super();
10
+ this._major = 0; // Major version number
11
+ this._minor = 0; // Minor version number
12
+ this._build = 0; // Build number
13
+ if (arguments.length === 0)
14
+ return this;
15
+ if (Version.isVersion(major)) {
16
+ this._major = major._major;
17
+ this._minor = major._minor;
18
+ this._build = major._build;
19
+ }
20
+ else if (typeof major === "string") {
21
+ if (!Version.VERSION_PATTERN.test(major)) {
22
+ throw new Error("Invalid version format. Expected format: 'major.minor.build'");
23
+ }
24
+ const [m, n, b] = major.split(".").map(Number);
25
+ this._major = m;
26
+ this._minor = n;
27
+ this._build = b;
28
+ }
29
+ else if (typeof major === "number" && arguments.length === 1) {
30
+ const padded = major.toString().padStart(7, "0");
31
+ this._major = parseInt(padded.slice(0, 2), 10);
32
+ this._minor = parseInt(padded.slice(2, 4), 10);
33
+ this._build = parseInt(padded.slice(4, 7), 10);
34
+ }
35
+ else {
36
+ this._major = major;
37
+ this._minor = minor;
38
+ this._build = build;
39
+ }
40
+ }
41
+ static isVersion(obj) {
42
+ var _a, _b, _c;
43
+ if (obj instanceof Version)
44
+ return true;
45
+ if (!obj || typeof obj !== "object")
46
+ return false;
47
+ if (((_a = obj._major) !== null && _a !== void 0 ? _a : null) === null)
48
+ return false;
49
+ if (((_b = obj._minor) !== null && _b !== void 0 ? _b : null) === null)
50
+ return false;
51
+ if (((_c = obj._build) !== null && _c !== void 0 ? _c : null) === null)
52
+ return false;
53
+ return true;
54
+ }
55
+ toString() {
56
+ return `${this._major.toString().padStart(2, "0")}.${this._minor
57
+ .toString()
58
+ .padStart(2, "0")}.${this._build.toString().padStart(2, "0")}`;
59
+ }
60
+ }
61
+ Version.VERSION_PATTERN = /^\d+\.\d+\.\d+$/; // Pattern for version strings like "1.0.0"
62
+ exports.default = Version;
@@ -0,0 +1,24 @@
1
+ export default interface IAppEngineConfiguration {
2
+ Code: number;
3
+ Name?: string;
4
+ U_CoreVersion?: string;
5
+ U_CoreDbVersion?: string;
6
+ U_AESrvAddr?: string;
7
+ U_LicenseServer?: string;
8
+ U_CompanyGuid?: string;
9
+ U_ApiKey?: string;
10
+ U_CmdTimeout?: number;
11
+ U_ConnTimeout?: number;
12
+ U_MaxPoolSize?: number;
13
+ U_MinPoolSize?: number;
14
+ U_AStartDate?: Date;
15
+ U_AEndDate?: Date;
16
+ U_OpeningMode?: string;
17
+ U_TimeZone?: string;
18
+ U_SldServer?: string;
19
+ U_SapLicenseServer?: string;
20
+ U_ApiGatewayAddress?: string;
21
+ U_SLServer?: string;
22
+ U_GMapAPIKey: string;
23
+ }
24
+ //# sourceMappingURL=IAppEngineConfiguration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAppEngineConfiguration.d.ts","sourceRoot":"","sources":["../../../src/models/interfaces/IAppEngineConfiguration.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,uBAAuB;IAC/C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,5 @@
1
1
  export default interface IAppEngineException {
2
- Title?: string;
3
- Detail?: string;
4
- title?: string;
5
- detail?: string;
2
+ Title: string;
3
+ Detail: string;
6
4
  }
7
5
  //# sourceMappingURL=IAppEngineException.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IAppEngineException.d.ts","sourceRoot":"","sources":["../../../src/models/interfaces/IAppEngineException.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,mBAAmB;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"IAppEngineException.d.ts","sourceRoot":"","sources":["../../../src/models/interfaces/IAppEngineException.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,mBAAmB;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CACf"}
@@ -0,0 +1,8 @@
1
+ export interface IProblemDetails {
2
+ type?: string;
3
+ title: string;
4
+ status: number;
5
+ detail?: string;
6
+ instance?: string;
7
+ }
8
+ //# sourceMappingURL=IProblemDetails.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IProblemDetails.d.ts","sourceRoot":"","sources":["../../../src/models/interfaces/IProblemDetails.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,eAAe;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ import { IProblemDetails } from "./IProblemDetails";
2
+ export interface IValidationProblemDetails extends IProblemDetails {
3
+ errors: Record<string, string[]>;
4
+ traceId?: string;
5
+ }
6
+ //# sourceMappingURL=IValidationProblemDetails.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IValidationProblemDetails.d.ts","sourceRoot":"","sources":["../../../src/models/interfaces/IValidationProblemDetails.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,WAAW,yBAA0B,SAAQ,eAAe;IACjE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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.2</version>
5
+ <version>1.0.4</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,19 @@
1
+ "use strict";
2
+
3
+ sap.ui.define([], function () {
4
+ "use strict";
5
+
6
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
7
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
9
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
10
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
11
+ /**
12
+ * @name ConnectionOptions
13
+ * ConnectionOptions is used to configure the connection to the server.
14
+ */
15
+ var ConnectionOptions = /*#__PURE__*/_createClass(function ConnectionOptions() {
16
+ _classCallCheck(this, ConnectionOptions);
17
+ });
18
+ return ConnectionOptions;
19
+ });
@@ -0,0 +1,2 @@
1
+ "use strict";sap.ui.define([],function(){"use strict";function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,r(i.key),i)}}function e(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function r(t){var e=n(t,"string");return"symbol"==typeof e?e:e+""}function n(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=e(function t(){i(this,t)});return o});
2
+ //# sourceMappingURL=ConnectionOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConnectionOptions.js","names":["sap","ui","define","_defineProperties","e","r","t","length","o","enumerable","configurable","writable","Object","defineProperty","_toPropertyKey","key","_createClass","prototype","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","_classCallCheck","a","n","ConnectionOptions","this"],"sources":["ConnectionOptions-dbg.js"],"mappings":"AAAA,aAEAA,IAAIC,GAAGC,OAAO,GAAI,WAChB,aAEA,SAASC,EAAkBC,EAAGC,GAAK,IAAK,IAAIC,EAAI,EAAGA,EAAID,EAAEE,OAAQD,IAAK,CAAE,IAAIE,EAAIH,EAAEC,GAAIE,EAAEC,WAAaD,EAAEC,aAAe,EAAGD,EAAEE,cAAgB,EAAG,UAAWF,IAAMA,EAAEG,UAAY,GAAIC,OAAOC,eAAeT,EAAGU,EAAeN,EAAEO,KAAMP,EAAI,CAAE,CACvO,SAASQ,EAAaZ,EAAGC,EAAGC,GAAK,OAAOD,GAAKF,EAAkBC,EAAEa,UAAWZ,GAAIC,GAAKH,EAAkBC,EAAGE,GAAIM,OAAOC,eAAeT,EAAG,YAAa,CAAEO,UAAW,IAAMP,CAAG,CAC1K,SAASU,EAAeR,GAAK,IAAIY,EAAIC,EAAab,EAAG,UAAW,MAAO,iBAAmBY,EAAIA,EAAIA,EAAI,EAAI,CAC1G,SAASC,EAAab,EAAGD,GAAK,GAAI,iBAAmBC,IAAMA,EAAG,OAAOA,EAAG,IAAIF,EAAIE,EAAEc,OAAOC,aAAc,QAAS,IAAMjB,EAAG,CAAE,IAAIc,EAAId,EAAEkB,KAAKhB,EAAGD,GAAK,WAAY,GAAI,iBAAmBa,EAAG,OAAOA,EAAG,MAAM,IAAIK,UAAU,+CAAiD,CAAE,OAAQ,WAAalB,EAAImB,OAASC,QAAQnB,EAAI,CACvT,SAASoB,EAAgBC,EAAGC,GAAK,KAAMD,aAAaC,GAAI,MAAM,IAAIL,UAAU,oCAAsC,CAKlH,IAAIM,EAAiCb,EAAa,SAASa,IACzDH,EAAgBI,KAAMD,EACxB,GACA,OAAOA,CACT","ignoreList":[]}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+
3
+ sap.ui.define([], function () {
4
+ "use strict";
5
+
6
+ return IConnectionInfo;
7
+ });
@@ -0,0 +1,2 @@
1
+ "use strict";sap.ui.define([],function(){"use strict";return IConnectionInfo});
2
+ //# sourceMappingURL=IConnectionInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IConnectionInfo.js","names":["sap","ui","define","IConnectionInfo"],"sources":["IConnectionInfo-dbg.js"],"mappings":"AAAA,aAEAA,IAAIC,GAAGC,OAAO,GAAI,WAChB,aAEA,OAAOC,eACT","ignoreList":[]}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+
3
+ sap.ui.define([], function () {
4
+ "use strict";
5
+
6
+ return ISignalRHubClient;
7
+ });
@@ -0,0 +1,2 @@
1
+ "use strict";sap.ui.define([],function(){"use strict";return ISignalRHubClient});
2
+ //# sourceMappingURL=ISignalRHubClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ISignalRHubClient.js","names":["sap","ui","define","ISignalRHubClient"],"sources":["ISignalRHubClient-dbg.js"],"mappings":"AAAA,aAEAA,IAAIC,GAAGC,OAAO,GAAI,WAChB,aAEA,OAAOC,iBACT","ignoreList":[]}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+
3
+ sap.ui.define([], function () {
4
+ "use strict";
5
+
6
+ return ISignalRMessage;
7
+ });
@@ -0,0 +1,2 @@
1
+ "use strict";sap.ui.define([],function(){"use strict";return ISignalRMessage});
2
+ //# sourceMappingURL=ISignalRMessage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ISignalRMessage.js","names":["sap","ui","define","ISignalRMessage"],"sources":["ISignalRMessage-dbg.js"],"mappings":"AAAA,aAEAA,IAAIC,GAAGC,OAAO,GAAI,WAChB,aAEA,OAAOC,eACT","ignoreList":[]}