oro-sdk 5.8.0 → 5.10.0
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +21 -0
- package/dist/oro-sdk.cjs.development.js +45 -66
- 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 +45 -66
- package/dist/oro-sdk.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/oro-sdk.esm.js
CHANGED
@@ -12,9 +12,6 @@ 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
|
-
},
|
18
15
|
$Symbol = "function" == typeof Symbol ? Symbol : {},
|
19
16
|
iteratorSymbol = $Symbol.iterator || "@@iterator",
|
20
17
|
asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
|
@@ -38,9 +35,40 @@ function _regeneratorRuntime() {
|
|
38
35
|
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
|
39
36
|
generator = Object.create(protoGenerator.prototype),
|
40
37
|
context = new Context(tryLocsList || []);
|
41
|
-
return
|
42
|
-
|
43
|
-
|
38
|
+
return generator._invoke = function (innerFn, self, context) {
|
39
|
+
var state = "suspendedStart";
|
40
|
+
return function (method, arg) {
|
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;
|
44
72
|
}
|
45
73
|
function tryCatch(fn, obj, arg) {
|
46
74
|
try {
|
@@ -94,49 +122,13 @@ function _regeneratorRuntime() {
|
|
94
122
|
reject(record.arg);
|
95
123
|
}
|
96
124
|
var previousPromise;
|
97
|
-
|
98
|
-
|
99
|
-
function
|
100
|
-
|
101
|
-
|
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);
|
125
|
+
this._invoke = function (method, arg) {
|
126
|
+
function callInvokeWithMethodAndArg() {
|
127
|
+
return new PromiseImpl(function (resolve, reject) {
|
128
|
+
invoke(method, arg, resolve, reject);
|
129
|
+
});
|
139
130
|
}
|
131
|
+
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
140
132
|
};
|
141
133
|
}
|
142
134
|
function maybeInvokeDelegate(delegate, context) {
|
@@ -192,13 +184,7 @@ function _regeneratorRuntime() {
|
|
192
184
|
done: !0
|
193
185
|
};
|
194
186
|
}
|
195
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype,
|
196
|
-
value: GeneratorFunctionPrototype,
|
197
|
-
configurable: !0
|
198
|
-
}), defineProperty(GeneratorFunctionPrototype, "constructor", {
|
199
|
-
value: GeneratorFunction,
|
200
|
-
configurable: !0
|
201
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
|
187
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
|
202
188
|
var ctor = "function" == typeof genFun && genFun.constructor;
|
203
189
|
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
|
204
190
|
}, exports.mark = function (genFun) {
|
@@ -219,9 +205,8 @@ function _regeneratorRuntime() {
|
|
219
205
|
return this;
|
220
206
|
}), define(Gp, "toString", function () {
|
221
207
|
return "[object Generator]";
|
222
|
-
}), exports.keys = function (
|
223
|
-
var
|
224
|
-
keys = [];
|
208
|
+
}), exports.keys = function (object) {
|
209
|
+
var keys = [];
|
225
210
|
for (var key in object) keys.push(key);
|
226
211
|
return keys.reverse(), function next() {
|
227
212
|
for (; keys.length;) {
|
@@ -334,18 +319,12 @@ function _wrapRegExp() {
|
|
334
319
|
}
|
335
320
|
return _inherits(BabelRegExp, RegExp), BabelRegExp.prototype.exec = function (str) {
|
336
321
|
var result = _super.exec.call(this, str);
|
337
|
-
|
338
|
-
result.groups = buildGroups(result, this);
|
339
|
-
var indices = result.indices;
|
340
|
-
indices && (indices.groups = buildGroups(indices, this));
|
341
|
-
}
|
342
|
-
return result;
|
322
|
+
return result && (result.groups = buildGroups(result, this)), result;
|
343
323
|
}, BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {
|
344
324
|
if ("string" == typeof substitution) {
|
345
325
|
var groups = _groups.get(this);
|
346
326
|
return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) {
|
347
|
-
|
348
|
-
return "$" + (Array.isArray(group) ? group.join("$") : group);
|
327
|
+
return "$" + groups[name];
|
349
328
|
}));
|
350
329
|
}
|
351
330
|
if ("function" == typeof substitution) {
|