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