oro-sdk 5.10.0 → 5.10.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.
- package/dist/oro-sdk.cjs.development.js +69 -53
- package/dist/oro-sdk.cjs.development.js.map +1 -1
- package/dist/oro-sdk.cjs.production.min.js +1 -1
- package/dist/oro-sdk.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk.esm.js +69 -53
- package/dist/oro-sdk.esm.js.map +1 -1
- package/package.json +2 -2
- package/LICENSE +0 -21
@@ -16,6 +16,9 @@ function _regeneratorRuntime() {
|
|
16
16
|
var exports = {},
|
17
17
|
Op = Object.prototype,
|
18
18
|
hasOwn = Op.hasOwnProperty,
|
19
|
+
defineProperty = Object.defineProperty || function (obj, key, desc) {
|
20
|
+
obj[key] = desc.value;
|
21
|
+
},
|
19
22
|
$Symbol = "function" == typeof Symbol ? Symbol : {},
|
20
23
|
iteratorSymbol = $Symbol.iterator || "@@iterator",
|
21
24
|
asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
|
@@ -39,40 +42,9 @@ function _regeneratorRuntime() {
|
|
39
42
|
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
|
40
43
|
generator = Object.create(protoGenerator.prototype),
|
41
44
|
context = new Context(tryLocsList || []);
|
42
|
-
return generator
|
43
|
-
|
44
|
-
|
45
|
-
if ("executing" === state) throw new Error("Generator is already running");
|
46
|
-
if ("completed" === state) {
|
47
|
-
if ("throw" === method) throw arg;
|
48
|
-
return doneResult();
|
49
|
-
}
|
50
|
-
for (context.method = method, context.arg = arg;;) {
|
51
|
-
var delegate = context.delegate;
|
52
|
-
if (delegate) {
|
53
|
-
var delegateResult = maybeInvokeDelegate(delegate, context);
|
54
|
-
if (delegateResult) {
|
55
|
-
if (delegateResult === ContinueSentinel) continue;
|
56
|
-
return delegateResult;
|
57
|
-
}
|
58
|
-
}
|
59
|
-
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
60
|
-
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
61
|
-
context.dispatchException(context.arg);
|
62
|
-
} else "return" === context.method && context.abrupt("return", context.arg);
|
63
|
-
state = "executing";
|
64
|
-
var record = tryCatch(innerFn, self, context);
|
65
|
-
if ("normal" === record.type) {
|
66
|
-
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
67
|
-
return {
|
68
|
-
value: record.arg,
|
69
|
-
done: context.done
|
70
|
-
};
|
71
|
-
}
|
72
|
-
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
73
|
-
}
|
74
|
-
};
|
75
|
-
}(innerFn, self, context), generator;
|
45
|
+
return defineProperty(generator, "_invoke", {
|
46
|
+
value: makeInvokeMethod(innerFn, self, context)
|
47
|
+
}), generator;
|
76
48
|
}
|
77
49
|
function tryCatch(fn, obj, arg) {
|
78
50
|
try {
|
@@ -126,24 +98,55 @@ function _regeneratorRuntime() {
|
|
126
98
|
reject(record.arg);
|
127
99
|
}
|
128
100
|
var previousPromise;
|
129
|
-
this
|
130
|
-
function
|
131
|
-
|
132
|
-
|
133
|
-
|
101
|
+
defineProperty(this, "_invoke", {
|
102
|
+
value: function (method, arg) {
|
103
|
+
function callInvokeWithMethodAndArg() {
|
104
|
+
return new PromiseImpl(function (resolve, reject) {
|
105
|
+
invoke(method, arg, resolve, reject);
|
106
|
+
});
|
107
|
+
}
|
108
|
+
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
109
|
+
}
|
110
|
+
});
|
111
|
+
}
|
112
|
+
function makeInvokeMethod(innerFn, self, context) {
|
113
|
+
var state = "suspendedStart";
|
114
|
+
return function (method, arg) {
|
115
|
+
if ("executing" === state) throw new Error("Generator is already running");
|
116
|
+
if ("completed" === state) {
|
117
|
+
if ("throw" === method) throw arg;
|
118
|
+
return doneResult();
|
119
|
+
}
|
120
|
+
for (context.method = method, context.arg = arg;;) {
|
121
|
+
var delegate = context.delegate;
|
122
|
+
if (delegate) {
|
123
|
+
var delegateResult = maybeInvokeDelegate(delegate, context);
|
124
|
+
if (delegateResult) {
|
125
|
+
if (delegateResult === ContinueSentinel) continue;
|
126
|
+
return delegateResult;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
130
|
+
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
131
|
+
context.dispatchException(context.arg);
|
132
|
+
} else "return" === context.method && context.abrupt("return", context.arg);
|
133
|
+
state = "executing";
|
134
|
+
var record = tryCatch(innerFn, self, context);
|
135
|
+
if ("normal" === record.type) {
|
136
|
+
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
137
|
+
return {
|
138
|
+
value: record.arg,
|
139
|
+
done: context.done
|
140
|
+
};
|
141
|
+
}
|
142
|
+
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
134
143
|
}
|
135
|
-
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
136
144
|
};
|
137
145
|
}
|
138
146
|
function maybeInvokeDelegate(delegate, context) {
|
139
|
-
var
|
140
|
-
|
141
|
-
|
142
|
-
if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel;
|
143
|
-
context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
|
144
|
-
}
|
145
|
-
return ContinueSentinel;
|
146
|
-
}
|
147
|
+
var methodName = context.method,
|
148
|
+
method = delegate.iterator[methodName];
|
149
|
+
if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
|
147
150
|
var record = tryCatch(method, delegate.iterator, context.arg);
|
148
151
|
if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
|
149
152
|
var info = record.arg;
|
@@ -188,7 +191,13 @@ function _regeneratorRuntime() {
|
|
188
191
|
done: !0
|
189
192
|
};
|
190
193
|
}
|
191
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype,
|
194
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
|
195
|
+
value: GeneratorFunctionPrototype,
|
196
|
+
configurable: !0
|
197
|
+
}), defineProperty(GeneratorFunctionPrototype, "constructor", {
|
198
|
+
value: GeneratorFunction,
|
199
|
+
configurable: !0
|
200
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
|
192
201
|
var ctor = "function" == typeof genFun && genFun.constructor;
|
193
202
|
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
|
194
203
|
}, exports.mark = function (genFun) {
|
@@ -209,8 +218,9 @@ function _regeneratorRuntime() {
|
|
209
218
|
return this;
|
210
219
|
}), define(Gp, "toString", function () {
|
211
220
|
return "[object Generator]";
|
212
|
-
}), exports.keys = function (
|
213
|
-
var
|
221
|
+
}), exports.keys = function (val) {
|
222
|
+
var object = Object(val),
|
223
|
+
keys = [];
|
214
224
|
for (var key in object) keys.push(key);
|
215
225
|
return keys.reverse(), function next() {
|
216
226
|
for (; keys.length;) {
|
@@ -323,12 +333,18 @@ function _wrapRegExp() {
|
|
323
333
|
}
|
324
334
|
return _inherits(BabelRegExp, RegExp), BabelRegExp.prototype.exec = function (str) {
|
325
335
|
var result = _super.exec.call(this, str);
|
326
|
-
|
336
|
+
if (result) {
|
337
|
+
result.groups = buildGroups(result, this);
|
338
|
+
var indices = result.indices;
|
339
|
+
indices && (indices.groups = buildGroups(indices, this));
|
340
|
+
}
|
341
|
+
return result;
|
327
342
|
}, BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {
|
328
343
|
if ("string" == typeof substitution) {
|
329
344
|
var groups = _groups.get(this);
|
330
345
|
return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) {
|
331
|
-
|
346
|
+
var group = groups[name];
|
347
|
+
return "$" + (Array.isArray(group) ? group.join("$") : group);
|
332
348
|
}));
|
333
349
|
}
|
334
350
|
if ("function" == typeof substitution) {
|