@rxap/open-api 12.2.6 → 13.0.0-next.1

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 (115) hide show
  1. package/data-source/package.json +5 -5
  2. package/data-source/table/package.json +5 -5
  3. package/esm2020/data-source/lib/error.mjs +8 -0
  4. package/esm2020/data-source/lib/open-api-data-source.loader.mjs +36 -0
  5. package/esm2020/data-source/lib/open-api.data-source.mjs +114 -0
  6. package/esm2020/data-source/public_api.mjs +6 -0
  7. package/esm2020/data-source/rxap-open-api-data-source.mjs +5 -0
  8. package/esm2020/data-source/table/lib/error.mjs +8 -0
  9. package/esm2020/data-source/table/lib/open-api-table.data-source.mjs +127 -0
  10. package/esm2020/data-source/table/lib/to-open-api-table-data-source.pipe.mjs +29 -0
  11. package/esm2020/data-source/table/lib/tokens.mjs +3 -0
  12. package/esm2020/data-source/table/public_api.mjs +5 -0
  13. package/esm2020/data-source/table/rxap-open-api-data-source-table.mjs +5 -0
  14. package/esm2020/index.mjs +7 -0
  15. package/esm2020/lib/error.mjs +7 -0
  16. package/esm2020/lib/open-api-config.service.mjs +128 -0
  17. package/esm2020/lib/open-api.mjs +2 -0
  18. package/esm2020/lib/schema-validation.mixin.mjs +253 -0
  19. package/esm2020/lib/tokens.mjs +6 -0
  20. package/esm2020/lib/utilities.mjs +16 -0
  21. package/esm2020/remote-method/lib/error.mjs +8 -0
  22. package/esm2020/remote-method/lib/open-api-remote-method.loader.mjs +37 -0
  23. package/esm2020/remote-method/lib/open-api.remote-method.mjs +111 -0
  24. package/esm2020/remote-method/public_api.mjs +4 -0
  25. package/esm2020/remote-method/rxap-open-api-remote-method.mjs +5 -0
  26. package/esm2020/rxap-open-api.mjs +5 -0
  27. package/{esm2015/data-source/table/lib/open-api-table.data-source.js → fesm2015/rxap-open-api-data-source-table.mjs} +91 -48
  28. package/fesm2015/rxap-open-api-data-source-table.mjs.map +1 -0
  29. package/{esm2015/data-source/lib/open-api.data-source.js → fesm2015/rxap-open-api-data-source.mjs} +86 -39
  30. package/fesm2015/rxap-open-api-data-source.mjs.map +1 -0
  31. package/fesm2015/{rxap-open-api-remote-method.js → rxap-open-api-remote-method.mjs} +38 -34
  32. package/fesm2015/rxap-open-api-remote-method.mjs.map +1 -0
  33. package/fesm2015/{rxap-open-api.js → rxap-open-api.mjs} +15 -13
  34. package/fesm2015/rxap-open-api.mjs.map +1 -0
  35. package/{fesm2015/rxap-open-api-data-source-table.js → fesm2020/rxap-open-api-data-source-table.mjs} +18 -20
  36. package/fesm2020/rxap-open-api-data-source-table.mjs.map +1 -0
  37. package/{fesm2015/rxap-open-api-data-source.js → fesm2020/rxap-open-api-data-source.mjs} +16 -17
  38. package/fesm2020/rxap-open-api-data-source.mjs.map +1 -0
  39. package/fesm2020/rxap-open-api-remote-method.mjs +154 -0
  40. package/fesm2020/rxap-open-api-remote-method.mjs.map +1 -0
  41. package/{esm2015/lib/schema-validation.mixin.js → fesm2020/rxap-open-api.mjs} +164 -9
  42. package/fesm2020/rxap-open-api.mjs.map +1 -0
  43. package/package.json +60 -22
  44. package/remote-method/package.json +5 -5
  45. package/src/schematics/ng-add/index.js +1 -1
  46. package/src/schematics/ng-add/index.js.map +1 -1
  47. package/src/schematics/open-api/coerce-open-api-project.js +4 -4
  48. package/src/schematics/open-api/coerce-open-api-project.js.map +1 -1
  49. package/src/schematics/open-api/create-directive.js +5 -5
  50. package/src/schematics/open-api/create-directive.js.map +1 -1
  51. package/src/schematics/open-api/generate-data-source.js +4 -4
  52. package/src/schematics/open-api/generate-data-source.js.map +1 -1
  53. package/src/schematics/open-api/generate-openapi-provider.js +1 -1
  54. package/src/schematics/open-api/generate-openapi-provider.js.map +1 -1
  55. package/src/schematics/open-api/generate-remote-method.js +10 -10
  56. package/src/schematics/open-api/generate-remote-method.js.map +1 -1
  57. package/src/schematics/open-api/index.js +18 -18
  58. package/src/schematics/open-api/index.js.map +1 -1
  59. package/bundles/rxap-open-api-data-source-table.umd.js +0 -536
  60. package/bundles/rxap-open-api-data-source-table.umd.js.map +0 -1
  61. package/bundles/rxap-open-api-data-source.umd.js +0 -526
  62. package/bundles/rxap-open-api-data-source.umd.js.map +0 -1
  63. package/bundles/rxap-open-api-remote-method.umd.js +0 -535
  64. package/bundles/rxap-open-api-remote-method.umd.js.map +0 -1
  65. package/bundles/rxap-open-api.umd.js +0 -863
  66. package/bundles/rxap-open-api.umd.js.map +0 -1
  67. package/esm2015/data-source/lib/error.js +0 -8
  68. package/esm2015/data-source/lib/error.js.map +0 -1
  69. package/esm2015/data-source/lib/open-api-data-source.loader.js +0 -36
  70. package/esm2015/data-source/lib/open-api-data-source.loader.js.map +0 -1
  71. package/esm2015/data-source/lib/open-api.data-source.js.map +0 -1
  72. package/esm2015/data-source/public_api.js +0 -6
  73. package/esm2015/data-source/public_api.js.map +0 -1
  74. package/esm2015/data-source/rxap-open-api-data-source.js +0 -5
  75. package/esm2015/data-source/rxap-open-api-data-source.js.map +0 -1
  76. package/esm2015/data-source/table/lib/error.js +0 -8
  77. package/esm2015/data-source/table/lib/error.js.map +0 -1
  78. package/esm2015/data-source/table/lib/open-api-table.data-source.js.map +0 -1
  79. package/esm2015/data-source/table/lib/to-open-api-table-data-source.pipe.js +0 -29
  80. package/esm2015/data-source/table/lib/to-open-api-table-data-source.pipe.js.map +0 -1
  81. package/esm2015/data-source/table/lib/tokens.js +0 -3
  82. package/esm2015/data-source/table/lib/tokens.js.map +0 -1
  83. package/esm2015/data-source/table/public_api.js +0 -5
  84. package/esm2015/data-source/table/public_api.js.map +0 -1
  85. package/esm2015/data-source/table/rxap-open-api-data-source-table.js +0 -5
  86. package/esm2015/data-source/table/rxap-open-api-data-source-table.js.map +0 -1
  87. package/esm2015/index.js +0 -7
  88. package/esm2015/index.js.map +0 -1
  89. package/esm2015/lib/error.js +0 -7
  90. package/esm2015/lib/error.js.map +0 -1
  91. package/esm2015/lib/open-api-config.service.js +0 -127
  92. package/esm2015/lib/open-api-config.service.js.map +0 -1
  93. package/esm2015/lib/open-api.js +0 -2
  94. package/esm2015/lib/open-api.js.map +0 -1
  95. package/esm2015/lib/schema-validation.mixin.js.map +0 -1
  96. package/esm2015/lib/tokens.js +0 -6
  97. package/esm2015/lib/tokens.js.map +0 -1
  98. package/esm2015/lib/utilities.js +0 -16
  99. package/esm2015/lib/utilities.js.map +0 -1
  100. package/esm2015/remote-method/lib/error.js +0 -8
  101. package/esm2015/remote-method/lib/error.js.map +0 -1
  102. package/esm2015/remote-method/lib/open-api-remote-method.loader.js +0 -37
  103. package/esm2015/remote-method/lib/open-api-remote-method.loader.js.map +0 -1
  104. package/esm2015/remote-method/lib/open-api.remote-method.js +0 -119
  105. package/esm2015/remote-method/lib/open-api.remote-method.js.map +0 -1
  106. package/esm2015/remote-method/public_api.js +0 -4
  107. package/esm2015/remote-method/public_api.js.map +0 -1
  108. package/esm2015/remote-method/rxap-open-api-remote-method.js +0 -5
  109. package/esm2015/remote-method/rxap-open-api-remote-method.js.map +0 -1
  110. package/esm2015/rxap-open-api.js +0 -5
  111. package/esm2015/rxap-open-api.js.map +0 -1
  112. package/fesm2015/rxap-open-api-data-source-table.js.map +0 -1
  113. package/fesm2015/rxap-open-api-data-source.js.map +0 -1
  114. package/fesm2015/rxap-open-api-remote-method.js.map +0 -1
  115. package/fesm2015/rxap-open-api.js.map +0 -1
@@ -1,535 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common/http'), require('@rxap/open-api'), require('@rxap/remote-method/http'), require('@rxap/remote-method'), require('@rxap/utilities'), require('rxjs/operators'), require('rxjs'), require('@rxap/mixin')) :
3
- typeof define === 'function' && define.amd ? define('@rxap/open-api/remote-method', ['exports', '@angular/core', '@angular/common/http', '@rxap/open-api', '@rxap/remote-method/http', '@rxap/remote-method', '@rxap/utilities', 'rxjs/operators', 'rxjs', '@rxap/mixin'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.rxap = global.rxap || {}, global.rxap['open-api'] = global.rxap['open-api'] || {}, global.rxap['open-api']['remote-method'] = {}), global.ng.core, global.ng.common.http, global.rxap['open-api'], global.http, global.remoteMethod, global.utilities, global.rxjs.operators, global.rxjs, global.mixin));
5
- }(this, (function (exports, i0, i1, i2, http, remoteMethod, utilities, operators, rxjs, mixin) { 'use strict';
6
-
7
- function _interopNamespace(e) {
8
- if (e && e.__esModule) return e;
9
- var n = Object.create(null);
10
- if (e) {
11
- Object.keys(e).forEach(function (k) {
12
- if (k !== 'default') {
13
- var d = Object.getOwnPropertyDescriptor(e, k);
14
- Object.defineProperty(n, k, d.get ? d : {
15
- enumerable: true,
16
- get: function () {
17
- return e[k];
18
- }
19
- });
20
- }
21
- });
22
- }
23
- n['default'] = e;
24
- return Object.freeze(n);
25
- }
26
-
27
- var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
28
- var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
29
- var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
30
-
31
- /*! *****************************************************************************
32
- Copyright (c) Microsoft Corporation.
33
-
34
- Permission to use, copy, modify, and/or distribute this software for any
35
- purpose with or without fee is hereby granted.
36
-
37
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
38
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
39
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
40
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
41
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
42
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
43
- PERFORMANCE OF THIS SOFTWARE.
44
- ***************************************************************************** */
45
- /* global Reflect, Promise */
46
- var extendStatics = function (d, b) {
47
- extendStatics = Object.setPrototypeOf ||
48
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
49
- function (d, b) { for (var p in b)
50
- if (Object.prototype.hasOwnProperty.call(b, p))
51
- d[p] = b[p]; };
52
- return extendStatics(d, b);
53
- };
54
- function __extends(d, b) {
55
- if (typeof b !== "function" && b !== null)
56
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
57
- extendStatics(d, b);
58
- function __() { this.constructor = d; }
59
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
60
- }
61
- var __assign = function () {
62
- __assign = Object.assign || function __assign(t) {
63
- for (var s, i = 1, n = arguments.length; i < n; i++) {
64
- s = arguments[i];
65
- for (var p in s)
66
- if (Object.prototype.hasOwnProperty.call(s, p))
67
- t[p] = s[p];
68
- }
69
- return t;
70
- };
71
- return __assign.apply(this, arguments);
72
- };
73
- function __rest(s, e) {
74
- var t = {};
75
- for (var p in s)
76
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
77
- t[p] = s[p];
78
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
79
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
80
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
81
- t[p[i]] = s[p[i]];
82
- }
83
- return t;
84
- }
85
- function __decorate(decorators, target, key, desc) {
86
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
87
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
88
- r = Reflect.decorate(decorators, target, key, desc);
89
- else
90
- for (var i = decorators.length - 1; i >= 0; i--)
91
- if (d = decorators[i])
92
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
93
- return c > 3 && r && Object.defineProperty(target, key, r), r;
94
- }
95
- function __param(paramIndex, decorator) {
96
- return function (target, key) { decorator(target, key, paramIndex); };
97
- }
98
- function __metadata(metadataKey, metadataValue) {
99
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
100
- return Reflect.metadata(metadataKey, metadataValue);
101
- }
102
- function __awaiter(thisArg, _arguments, P, generator) {
103
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
104
- return new (P || (P = Promise))(function (resolve, reject) {
105
- function fulfilled(value) { try {
106
- step(generator.next(value));
107
- }
108
- catch (e) {
109
- reject(e);
110
- } }
111
- function rejected(value) { try {
112
- step(generator["throw"](value));
113
- }
114
- catch (e) {
115
- reject(e);
116
- } }
117
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
118
- step((generator = generator.apply(thisArg, _arguments || [])).next());
119
- });
120
- }
121
- function __generator(thisArg, body) {
122
- var _ = { label: 0, sent: function () { if (t[0] & 1)
123
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
124
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
125
- function verb(n) { return function (v) { return step([n, v]); }; }
126
- function step(op) {
127
- if (f)
128
- throw new TypeError("Generator is already executing.");
129
- while (_)
130
- try {
131
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
132
- return t;
133
- if (y = 0, t)
134
- op = [op[0] & 2, t.value];
135
- switch (op[0]) {
136
- case 0:
137
- case 1:
138
- t = op;
139
- break;
140
- case 4:
141
- _.label++;
142
- return { value: op[1], done: false };
143
- case 5:
144
- _.label++;
145
- y = op[1];
146
- op = [0];
147
- continue;
148
- case 7:
149
- op = _.ops.pop();
150
- _.trys.pop();
151
- continue;
152
- default:
153
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
154
- _ = 0;
155
- continue;
156
- }
157
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
158
- _.label = op[1];
159
- break;
160
- }
161
- if (op[0] === 6 && _.label < t[1]) {
162
- _.label = t[1];
163
- t = op;
164
- break;
165
- }
166
- if (t && _.label < t[2]) {
167
- _.label = t[2];
168
- _.ops.push(op);
169
- break;
170
- }
171
- if (t[2])
172
- _.ops.pop();
173
- _.trys.pop();
174
- continue;
175
- }
176
- op = body.call(thisArg, _);
177
- }
178
- catch (e) {
179
- op = [6, e];
180
- y = 0;
181
- }
182
- finally {
183
- f = t = 0;
184
- }
185
- if (op[0] & 5)
186
- throw op[1];
187
- return { value: op[0] ? op[1] : void 0, done: true };
188
- }
189
- }
190
- var __createBinding = Object.create ? (function (o, m, k, k2) {
191
- if (k2 === undefined)
192
- k2 = k;
193
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
194
- }) : (function (o, m, k, k2) {
195
- if (k2 === undefined)
196
- k2 = k;
197
- o[k2] = m[k];
198
- });
199
- function __exportStar(m, o) {
200
- for (var p in m)
201
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
202
- __createBinding(o, m, p);
203
- }
204
- function __values(o) {
205
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
206
- if (m)
207
- return m.call(o);
208
- if (o && typeof o.length === "number")
209
- return {
210
- next: function () {
211
- if (o && i >= o.length)
212
- o = void 0;
213
- return { value: o && o[i++], done: !o };
214
- }
215
- };
216
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
217
- }
218
- function __read(o, n) {
219
- var m = typeof Symbol === "function" && o[Symbol.iterator];
220
- if (!m)
221
- return o;
222
- var i = m.call(o), r, ar = [], e;
223
- try {
224
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
225
- ar.push(r.value);
226
- }
227
- catch (error) {
228
- e = { error: error };
229
- }
230
- finally {
231
- try {
232
- if (r && !r.done && (m = i["return"]))
233
- m.call(i);
234
- }
235
- finally {
236
- if (e)
237
- throw e.error;
238
- }
239
- }
240
- return ar;
241
- }
242
- /** @deprecated */
243
- function __spread() {
244
- for (var ar = [], i = 0; i < arguments.length; i++)
245
- ar = ar.concat(__read(arguments[i]));
246
- return ar;
247
- }
248
- /** @deprecated */
249
- function __spreadArrays() {
250
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
251
- s += arguments[i].length;
252
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
253
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
254
- r[k] = a[j];
255
- return r;
256
- }
257
- function __spreadArray(to, from) {
258
- for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
259
- to[j] = from[i];
260
- return to;
261
- }
262
- function __await(v) {
263
- return this instanceof __await ? (this.v = v, this) : new __await(v);
264
- }
265
- function __asyncGenerator(thisArg, _arguments, generator) {
266
- if (!Symbol.asyncIterator)
267
- throw new TypeError("Symbol.asyncIterator is not defined.");
268
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
269
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
270
- function verb(n) { if (g[n])
271
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
272
- function resume(n, v) { try {
273
- step(g[n](v));
274
- }
275
- catch (e) {
276
- settle(q[0][3], e);
277
- } }
278
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
279
- function fulfill(value) { resume("next", value); }
280
- function reject(value) { resume("throw", value); }
281
- function settle(f, v) { if (f(v), q.shift(), q.length)
282
- resume(q[0][0], q[0][1]); }
283
- }
284
- function __asyncDelegator(o) {
285
- var i, p;
286
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
287
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
288
- }
289
- function __asyncValues(o) {
290
- if (!Symbol.asyncIterator)
291
- throw new TypeError("Symbol.asyncIterator is not defined.");
292
- var m = o[Symbol.asyncIterator], i;
293
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
294
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
295
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
296
- }
297
- function __makeTemplateObject(cooked, raw) {
298
- if (Object.defineProperty) {
299
- Object.defineProperty(cooked, "raw", { value: raw });
300
- }
301
- else {
302
- cooked.raw = raw;
303
- }
304
- return cooked;
305
- }
306
- ;
307
- var __setModuleDefault = Object.create ? (function (o, v) {
308
- Object.defineProperty(o, "default", { enumerable: true, value: v });
309
- }) : function (o, v) {
310
- o["default"] = v;
311
- };
312
- function __importStar(mod) {
313
- if (mod && mod.__esModule)
314
- return mod;
315
- var result = {};
316
- if (mod != null)
317
- for (var k in mod)
318
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
319
- __createBinding(result, mod, k);
320
- __setModuleDefault(result, mod);
321
- return result;
322
- }
323
- function __importDefault(mod) {
324
- return (mod && mod.__esModule) ? mod : { default: mod };
325
- }
326
- function __classPrivateFieldGet(receiver, state, kind, f) {
327
- if (kind === "a" && !f)
328
- throw new TypeError("Private accessor was defined without a getter");
329
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
330
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
331
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
332
- }
333
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
334
- if (kind === "m")
335
- throw new TypeError("Private method is not writable");
336
- if (kind === "a" && !f)
337
- throw new TypeError("Private accessor was defined without a setter");
338
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
339
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
340
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
341
- }
342
-
343
- function RxapOpenApiRemoteMethod(operationId, serverIndex) {
344
- if (serverIndex === void 0) { serverIndex = 0; }
345
- return function (target) {
346
- remoteMethod.RxapRemoteMethod({ id: operationId, serverIndex: serverIndex })(target);
347
- };
348
- }
349
- exports.OpenApiRemoteMethod = /** @class */ (function (_super) {
350
- __extends(OpenApiRemoteMethod, _super);
351
- function OpenApiRemoteMethod(http, injector, openApiConfigService, metadata, strict) {
352
- if (metadata === void 0) { metadata = null; }
353
- if (strict === void 0) { strict = null; }
354
- var _this = this;
355
- var _a, _b;
356
- _this = _super.call(this, http, injector, metadata) || this;
357
- _this.strict = false;
358
- var operation;
359
- if (!_this.metadata.operation) {
360
- _this.metadata.operation = operation = openApiConfigService.getOperation(_this.metadata.id);
361
- }
362
- else {
363
- operation = _this.metadata.operation;
364
- }
365
- _this.applyMetadata({
366
- id: operation.operationId,
367
- url: function () { return utilities.joinPath(openApiConfigService.getBaseUrl(_this.metadata.serverIndex), operation.path); },
368
- method: operation.method,
369
- withCredentials: (_a = _this.metadata.withCredentials) !== null && _a !== void 0 ? _a : true,
370
- ignoreUndefined: (_b = _this.metadata.ignoreUndefined) !== null && _b !== void 0 ? _b : true,
371
- });
372
- _this.strict = strict || _this.metadata.strict || false;
373
- return _this;
374
- }
375
- Object.defineProperty(OpenApiRemoteMethod.prototype, "operation", {
376
- get: function () {
377
- return this.metadata.operation;
378
- },
379
- enumerable: false,
380
- configurable: true
381
- });
382
- OpenApiRemoteMethod.prototype._call = function (args) {
383
- if (args === void 0) { args = {}; }
384
- return __awaiter(this, void 0, void 0, function () {
385
- var response;
386
- return __generator(this, function (_c) {
387
- switch (_c.label) {
388
- case 0:
389
- this.validateParameters(this.operation, args.parameters, this.strict);
390
- this.validateRequestBody(this.operation, args.requestBody, this.strict);
391
- return [4 /*yield*/, this._callWithResponse(args)];
392
- case 1:
393
- response = _c.sent();
394
- if (response.body) {
395
- return [2 /*return*/, response.body];
396
- }
397
- console.warn('The response body is empty!');
398
- return [2 /*return*/, null];
399
- }
400
- });
401
- });
402
- };
403
- /**
404
- * Instead of returning the response body the full response object is returned
405
- */
406
- OpenApiRemoteMethod.prototype.callWithResponse = function (args) {
407
- if (args === void 0) { args = {}; }
408
- return __awaiter(this, void 0, void 0, function () {
409
- var result;
410
- return __generator(this, function (_c) {
411
- switch (_c.label) {
412
- case 0:
413
- this.init();
414
- this.executionsInProgress$.increase();
415
- return [4 /*yield*/, this._callWithResponse(args)];
416
- case 1:
417
- result = _c.sent();
418
- this.executionsInProgress$.decrease();
419
- if (result.body) {
420
- this.executed$.next(result.body);
421
- this.executed(result.body);
422
- }
423
- return [2 /*return*/, result];
424
- }
425
- });
426
- });
427
- };
428
- // TODO : update to the new call method concept (the remove of the _call method concept)
429
- OpenApiRemoteMethod.prototype._callWithResponse = function (args) {
430
- var _this = this;
431
- if (args === void 0) { args = {}; }
432
- var _a;
433
- this.validateParameters(this.operation, args.parameters, this.strict);
434
- this.validateRequestBody(this.operation, args.requestBody, this.strict);
435
- return this.http.request(this.updateRequest(this.buildHttpOptions(this.operation, args.parameters, args.requestBody, this.metadata.ignoreUndefined))).pipe(operators.retry((_a = this.metadata.retry) !== null && _a !== void 0 ? _a : 0), operators.catchError(function (response) {
436
- var _a;
437
- (_a = _this.interceptors) === null || _a === void 0 ? void 0 : _a.forEach(function (interceptor) { return interceptor
438
- .next({ response: response, parameters: args.parameters, requestBody: args.requestBody }); });
439
- return rxjs.throwError(response);
440
- }), operators.filter(function (event) { return event.type === i1.HttpEventType.Response; }), operators.tap(function (response) { return _this.validateResponse(_this.operation, response, _this.strict); }), operators.tap(function (response) {
441
- var _a;
442
- (_a = _this.interceptors) === null || _a === void 0 ? void 0 : _a.forEach(function (interceptor) { return interceptor
443
- .next({ response: response, parameters: args.parameters, requestBody: args.requestBody }); });
444
- }), operators.take(1), operators.timeout(this.timeout)).toPromise();
445
- };
446
- return OpenApiRemoteMethod;
447
- }(http.BaseHttpRemoteMethod));
448
- exports.OpenApiRemoteMethod.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: exports.OpenApiRemoteMethod, deps: [{ token: i1.HttpClient }, { token: i0.Injector }, { token: i2.OpenApiConfigService }, { token: i2.DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA, optional: true }, { token: i2.RXAP_OPEN_API_STRICT_VALIDATOR, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
449
- exports.OpenApiRemoteMethod.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: exports.OpenApiRemoteMethod });
450
- exports.OpenApiRemoteMethod = __decorate([
451
- mixin.Mixin(i2.SchemaValidationMixin),
452
- __metadata("design:paramtypes", [i1.HttpClient,
453
- i0.Injector,
454
- i2.OpenApiConfigService, Object, Object])
455
- ], exports.OpenApiRemoteMethod);
456
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: exports.OpenApiRemoteMethod, decorators: [{
457
- type: i0.Injectable
458
- }], ctorParameters: function () {
459
- return [{ type: i1__namespace.HttpClient, decorators: [{
460
- type: i0.Inject,
461
- args: [i1.HttpClient]
462
- }] }, { type: i0__namespace.Injector, decorators: [{
463
- type: i0.Inject,
464
- args: [i0.Injector]
465
- }] }, { type: i2__namespace.OpenApiConfigService, decorators: [{
466
- type: i0.Inject,
467
- args: [i2.OpenApiConfigService]
468
- }] }, { type: undefined, decorators: [{
469
- type: i0.Optional
470
- }, {
471
- type: i0.Inject,
472
- args: [i2.DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA]
473
- }] }, { type: undefined, decorators: [{
474
- type: i0.Optional
475
- }, {
476
- type: i0.Inject,
477
- args: [i2.RXAP_OPEN_API_STRICT_VALIDATOR]
478
- }] }];
479
- } });
480
-
481
- var OpenApiRemoteMethodLoader = /** @class */ (function () {
482
- function OpenApiRemoteMethodLoader(openApiConfig, http, injector) {
483
- this.openApiConfig = openApiConfig;
484
- this.http = http;
485
- this.injector = injector;
486
- }
487
- OpenApiRemoteMethodLoader.prototype.load = function (definitionId) {
488
- var operation = this.openApiConfig.getOperation(definitionId);
489
- if (operation) {
490
- return new exports.OpenApiRemoteMethod(this.http, this.injector, this.openApiConfig, {
491
- id: definitionId,
492
- operation: operation
493
- });
494
- }
495
- return null;
496
- };
497
- return OpenApiRemoteMethodLoader;
498
- }());
499
- OpenApiRemoteMethodLoader.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: OpenApiRemoteMethodLoader, deps: [{ token: i2.OpenApiConfigService }, { token: i1.HttpClient }, { token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
500
- OpenApiRemoteMethodLoader.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: OpenApiRemoteMethodLoader, providedIn: 'root' });
501
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: OpenApiRemoteMethodLoader, decorators: [{
502
- type: i0.Injectable,
503
- args: [{ providedIn: 'root' }]
504
- }], ctorParameters: function () {
505
- return [{ type: i2__namespace.OpenApiConfigService, decorators: [{
506
- type: i0.Inject,
507
- args: [i2.OpenApiConfigService]
508
- }] }, { type: i1__namespace.HttpClient, decorators: [{
509
- type: i0.Inject,
510
- args: [i1.HttpClient]
511
- }] }, { type: i0__namespace.Injector }];
512
- } });
513
-
514
- var RxapOpenApiRemoteMethodError = /** @class */ (function (_super) {
515
- __extends(RxapOpenApiRemoteMethodError, _super);
516
- function RxapOpenApiRemoteMethodError(message, code, scope) {
517
- var _this = _super.call(this, message, code, scope) || this;
518
- _this.addSubPackageName('remote-method');
519
- return _this;
520
- }
521
- return RxapOpenApiRemoteMethodError;
522
- }(i2.RxapOpenApiError));
523
-
524
- /**
525
- * Generated bundle index. Do not edit.
526
- */
527
-
528
- exports.OpenApiRemoteMethodLoader = OpenApiRemoteMethodLoader;
529
- exports.RxapOpenApiRemoteMethod = RxapOpenApiRemoteMethod;
530
- exports.RxapOpenApiRemoteMethodError = RxapOpenApiRemoteMethodError;
531
-
532
- Object.defineProperty(exports, '__esModule', { value: true });
533
-
534
- })));
535
- //# sourceMappingURL=rxap-open-api-remote-method.umd.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rxap-open-api-remote-method.umd.js","sources":["../../../../node_modules/tslib/tslib.es6.js","../../../../libs/open-api/remote-method/src/lib/open-api.remote-method.ts","../../../../libs/open-api/remote-method/src/lib/open-api-remote-method.loader.ts","../../../../libs/open-api/remote-method/src/lib/error.ts","../../../../libs/open-api/remote-method/src/rxap-open-api-remote-method.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from) {\r\n for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)\r\n to[j] = from[i];\r\n return to;\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","import {\n Inject,\n Injector,\n Optional,\n Injectable\n} from '@angular/core';\nimport {\n HttpClient,\n HttpResponse,\n HttpEventType,\n HttpErrorResponse\n} from '@angular/common/http';\nimport {\n OperationObjectWithMetadata,\n OpenApiConfigService,\n SchemaValidationMixin,\n RXAP_OPEN_API_STRICT_VALIDATOR,\n DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA\n} from '@rxap/open-api';\nimport { BaseHttpRemoteMethod } from '@rxap/remote-method/http';\nimport {\n BaseRemoteMethodMetadata,\n RxapRemoteMethod\n} from '@rxap/remote-method';\nimport { joinPath } from '@rxap/utilities';\nimport {\n filter,\n timeout,\n retry,\n catchError,\n tap,\n take\n} from 'rxjs/operators';\nimport { throwError } from 'rxjs';\nimport { Mixin } from '@rxap/mixin';\n\nexport function RxapOpenApiRemoteMethod(operationId: string, serverIndex: number = 0) {\n return function(target: any) {\n RxapRemoteMethod({ id: operationId, serverIndex })(target);\n };\n}\n\nexport interface OpenApiRemoteMethodMetadata extends BaseRemoteMethodMetadata {\n /**\n * The operation object with path and method\n */\n operation?: OperationObjectWithMetadata;\n /**\n * The index of the server object in the servers array in the open api config\n */\n serverIndex?: number;\n id: string;\n}\n\nexport interface OpenApiRemoteMethodParameter<Parameters extends Record<string, any> | void = any, RequestBody = any> {\n parameters?: Parameters,\n requestBody?: RequestBody\n}\n\nexport interface OpenApiRemoteMethod<Response = any, Parameters extends Record<string, any> | void = any, RequestBody = any>\n extends SchemaValidationMixin<Response, Parameters, RequestBody> {}\n\n@Mixin(SchemaValidationMixin)\n@Injectable()\nexport class OpenApiRemoteMethod<Response = any, Parameters extends Record<string, any> | void = any, RequestBody = any>\n extends BaseHttpRemoteMethod<Response, any, OpenApiRemoteMethodParameter<Parameters, RequestBody>> {\n\n public get operation(): OperationObjectWithMetadata {\n return this.metadata.operation;\n }\n\n private readonly strict: boolean = false;\n\n constructor(\n @Inject(HttpClient) http: HttpClient,\n @Inject(Injector) injector: Injector,\n @Inject(OpenApiConfigService) openApiConfigService: OpenApiConfigService,\n @Optional()\n @Inject(DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA)\n metadata: OpenApiRemoteMethodMetadata | null = null,\n @Optional()\n @Inject(RXAP_OPEN_API_STRICT_VALIDATOR)\n strict: boolean | null = null\n ) {\n super(http, injector, metadata);\n let operation: OperationObjectWithMetadata;\n if (!this.metadata.operation) {\n this.metadata.operation = operation = openApiConfigService.getOperation(this.metadata.id);\n } else {\n operation = this.metadata.operation;\n }\n this.applyMetadata({\n id: operation.operationId,\n url: () => joinPath(openApiConfigService.getBaseUrl(this.metadata.serverIndex), operation.path),\n method: operation.method as any,\n withCredentials: this.metadata.withCredentials ?? true,\n ignoreUndefined: this.metadata.ignoreUndefined ?? true,\n });\n this.strict = strict || this.metadata.strict || false;\n }\n\n protected async _call(args: OpenApiRemoteMethodParameter<Parameters, RequestBody> = {}): Promise<Response> {\n\n this.validateParameters(this.operation, args.parameters, this.strict);\n this.validateRequestBody(this.operation, args.requestBody, this.strict);\n\n const response = await this._callWithResponse(args);\n\n if (response.body) {\n return response.body;\n }\n\n console.warn('The response body is empty!');\n return null as any;\n }\n\n /**\n * Instead of returning the response body the full response object is returned\n */\n public async callWithResponse(args: OpenApiRemoteMethodParameter<Parameters, RequestBody> = {}): Promise<HttpResponse<Response>> {\n this.init();\n this.executionsInProgress$.increase();\n const result = await this._callWithResponse(args);\n this.executionsInProgress$.decrease();\n if (result.body) {\n this.executed$.next(result.body);\n this.executed(result.body);\n }\n return result;\n }\n\n // TODO : update to the new call method concept (the remove of the _call method concept)\n public _callWithResponse(args: OpenApiRemoteMethodParameter<Parameters, RequestBody> = {}): Promise<HttpResponse<Response>> {\n\n this.validateParameters(this.operation, args.parameters, this.strict);\n this.validateRequestBody(this.operation, args.requestBody, this.strict);\n\n return this.http.request<Response>(this.updateRequest(this.buildHttpOptions(this.operation, args.parameters, args.requestBody, this.metadata.ignoreUndefined))).pipe(\n retry(this.metadata.retry ?? 0),\n catchError((response: HttpErrorResponse) => {\n this.interceptors?.forEach(interceptor => interceptor\n .next({ response, parameters: args.parameters, requestBody: args.requestBody })\n );\n return throwError(response);\n }),\n filter((event: any) => event.type === HttpEventType.Response),\n tap((response: HttpResponse<Response>) => this.validateResponse(this.operation, response, this.strict)),\n tap((response: HttpResponse<Response>) => {\n this.interceptors?.forEach(interceptor => interceptor\n .next({ response, parameters: args.parameters, requestBody: args.requestBody })\n );\n }),\n take(1),\n timeout(this.timeout)\n ).toPromise();\n\n }\n\n}\n","import {\n Injectable,\n Injector,\n Inject\n} from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\nimport { OpenApiRemoteMethod } from './open-api.remote-method';\nimport { OpenApiConfigService } from '@rxap/open-api';\n\n@Injectable({ providedIn: 'root' })\nexport class OpenApiRemoteMethodLoader {\n\n constructor(\n @Inject(OpenApiConfigService) public readonly openApiConfig: OpenApiConfigService,\n @Inject(HttpClient) public readonly http: HttpClient,\n public readonly injector: Injector\n ) {}\n\n public load(definitionId: string): OpenApiRemoteMethod | null {\n const operation = this.openApiConfig.getOperation(definitionId);\n\n if (operation) {\n\n return new OpenApiRemoteMethod(\n this.http,\n this.injector,\n this.openApiConfig,\n {\n id: definitionId,\n operation\n }\n );\n\n }\n\n return null;\n\n }\n\n}\n","import { RxapOpenApiError } from '@rxap/open-api';\n\nexport class RxapOpenApiRemoteMethodError extends RxapOpenApiError {\n\n constructor(message: string, code?: string, scope?: string) {\n super(message, code, scope);\n this.addSubPackageName('remote-method');\n }\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["RxapRemoteMethod","OpenApiRemoteMethod","joinPath","retry","catchError","throwError","filter","HttpEventType","tap","take","timeout","BaseHttpRemoteMethod","HttpClient","Injector","OpenApiConfigService","DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA","RXAP_OPEN_API_STRICT_VALIDATOR","Mixin","SchemaValidationMixin","Injectable","Inject","Optional","RxapOpenApiError"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAA;;;;;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