@ama-sdk/client-angular 12.1.10 → 12.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/api-angular-client.js +13 -18
- package/cjs/plugins/mock-intercept/mock-intercept.angular.js +92 -98
- package/esm2015/api-angular-client.js +13 -18
- package/esm2015/plugins/mock-intercept/mock-intercept.angular.js +92 -98
- package/package.json +12 -8
- package/schematics/ng-add/index.d.ts.map +1 -1
- package/schematics/ng-add/index.js +23 -12
- package/schematics/ng-add/index.js.map +1 -1
|
@@ -142,7 +142,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
142
142
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
143
143
|
}
|
|
144
144
|
function _ts_generator(thisArg, body) {
|
|
145
|
-
var f, y, t,
|
|
145
|
+
var f, y, t, _ = {
|
|
146
146
|
label: 0,
|
|
147
147
|
sent: function() {
|
|
148
148
|
if (t[0] & 1) throw t[1];
|
|
@@ -150,12 +150,8 @@ function _ts_generator(thisArg, body) {
|
|
|
150
150
|
},
|
|
151
151
|
trys: [],
|
|
152
152
|
ops: []
|
|
153
|
-
};
|
|
154
|
-
return g = {
|
|
155
|
-
next: verb(0),
|
|
156
|
-
"throw": verb(1),
|
|
157
|
-
"return": verb(2)
|
|
158
|
-
}, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
153
|
+
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
154
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
159
155
|
return this;
|
|
160
156
|
}), g;
|
|
161
157
|
function verb(n) {
|
|
@@ -168,7 +164,7 @@ function _ts_generator(thisArg, body) {
|
|
|
168
164
|
}
|
|
169
165
|
function step(op) {
|
|
170
166
|
if (f) throw new TypeError("Generator is already executing.");
|
|
171
|
-
while(_)try {
|
|
167
|
+
while(g && (g = 0, op[0] && (_ = 0)), _)try {
|
|
172
168
|
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;
|
|
173
169
|
if (y = 0, t) op = [
|
|
174
170
|
op[0] & 2,
|
|
@@ -276,7 +272,6 @@ var ApiAngularClient = /*#__PURE__*/ function() {
|
|
|
276
272
|
{
|
|
277
273
|
key: "getRequestOptions",
|
|
278
274
|
value: /** @inheritdoc */ function getRequestOptions(requestOptionsParameters) {
|
|
279
|
-
var _this = this;
|
|
280
275
|
return _async_to_generator(function() {
|
|
281
276
|
var opts, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, plugin, _requestOptionsParameters_api, err;
|
|
282
277
|
return _ts_generator(this, function(_state) {
|
|
@@ -286,7 +281,7 @@ var ApiAngularClient = /*#__PURE__*/ function() {
|
|
|
286
281
|
headers: new Headers((0, _core.filterUndefinedValues)(requestOptionsParameters.headers)),
|
|
287
282
|
queryParams: (0, _core.filterUndefinedValues)(requestOptionsParameters.queryParams)
|
|
288
283
|
});
|
|
289
|
-
if (!
|
|
284
|
+
if (!this.options.requestPlugins) return [
|
|
290
285
|
3,
|
|
291
286
|
8
|
|
292
287
|
];
|
|
@@ -299,7 +294,7 @@ var ApiAngularClient = /*#__PURE__*/ function() {
|
|
|
299
294
|
7,
|
|
300
295
|
8
|
|
301
296
|
]);
|
|
302
|
-
_iterator =
|
|
297
|
+
_iterator = this.options.requestPlugins[Symbol.iterator]();
|
|
303
298
|
_state.label = 2;
|
|
304
299
|
case 2:
|
|
305
300
|
if (!!(_iteratorNormalCompletion = (_step = _iterator.next()).done)) return [
|
|
@@ -310,7 +305,7 @@ var ApiAngularClient = /*#__PURE__*/ function() {
|
|
|
310
305
|
return [
|
|
311
306
|
4,
|
|
312
307
|
plugin.load({
|
|
313
|
-
logger:
|
|
308
|
+
logger: this.options.logger,
|
|
314
309
|
apiName: (_requestOptionsParameters_api = requestOptionsParameters.api) === null || _requestOptionsParameters_api === void 0 ? void 0 : _requestOptionsParameters_api.apiName
|
|
315
310
|
}).transform(opts)
|
|
316
311
|
];
|
|
@@ -356,7 +351,7 @@ var ApiAngularClient = /*#__PURE__*/ function() {
|
|
|
356
351
|
];
|
|
357
352
|
}
|
|
358
353
|
});
|
|
359
|
-
})();
|
|
354
|
+
}).call(this);
|
|
360
355
|
}
|
|
361
356
|
},
|
|
362
357
|
{
|
|
@@ -405,12 +400,12 @@ var ApiAngularClient = /*#__PURE__*/ function() {
|
|
|
405
400
|
{
|
|
406
401
|
key: "processCall",
|
|
407
402
|
value: function processCall(url, options, apiType, apiName, revivers, operationId) {
|
|
408
|
-
var _this = this;
|
|
409
403
|
return _async_to_generator(function() {
|
|
410
|
-
var response, root, exception, origin, headers, asyncResponse, e, reviver, replyPlugins, parsedData, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, pluginRunner, err;
|
|
404
|
+
var _this, response, root, exception, origin, headers, asyncResponse, e, reviver, replyPlugins, parsedData, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, pluginRunner, err;
|
|
411
405
|
return _ts_generator(this, function(_state) {
|
|
412
406
|
switch(_state.label){
|
|
413
407
|
case 0:
|
|
408
|
+
_this = this;
|
|
414
409
|
origin = options.headers.get('Origin');
|
|
415
410
|
_state.label = 1;
|
|
416
411
|
case 1:
|
|
@@ -518,9 +513,9 @@ var ApiAngularClient = /*#__PURE__*/ function() {
|
|
|
518
513
|
];
|
|
519
514
|
case 4:
|
|
520
515
|
reviver = (0, _core.getResponseReviver)(revivers, response, operationId, {
|
|
521
|
-
disableFallback:
|
|
516
|
+
disableFallback: this.options.disableFallback
|
|
522
517
|
});
|
|
523
|
-
replyPlugins =
|
|
518
|
+
replyPlugins = this.options.replyPlugins ? this.options.replyPlugins.map(function(plugin) {
|
|
524
519
|
return plugin.load({
|
|
525
520
|
dictionaries: root && root.dictionaries,
|
|
526
521
|
response: response && _object_spread_props(_object_spread({}, response), {
|
|
@@ -608,7 +603,7 @@ var ApiAngularClient = /*#__PURE__*/ function() {
|
|
|
608
603
|
];
|
|
609
604
|
}
|
|
610
605
|
});
|
|
611
|
-
})();
|
|
606
|
+
}).call(this);
|
|
612
607
|
}
|
|
613
608
|
}
|
|
614
609
|
]);
|
|
@@ -119,7 +119,7 @@ function _object_spread_props(target, source) {
|
|
|
119
119
|
return target;
|
|
120
120
|
}
|
|
121
121
|
function _ts_generator(thisArg, body) {
|
|
122
|
-
var f, y, t,
|
|
122
|
+
var f, y, t, _ = {
|
|
123
123
|
label: 0,
|
|
124
124
|
sent: function() {
|
|
125
125
|
if (t[0] & 1) throw t[1];
|
|
@@ -127,12 +127,8 @@ function _ts_generator(thisArg, body) {
|
|
|
127
127
|
},
|
|
128
128
|
trys: [],
|
|
129
129
|
ops: []
|
|
130
|
-
};
|
|
131
|
-
return g = {
|
|
132
|
-
next: verb(0),
|
|
133
|
-
"throw": verb(1),
|
|
134
|
-
"return": verb(2)
|
|
135
|
-
}, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
130
|
+
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
131
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
136
132
|
return this;
|
|
137
133
|
}), g;
|
|
138
134
|
function verb(n) {
|
|
@@ -145,7 +141,7 @@ function _ts_generator(thisArg, body) {
|
|
|
145
141
|
}
|
|
146
142
|
function step(op) {
|
|
147
143
|
if (f) throw new TypeError("Generator is already executing.");
|
|
148
|
-
while(_)try {
|
|
144
|
+
while(g && (g = 0, op[0] && (_ = 0)), _)try {
|
|
149
145
|
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;
|
|
150
146
|
if (y = 0, t) op = [
|
|
151
147
|
op[0] & 2,
|
|
@@ -232,107 +228,105 @@ var MockInterceptAngular = /*#__PURE__*/ function() {
|
|
|
232
228
|
}
|
|
233
229
|
return {
|
|
234
230
|
transform: function(call) {
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
return [
|
|
242
|
-
4,
|
|
243
|
-
_this1.options.adapter.initialize()
|
|
244
|
-
];
|
|
245
|
-
case 1:
|
|
246
|
-
_state.sent();
|
|
247
|
-
originalCall = call;
|
|
248
|
-
if (!context.options.headers || !_instanceof(context.options.headers, Headers) || !context.options.headers.has(_core.CUSTOM_MOCK_OPERATION_ID_HEADER)) {
|
|
231
|
+
return (0, _rxjs.from)(function() {
|
|
232
|
+
return _async_to_generator(function() {
|
|
233
|
+
var originalCall, delayTime, _tmp, operationId, mock, response;
|
|
234
|
+
return _ts_generator(this, function(_state) {
|
|
235
|
+
switch(_state.label){
|
|
236
|
+
case 0:
|
|
249
237
|
return [
|
|
250
|
-
|
|
251
|
-
|
|
238
|
+
4,
|
|
239
|
+
this.options.adapter.initialize()
|
|
252
240
|
];
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
];
|
|
258
|
-
if (!(typeof _this1.options.delayTiming === 'number')) return [
|
|
259
|
-
3,
|
|
260
|
-
2
|
|
261
|
-
];
|
|
262
|
-
_tmp = _this1.options.delayTiming;
|
|
263
|
-
return [
|
|
264
|
-
3,
|
|
265
|
-
4
|
|
266
|
-
];
|
|
267
|
-
case 2:
|
|
268
|
-
return [
|
|
269
|
-
4,
|
|
270
|
-
_this1.options.delayTiming(_object_spread_props(_object_spread({}, context), {
|
|
271
|
-
fetchPlugins: [],
|
|
272
|
-
options: context.requestOptions
|
|
273
|
-
}))
|
|
274
|
-
];
|
|
275
|
-
case 3:
|
|
276
|
-
_tmp = _state.sent();
|
|
277
|
-
_state.label = 4;
|
|
278
|
-
case 4:
|
|
279
|
-
delayTime = _tmp;
|
|
280
|
-
originalCall = originalCall.pipe((0, _rxjs.delay)(delayTime));
|
|
281
|
-
_state.label = 5;
|
|
282
|
-
case 5:
|
|
283
|
-
operationId = context.options.headers.get(_core.CUSTOM_MOCK_OPERATION_ID_HEADER);
|
|
284
|
-
try {
|
|
285
|
-
mock = _this1.options.adapter.getLatestMock(operationId);
|
|
286
|
-
if (!mock.getResponse) {
|
|
241
|
+
case 1:
|
|
242
|
+
_state.sent();
|
|
243
|
+
originalCall = call;
|
|
244
|
+
if (!context.options.headers || !_instanceof(context.options.headers, Headers) || !context.options.headers.has(_core.CUSTOM_MOCK_OPERATION_ID_HEADER)) {
|
|
287
245
|
return [
|
|
288
246
|
2,
|
|
289
247
|
originalCall
|
|
290
248
|
];
|
|
291
249
|
}
|
|
292
|
-
|
|
250
|
+
if (!(typeof this.options.delayTiming !== 'undefined')) return [
|
|
251
|
+
3,
|
|
252
|
+
5
|
|
253
|
+
];
|
|
254
|
+
if (!(typeof this.options.delayTiming === 'number')) return [
|
|
255
|
+
3,
|
|
256
|
+
2
|
|
257
|
+
];
|
|
258
|
+
_tmp = this.options.delayTiming;
|
|
293
259
|
return [
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
var _ref = _async_to_generator(function(res) {
|
|
297
|
-
var body, responseCloned;
|
|
298
|
-
return _ts_generator(this, function(_state) {
|
|
299
|
-
switch(_state.label){
|
|
300
|
-
case 0:
|
|
301
|
-
return [
|
|
302
|
-
4,
|
|
303
|
-
response.json()
|
|
304
|
-
];
|
|
305
|
-
case 1:
|
|
306
|
-
body = _state.sent();
|
|
307
|
-
responseCloned = res.clone();
|
|
308
|
-
return [
|
|
309
|
-
2,
|
|
310
|
-
new _http.HttpResponse(_object_spread_props(_object_spread({}, responseCloned), {
|
|
311
|
-
body: body,
|
|
312
|
-
url: responseCloned.url || undefined
|
|
313
|
-
}))
|
|
314
|
-
];
|
|
315
|
-
}
|
|
316
|
-
});
|
|
317
|
-
});
|
|
318
|
-
return function(res) {
|
|
319
|
-
return _ref.apply(this, arguments);
|
|
320
|
-
};
|
|
321
|
-
}()))
|
|
260
|
+
3,
|
|
261
|
+
4
|
|
322
262
|
];
|
|
323
|
-
|
|
324
|
-
|
|
263
|
+
case 2:
|
|
264
|
+
return [
|
|
265
|
+
4,
|
|
266
|
+
this.options.delayTiming(_object_spread_props(_object_spread({}, context), {
|
|
267
|
+
fetchPlugins: [],
|
|
268
|
+
options: context.requestOptions
|
|
269
|
+
}))
|
|
270
|
+
];
|
|
271
|
+
case 3:
|
|
272
|
+
_tmp = _state.sent();
|
|
273
|
+
_state.label = 4;
|
|
274
|
+
case 4:
|
|
275
|
+
delayTime = _tmp;
|
|
276
|
+
originalCall = originalCall.pipe((0, _rxjs.delay)(delayTime));
|
|
277
|
+
_state.label = 5;
|
|
278
|
+
case 5:
|
|
279
|
+
operationId = context.options.headers.get(_core.CUSTOM_MOCK_OPERATION_ID_HEADER);
|
|
280
|
+
try {
|
|
281
|
+
mock = this.options.adapter.getLatestMock(operationId);
|
|
282
|
+
if (!mock.getResponse) {
|
|
283
|
+
return [
|
|
284
|
+
2,
|
|
285
|
+
originalCall
|
|
286
|
+
];
|
|
287
|
+
}
|
|
288
|
+
response = mock.getResponse();
|
|
289
|
+
return [
|
|
290
|
+
2,
|
|
291
|
+
originalCall.pipe((0, _rxjs.mergeMap)(function(res) {
|
|
292
|
+
return _async_to_generator(function() {
|
|
293
|
+
var body, responseCloned;
|
|
294
|
+
return _ts_generator(this, function(_state) {
|
|
295
|
+
switch(_state.label){
|
|
296
|
+
case 0:
|
|
297
|
+
return [
|
|
298
|
+
4,
|
|
299
|
+
response.json()
|
|
300
|
+
];
|
|
301
|
+
case 1:
|
|
302
|
+
body = _state.sent();
|
|
303
|
+
responseCloned = res.clone();
|
|
304
|
+
return [
|
|
305
|
+
2,
|
|
306
|
+
new _http.HttpResponse(_object_spread_props(_object_spread({}, responseCloned), {
|
|
307
|
+
body: body,
|
|
308
|
+
url: responseCloned.url || undefined
|
|
309
|
+
}))
|
|
310
|
+
];
|
|
311
|
+
}
|
|
312
|
+
});
|
|
313
|
+
})();
|
|
314
|
+
}))
|
|
315
|
+
];
|
|
316
|
+
} catch (e) {
|
|
317
|
+
(context.logger || console).error("Failed to retrieve the latest mock for Operation ID ".concat(operationId, ", fallback to default mock"));
|
|
318
|
+
return [
|
|
319
|
+
2,
|
|
320
|
+
originalCall
|
|
321
|
+
];
|
|
322
|
+
}
|
|
325
323
|
return [
|
|
326
|
-
2
|
|
327
|
-
originalCall
|
|
324
|
+
2
|
|
328
325
|
];
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
}
|
|
334
|
-
});
|
|
335
|
-
})()).pipe((0, _rxjs.mergeMap)(function(res) {
|
|
326
|
+
}
|
|
327
|
+
});
|
|
328
|
+
}).call(_this);
|
|
329
|
+
}()).pipe((0, _rxjs.mergeMap)(function(res) {
|
|
336
330
|
return res;
|
|
337
331
|
}));
|
|
338
332
|
}
|
|
@@ -131,7 +131,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
131
131
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
132
132
|
}
|
|
133
133
|
function _ts_generator(thisArg, body) {
|
|
134
|
-
var f, y, t,
|
|
134
|
+
var f, y, t, _ = {
|
|
135
135
|
label: 0,
|
|
136
136
|
sent: function() {
|
|
137
137
|
if (t[0] & 1) throw t[1];
|
|
@@ -139,12 +139,8 @@ function _ts_generator(thisArg, body) {
|
|
|
139
139
|
},
|
|
140
140
|
trys: [],
|
|
141
141
|
ops: []
|
|
142
|
-
};
|
|
143
|
-
return g = {
|
|
144
|
-
next: verb(0),
|
|
145
|
-
"throw": verb(1),
|
|
146
|
-
"return": verb(2)
|
|
147
|
-
}, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
142
|
+
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
143
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
148
144
|
return this;
|
|
149
145
|
}), g;
|
|
150
146
|
function verb(n) {
|
|
@@ -157,7 +153,7 @@ function _ts_generator(thisArg, body) {
|
|
|
157
153
|
}
|
|
158
154
|
function step(op) {
|
|
159
155
|
if (f) throw new TypeError("Generator is already executing.");
|
|
160
|
-
while(_)try {
|
|
156
|
+
while(g && (g = 0, op[0] && (_ = 0)), _)try {
|
|
161
157
|
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;
|
|
162
158
|
if (y = 0, t) op = [
|
|
163
159
|
op[0] & 2,
|
|
@@ -266,7 +262,6 @@ var DEFAULT_OPTIONS = {
|
|
|
266
262
|
{
|
|
267
263
|
key: "getRequestOptions",
|
|
268
264
|
value: /** @inheritdoc */ function getRequestOptions(requestOptionsParameters) {
|
|
269
|
-
var _this = this;
|
|
270
265
|
return _async_to_generator(function() {
|
|
271
266
|
var opts, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, plugin, _requestOptionsParameters_api, err;
|
|
272
267
|
return _ts_generator(this, function(_state) {
|
|
@@ -276,7 +271,7 @@ var DEFAULT_OPTIONS = {
|
|
|
276
271
|
headers: new Headers(filterUndefinedValues(requestOptionsParameters.headers)),
|
|
277
272
|
queryParams: filterUndefinedValues(requestOptionsParameters.queryParams)
|
|
278
273
|
});
|
|
279
|
-
if (!
|
|
274
|
+
if (!this.options.requestPlugins) return [
|
|
280
275
|
3,
|
|
281
276
|
8
|
|
282
277
|
];
|
|
@@ -289,7 +284,7 @@ var DEFAULT_OPTIONS = {
|
|
|
289
284
|
7,
|
|
290
285
|
8
|
|
291
286
|
]);
|
|
292
|
-
_iterator =
|
|
287
|
+
_iterator = this.options.requestPlugins[Symbol.iterator]();
|
|
293
288
|
_state.label = 2;
|
|
294
289
|
case 2:
|
|
295
290
|
if (!!(_iteratorNormalCompletion = (_step = _iterator.next()).done)) return [
|
|
@@ -300,7 +295,7 @@ var DEFAULT_OPTIONS = {
|
|
|
300
295
|
return [
|
|
301
296
|
4,
|
|
302
297
|
plugin.load({
|
|
303
|
-
logger:
|
|
298
|
+
logger: this.options.logger,
|
|
304
299
|
apiName: (_requestOptionsParameters_api = requestOptionsParameters.api) === null || _requestOptionsParameters_api === void 0 ? void 0 : _requestOptionsParameters_api.apiName
|
|
305
300
|
}).transform(opts)
|
|
306
301
|
];
|
|
@@ -346,7 +341,7 @@ var DEFAULT_OPTIONS = {
|
|
|
346
341
|
];
|
|
347
342
|
}
|
|
348
343
|
});
|
|
349
|
-
})();
|
|
344
|
+
}).call(this);
|
|
350
345
|
}
|
|
351
346
|
},
|
|
352
347
|
{
|
|
@@ -395,12 +390,12 @@ var DEFAULT_OPTIONS = {
|
|
|
395
390
|
{
|
|
396
391
|
key: "processCall",
|
|
397
392
|
value: function processCall(url, options, apiType, apiName, revivers, operationId) {
|
|
398
|
-
var _this = this;
|
|
399
393
|
return _async_to_generator(function() {
|
|
400
|
-
var response, root, exception, origin, headers, asyncResponse, e, reviver, replyPlugins, parsedData, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, pluginRunner, err;
|
|
394
|
+
var _this, response, root, exception, origin, headers, asyncResponse, e, reviver, replyPlugins, parsedData, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, pluginRunner, err;
|
|
401
395
|
return _ts_generator(this, function(_state) {
|
|
402
396
|
switch(_state.label){
|
|
403
397
|
case 0:
|
|
398
|
+
_this = this;
|
|
404
399
|
origin = options.headers.get('Origin');
|
|
405
400
|
_state.label = 1;
|
|
406
401
|
case 1:
|
|
@@ -508,9 +503,9 @@ var DEFAULT_OPTIONS = {
|
|
|
508
503
|
];
|
|
509
504
|
case 4:
|
|
510
505
|
reviver = getResponseReviver(revivers, response, operationId, {
|
|
511
|
-
disableFallback:
|
|
506
|
+
disableFallback: this.options.disableFallback
|
|
512
507
|
});
|
|
513
|
-
replyPlugins =
|
|
508
|
+
replyPlugins = this.options.replyPlugins ? this.options.replyPlugins.map(function(plugin) {
|
|
514
509
|
return plugin.load({
|
|
515
510
|
dictionaries: root && root.dictionaries,
|
|
516
511
|
response: response && _object_spread_props(_object_spread({}, response), {
|
|
@@ -598,7 +593,7 @@ var DEFAULT_OPTIONS = {
|
|
|
598
593
|
];
|
|
599
594
|
}
|
|
600
595
|
});
|
|
601
|
-
})();
|
|
596
|
+
}).call(this);
|
|
602
597
|
}
|
|
603
598
|
}
|
|
604
599
|
]);
|
|
@@ -106,7 +106,7 @@ function _object_spread_props(target, source) {
|
|
|
106
106
|
return target;
|
|
107
107
|
}
|
|
108
108
|
function _ts_generator(thisArg, body) {
|
|
109
|
-
var f, y, t,
|
|
109
|
+
var f, y, t, _ = {
|
|
110
110
|
label: 0,
|
|
111
111
|
sent: function() {
|
|
112
112
|
if (t[0] & 1) throw t[1];
|
|
@@ -114,12 +114,8 @@ function _ts_generator(thisArg, body) {
|
|
|
114
114
|
},
|
|
115
115
|
trys: [],
|
|
116
116
|
ops: []
|
|
117
|
-
};
|
|
118
|
-
return g = {
|
|
119
|
-
next: verb(0),
|
|
120
|
-
"throw": verb(1),
|
|
121
|
-
"return": verb(2)
|
|
122
|
-
}, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
117
|
+
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
118
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
123
119
|
return this;
|
|
124
120
|
}), g;
|
|
125
121
|
function verb(n) {
|
|
@@ -132,7 +128,7 @@ function _ts_generator(thisArg, body) {
|
|
|
132
128
|
}
|
|
133
129
|
function step(op) {
|
|
134
130
|
if (f) throw new TypeError("Generator is already executing.");
|
|
135
|
-
while(_)try {
|
|
131
|
+
while(g && (g = 0, op[0] && (_ = 0)), _)try {
|
|
136
132
|
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;
|
|
137
133
|
if (y = 0, t) op = [
|
|
138
134
|
op[0] & 2,
|
|
@@ -227,107 +223,105 @@ import { delay, from, mergeMap } from 'rxjs';
|
|
|
227
223
|
}
|
|
228
224
|
return {
|
|
229
225
|
transform: function(call) {
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
return [
|
|
237
|
-
4,
|
|
238
|
-
_this1.options.adapter.initialize()
|
|
239
|
-
];
|
|
240
|
-
case 1:
|
|
241
|
-
_state.sent();
|
|
242
|
-
originalCall = call;
|
|
243
|
-
if (!context.options.headers || !_instanceof(context.options.headers, Headers) || !context.options.headers.has(CUSTOM_MOCK_OPERATION_ID_HEADER)) {
|
|
226
|
+
return from(function() {
|
|
227
|
+
return _async_to_generator(function() {
|
|
228
|
+
var originalCall, delayTime, _tmp, operationId, mock, response;
|
|
229
|
+
return _ts_generator(this, function(_state) {
|
|
230
|
+
switch(_state.label){
|
|
231
|
+
case 0:
|
|
244
232
|
return [
|
|
245
|
-
|
|
246
|
-
|
|
233
|
+
4,
|
|
234
|
+
this.options.adapter.initialize()
|
|
247
235
|
];
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
];
|
|
253
|
-
if (!(typeof _this1.options.delayTiming === 'number')) return [
|
|
254
|
-
3,
|
|
255
|
-
2
|
|
256
|
-
];
|
|
257
|
-
_tmp = _this1.options.delayTiming;
|
|
258
|
-
return [
|
|
259
|
-
3,
|
|
260
|
-
4
|
|
261
|
-
];
|
|
262
|
-
case 2:
|
|
263
|
-
return [
|
|
264
|
-
4,
|
|
265
|
-
_this1.options.delayTiming(_object_spread_props(_object_spread({}, context), {
|
|
266
|
-
fetchPlugins: [],
|
|
267
|
-
options: context.requestOptions
|
|
268
|
-
}))
|
|
269
|
-
];
|
|
270
|
-
case 3:
|
|
271
|
-
_tmp = _state.sent();
|
|
272
|
-
_state.label = 4;
|
|
273
|
-
case 4:
|
|
274
|
-
delayTime = _tmp;
|
|
275
|
-
originalCall = originalCall.pipe(delay(delayTime));
|
|
276
|
-
_state.label = 5;
|
|
277
|
-
case 5:
|
|
278
|
-
operationId = context.options.headers.get(CUSTOM_MOCK_OPERATION_ID_HEADER);
|
|
279
|
-
try {
|
|
280
|
-
mock = _this1.options.adapter.getLatestMock(operationId);
|
|
281
|
-
if (!mock.getResponse) {
|
|
236
|
+
case 1:
|
|
237
|
+
_state.sent();
|
|
238
|
+
originalCall = call;
|
|
239
|
+
if (!context.options.headers || !_instanceof(context.options.headers, Headers) || !context.options.headers.has(CUSTOM_MOCK_OPERATION_ID_HEADER)) {
|
|
282
240
|
return [
|
|
283
241
|
2,
|
|
284
242
|
originalCall
|
|
285
243
|
];
|
|
286
244
|
}
|
|
287
|
-
|
|
245
|
+
if (!(typeof this.options.delayTiming !== 'undefined')) return [
|
|
246
|
+
3,
|
|
247
|
+
5
|
|
248
|
+
];
|
|
249
|
+
if (!(typeof this.options.delayTiming === 'number')) return [
|
|
250
|
+
3,
|
|
251
|
+
2
|
|
252
|
+
];
|
|
253
|
+
_tmp = this.options.delayTiming;
|
|
288
254
|
return [
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
var _ref = _async_to_generator(function(res) {
|
|
292
|
-
var body, responseCloned;
|
|
293
|
-
return _ts_generator(this, function(_state) {
|
|
294
|
-
switch(_state.label){
|
|
295
|
-
case 0:
|
|
296
|
-
return [
|
|
297
|
-
4,
|
|
298
|
-
response.json()
|
|
299
|
-
];
|
|
300
|
-
case 1:
|
|
301
|
-
body = _state.sent();
|
|
302
|
-
responseCloned = res.clone();
|
|
303
|
-
return [
|
|
304
|
-
2,
|
|
305
|
-
new HttpResponse(_object_spread_props(_object_spread({}, responseCloned), {
|
|
306
|
-
body: body,
|
|
307
|
-
url: responseCloned.url || undefined
|
|
308
|
-
}))
|
|
309
|
-
];
|
|
310
|
-
}
|
|
311
|
-
});
|
|
312
|
-
});
|
|
313
|
-
return function(res) {
|
|
314
|
-
return _ref.apply(this, arguments);
|
|
315
|
-
};
|
|
316
|
-
}()))
|
|
255
|
+
3,
|
|
256
|
+
4
|
|
317
257
|
];
|
|
318
|
-
|
|
319
|
-
|
|
258
|
+
case 2:
|
|
259
|
+
return [
|
|
260
|
+
4,
|
|
261
|
+
this.options.delayTiming(_object_spread_props(_object_spread({}, context), {
|
|
262
|
+
fetchPlugins: [],
|
|
263
|
+
options: context.requestOptions
|
|
264
|
+
}))
|
|
265
|
+
];
|
|
266
|
+
case 3:
|
|
267
|
+
_tmp = _state.sent();
|
|
268
|
+
_state.label = 4;
|
|
269
|
+
case 4:
|
|
270
|
+
delayTime = _tmp;
|
|
271
|
+
originalCall = originalCall.pipe(delay(delayTime));
|
|
272
|
+
_state.label = 5;
|
|
273
|
+
case 5:
|
|
274
|
+
operationId = context.options.headers.get(CUSTOM_MOCK_OPERATION_ID_HEADER);
|
|
275
|
+
try {
|
|
276
|
+
mock = this.options.adapter.getLatestMock(operationId);
|
|
277
|
+
if (!mock.getResponse) {
|
|
278
|
+
return [
|
|
279
|
+
2,
|
|
280
|
+
originalCall
|
|
281
|
+
];
|
|
282
|
+
}
|
|
283
|
+
response = mock.getResponse();
|
|
284
|
+
return [
|
|
285
|
+
2,
|
|
286
|
+
originalCall.pipe(mergeMap(function(res) {
|
|
287
|
+
return _async_to_generator(function() {
|
|
288
|
+
var body, responseCloned;
|
|
289
|
+
return _ts_generator(this, function(_state) {
|
|
290
|
+
switch(_state.label){
|
|
291
|
+
case 0:
|
|
292
|
+
return [
|
|
293
|
+
4,
|
|
294
|
+
response.json()
|
|
295
|
+
];
|
|
296
|
+
case 1:
|
|
297
|
+
body = _state.sent();
|
|
298
|
+
responseCloned = res.clone();
|
|
299
|
+
return [
|
|
300
|
+
2,
|
|
301
|
+
new HttpResponse(_object_spread_props(_object_spread({}, responseCloned), {
|
|
302
|
+
body: body,
|
|
303
|
+
url: responseCloned.url || undefined
|
|
304
|
+
}))
|
|
305
|
+
];
|
|
306
|
+
}
|
|
307
|
+
});
|
|
308
|
+
})();
|
|
309
|
+
}))
|
|
310
|
+
];
|
|
311
|
+
} catch (e) {
|
|
312
|
+
(context.logger || console).error("Failed to retrieve the latest mock for Operation ID ".concat(operationId, ", fallback to default mock"));
|
|
313
|
+
return [
|
|
314
|
+
2,
|
|
315
|
+
originalCall
|
|
316
|
+
];
|
|
317
|
+
}
|
|
320
318
|
return [
|
|
321
|
-
2
|
|
322
|
-
originalCall
|
|
319
|
+
2
|
|
323
320
|
];
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
}
|
|
329
|
-
});
|
|
330
|
-
})()).pipe(mergeMap(function(res) {
|
|
321
|
+
}
|
|
322
|
+
});
|
|
323
|
+
}).call(_this);
|
|
324
|
+
}()).pipe(mergeMap(function(res) {
|
|
331
325
|
return res;
|
|
332
326
|
}));
|
|
333
327
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ama-sdk/client-angular",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.11",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -44,13 +44,14 @@
|
|
|
44
44
|
"uuid": "^11.0.5"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@ama-sdk/core": "^12.1.
|
|
47
|
+
"@ama-sdk/core": "^12.1.11",
|
|
48
48
|
"@angular-devkit/schematics": "^19.0.0",
|
|
49
49
|
"@angular/cli": "^19.0.0",
|
|
50
50
|
"@angular/common": "^19.0.0",
|
|
51
|
-
"@o3r/schematics": "^12.1.
|
|
51
|
+
"@o3r/schematics": "^12.1.11",
|
|
52
52
|
"@schematics/angular": "^19.0.0",
|
|
53
53
|
"rxjs": "^7.8.1",
|
|
54
|
+
"type-fest": "^4.30.1",
|
|
54
55
|
"typescript": "^5.5.4"
|
|
55
56
|
},
|
|
56
57
|
"peerDependenciesMeta": {
|
|
@@ -69,12 +70,15 @@
|
|
|
69
70
|
"@schematics/angular": {
|
|
70
71
|
"optional": true
|
|
71
72
|
},
|
|
73
|
+
"type-fest": {
|
|
74
|
+
"optional": true
|
|
75
|
+
},
|
|
72
76
|
"typescript": {
|
|
73
77
|
"optional": true
|
|
74
78
|
}
|
|
75
79
|
},
|
|
76
80
|
"devDependencies": {
|
|
77
|
-
"@ama-sdk/core": "^12.1.
|
|
81
|
+
"@ama-sdk/core": "^12.1.11",
|
|
78
82
|
"@angular-devkit/core": "~19.2.0",
|
|
79
83
|
"@angular-devkit/schematics": "~19.2.0",
|
|
80
84
|
"@angular/common": "~19.2.0",
|
|
@@ -82,10 +86,10 @@
|
|
|
82
86
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
|
|
83
87
|
"@nx/eslint-plugin": "~20.4.0",
|
|
84
88
|
"@nx/jest": "~20.4.0",
|
|
85
|
-
"@o3r/build-helpers": "^12.1.
|
|
86
|
-
"@o3r/eslint-plugin": "^12.1.
|
|
87
|
-
"@o3r/schematics": "^12.1.
|
|
88
|
-
"@o3r/test-helpers": "^12.1.
|
|
89
|
+
"@o3r/build-helpers": "^12.1.11",
|
|
90
|
+
"@o3r/eslint-plugin": "^12.1.11",
|
|
91
|
+
"@o3r/schematics": "^12.1.11",
|
|
92
|
+
"@o3r/test-helpers": "^12.1.11",
|
|
89
93
|
"@schematics/angular": "~19.2.0",
|
|
90
94
|
"@stylistic/eslint-plugin": "~3.1.0",
|
|
91
95
|
"@stylistic/eslint-plugin-ts": "~3.1.0",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,IAAI,EACL,MAAM,4BAA4B,CAAC;AAOpC,OAAO,KAAK,EACV,qBAAqB,EACtB,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,IAAI,EACL,MAAM,4BAA4B,CAAC;AAOpC,OAAO,KAAK,EACV,qBAAqB,EACtB,MAAM,UAAU,CAAC;AAoFlB;;;GAGG;AACH,eAAO,MAAM,KAAK,GAAI,SAAS,qBAAqB,KAAG,IAKtD,CAAC"}
|
|
@@ -3,8 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ngAdd = void 0;
|
|
4
4
|
const path = require("node:path");
|
|
5
5
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
6
|
-
const dependencies_1 = require("@schematics/angular/utility/dependencies");
|
|
7
6
|
const import_map_1 = require("./migration/import-map");
|
|
7
|
+
/**
|
|
8
|
+
* List of external dependencies to be added to the project as peer dependencies
|
|
9
|
+
*/
|
|
10
|
+
const dependenciesToInstall = [
|
|
11
|
+
'rxjs'
|
|
12
|
+
];
|
|
13
|
+
/**
|
|
14
|
+
* List of external dependencies to be added to the project as dev dependencies
|
|
15
|
+
*/
|
|
8
16
|
const devDependenciesToInstall = [];
|
|
9
17
|
const reportMissingSchematicsDep = (logger) => (reason) => {
|
|
10
18
|
logger.error(`[ERROR]: Adding @ama-sdk/client-angular has failed.
|
|
@@ -19,7 +27,7 @@ Otherwise, use the error message as guidance.`);
|
|
|
19
27
|
function ngAddFn(options) {
|
|
20
28
|
return async (tree, context) => {
|
|
21
29
|
// use dynamic import to properly raise an exception if it is not an Otter project.
|
|
22
|
-
const { getPackageInstallConfig, applyEsLintFix, setupDependencies, getO3rPeerDeps, getProjectNewDependenciesTypes, getWorkspaceConfig,
|
|
30
|
+
const { getPackageInstallConfig, applyEsLintFix, setupDependencies, getO3rPeerDeps, getProjectNewDependenciesTypes, getWorkspaceConfig, getExternalDependenciesInfo, updateImports } = await Promise.resolve().then(() => require('@o3r/schematics'));
|
|
23
31
|
const workspaceProject = options.projectName ? getWorkspaceConfig(tree)?.projects[options.projectName] : undefined;
|
|
24
32
|
const packageJsonPath = path.resolve(__dirname, '..', '..', 'package.json');
|
|
25
33
|
const depsInfo = getO3rPeerDeps(packageJsonPath);
|
|
@@ -33,22 +41,25 @@ function ngAddFn(options) {
|
|
|
33
41
|
};
|
|
34
42
|
return acc;
|
|
35
43
|
}, getPackageInstallConfig(packageJsonPath, tree, options.projectName, false, !!options.exactO3rVersion));
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
});
|
|
44
|
+
const projectDirectory = workspaceProject?.root || '.';
|
|
45
|
+
const projectPackageJson = tree.readJson(path.posix.join(projectDirectory, 'package.json'));
|
|
46
|
+
const externalDependenciesInfo = getExternalDependenciesInfo({
|
|
47
|
+
devDependenciesToInstall,
|
|
48
|
+
dependenciesToInstall,
|
|
49
|
+
projectType: workspaceProject?.projectType,
|
|
50
|
+
o3rPackageJsonPath: packageJsonPath,
|
|
51
|
+
projectPackageJson
|
|
52
|
+
}, context.logger);
|
|
45
53
|
return (0, schematics_1.chain)([
|
|
46
54
|
// optional custom action dedicated to this module
|
|
47
55
|
options.skipLinter ? (0, schematics_1.noop)() : applyEsLintFix(),
|
|
48
56
|
// add the missing Otter modules in the current project
|
|
49
57
|
setupDependencies({
|
|
50
58
|
projectName: options.projectName,
|
|
51
|
-
dependencies
|
|
59
|
+
dependencies: {
|
|
60
|
+
...dependencies,
|
|
61
|
+
...externalDependenciesInfo
|
|
62
|
+
},
|
|
52
63
|
ngAddToRun: depsInfo.o3rPeerDeps
|
|
53
64
|
}),
|
|
54
65
|
updateImports(import_map_1.mapMigrationFromCoreImports)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":";;;AAAA,kCAAkC;AAClC,2DAIoC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":";;;AAAA,kCAAkC;AAClC,2DAIoC;AAIpC,uDAEgC;AAKhC;;GAEG;AACH,MAAM,qBAAqB,GAAG;IAC5B,MAAM;CACP,CAAC;AAEF;;GAEG;AACH,MAAM,wBAAwB,GAAa,EAC1C,CAAC;AAEF,MAAM,0BAA0B,GAAG,CAAC,MAA2C,EAAE,EAAE,CAAC,CAAC,MAAW,EAAE,EAAE;IAClG,MAAM,CAAC,KAAK,CAAC;;8CAE+B,CAAC,CAAC;IAC9C,MAAM,MAAM,CAAC;AACf,CAAC,CAAC;AAEF;;;GAGG;AACH,SAAS,OAAO,CAAC,OAA8B;IAC7C,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;QAC7B,mFAAmF;QACnF,MAAM,EACJ,uBAAuB,EACvB,cAAc,EACd,iBAAiB,EACjB,cAAc,EACd,8BAA8B,EAC9B,kBAAkB,EAClB,2BAA2B,EAC3B,aAAa,EACd,GAAG,2CAAa,iBAAiB,EAAC,CAAC;QAEpC,MAAM,gBAAgB,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QACnH,MAAM,eAAe,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,QAAQ,GAAG,cAAc,CAAC,eAAe,CAAC,CAAC;QAEjD,MAAM,YAAY,GAAG,QAAQ,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE;YAC5D,GAAG,CAAC,GAAG,CAAC,GAAG;gBACT,UAAU,EAAE,CAAC;wBACX,KAAK,EAAE,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,GAAG,QAAQ,CAAC,cAAc,EAAE;wBACxE,KAAK,EAAE,8BAA8B,CAAC,gBAAgB,CAAC;qBACxD,CAAC;gBACF,YAAY,EAAE,EAAE,eAAe,EAAE,OAAO,CAAC,eAAe,EAAE;aAC3D,CAAC;YACF,OAAO,GAAG,CAAC;QACb,CAAC,EAAE,uBAAuB,CAAC,eAAe,EAAE,IAAI,EAAE,OAAO,CAAC,WAAW,EAAE,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;QAC1G,MAAM,gBAAgB,GAAG,gBAAgB,EAAE,IAAI,IAAI,GAAG,CAAC;QACvD,MAAM,kBAAkB,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAgB,CAAC;QAC3G,MAAM,wBAAwB,GAAG,2BAA2B,CAAC;YAC3D,wBAAwB;YACxB,qBAAqB;YACrB,WAAW,EAAE,gBAAgB,EAAE,WAAW;YAC1C,kBAAkB,EAAE,eAAe;YACnC,kBAAkB;SACnB,EACD,OAAO,CAAC,MAAM,CACb,CAAC;QAEF,OAAO,IAAA,kBAAK,EAAC;YACX,kDAAkD;YAClD,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,IAAA,iBAAI,GAAE,CAAC,CAAC,CAAC,cAAc,EAAE;YAC9C,uDAAuD;YACvD,iBAAiB,CAAC;gBAChB,WAAW,EAAE,OAAO,CAAC,WAAW;gBAChC,YAAY,EAAE;oBACZ,GAAG,YAAY;oBACf,GAAG,wBAAwB;iBAC5B;gBACD,UAAU,EAAE,QAAQ,CAAC,WAAW;aACjC,CAAC;YAEF,aAAa,CAAC,wCAA2B,CAAC;SAC3C,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC;AAED;;;GAGG;AACI,MAAM,KAAK,GAAG,CAAC,OAA8B,EAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;IACrF,MAAM,EACJ,oBAAoB,EACrB,GAAG,MAAM,qCAAO,iBAAiB,GAAE,KAAK,CAAC,0BAA0B,CAAC,MAAM,CAAC,CAAC,CAAC;IAC9E,OAAO,oBAAoB,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC;AAChD,CAAC,CAAC;AALW,QAAA,KAAK,SAKhB"}
|