@opengeoweb/api 6.0.4 → 6.1.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/index.esm.js +218 -213
- package/package.json +3 -3
package/index.esm.js
CHANGED
|
@@ -2,328 +2,333 @@ import * as React from 'react';
|
|
|
2
2
|
import axios from 'axios';
|
|
3
3
|
import { useIsMounted } from '@opengeoweb/shared';
|
|
4
4
|
|
|
5
|
-
function _iterableToArrayLimit(
|
|
6
|
-
var
|
|
7
|
-
if (null !=
|
|
8
|
-
var
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
5
|
+
function _iterableToArrayLimit(r, l) {
|
|
6
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
7
|
+
if (null != t) {
|
|
8
|
+
var e,
|
|
9
|
+
n,
|
|
10
|
+
i,
|
|
11
|
+
u,
|
|
12
|
+
a = [],
|
|
13
|
+
f = !0,
|
|
14
|
+
o = !1;
|
|
15
15
|
try {
|
|
16
|
-
if (
|
|
17
|
-
if (Object(
|
|
18
|
-
|
|
19
|
-
} else for (; !(
|
|
20
|
-
} catch (
|
|
21
|
-
|
|
16
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
|
17
|
+
if (Object(t) !== t) return;
|
|
18
|
+
f = !1;
|
|
19
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
20
|
+
} catch (r) {
|
|
21
|
+
o = !0, n = r;
|
|
22
22
|
} finally {
|
|
23
23
|
try {
|
|
24
|
-
if (!
|
|
24
|
+
if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
|
|
25
25
|
} finally {
|
|
26
|
-
if (
|
|
26
|
+
if (o) throw n;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
return
|
|
29
|
+
return a;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
function _regeneratorRuntime() {
|
|
33
33
|
_regeneratorRuntime = function () {
|
|
34
|
-
return
|
|
34
|
+
return e;
|
|
35
35
|
};
|
|
36
|
-
var
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
36
|
+
var t,
|
|
37
|
+
e = {},
|
|
38
|
+
r = Object.prototype,
|
|
39
|
+
n = r.hasOwnProperty,
|
|
40
|
+
o = Object.defineProperty || function (t, e, r) {
|
|
41
|
+
t[e] = r.value;
|
|
41
42
|
},
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
function define(
|
|
47
|
-
return Object.defineProperty(
|
|
48
|
-
value:
|
|
43
|
+
i = "function" == typeof Symbol ? Symbol : {},
|
|
44
|
+
a = i.iterator || "@@iterator",
|
|
45
|
+
c = i.asyncIterator || "@@asyncIterator",
|
|
46
|
+
u = i.toStringTag || "@@toStringTag";
|
|
47
|
+
function define(t, e, r) {
|
|
48
|
+
return Object.defineProperty(t, e, {
|
|
49
|
+
value: r,
|
|
49
50
|
enumerable: !0,
|
|
50
51
|
configurable: !0,
|
|
51
52
|
writable: !0
|
|
52
|
-
}),
|
|
53
|
+
}), t[e];
|
|
53
54
|
}
|
|
54
55
|
try {
|
|
55
56
|
define({}, "");
|
|
56
|
-
} catch (
|
|
57
|
-
define = function (
|
|
58
|
-
return
|
|
57
|
+
} catch (t) {
|
|
58
|
+
define = function (t, e, r) {
|
|
59
|
+
return t[e] = r;
|
|
59
60
|
};
|
|
60
61
|
}
|
|
61
|
-
function wrap(
|
|
62
|
-
var
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
return
|
|
66
|
-
value: makeInvokeMethod(
|
|
67
|
-
}),
|
|
62
|
+
function wrap(t, e, r, n) {
|
|
63
|
+
var i = e && e.prototype instanceof Generator ? e : Generator,
|
|
64
|
+
a = Object.create(i.prototype),
|
|
65
|
+
c = new Context(n || []);
|
|
66
|
+
return o(a, "_invoke", {
|
|
67
|
+
value: makeInvokeMethod(t, r, c)
|
|
68
|
+
}), a;
|
|
68
69
|
}
|
|
69
|
-
function tryCatch(
|
|
70
|
+
function tryCatch(t, e, r) {
|
|
70
71
|
try {
|
|
71
72
|
return {
|
|
72
73
|
type: "normal",
|
|
73
|
-
arg:
|
|
74
|
+
arg: t.call(e, r)
|
|
74
75
|
};
|
|
75
|
-
} catch (
|
|
76
|
+
} catch (t) {
|
|
76
77
|
return {
|
|
77
78
|
type: "throw",
|
|
78
|
-
arg:
|
|
79
|
+
arg: t
|
|
79
80
|
};
|
|
80
81
|
}
|
|
81
82
|
}
|
|
82
|
-
|
|
83
|
-
var
|
|
83
|
+
e.wrap = wrap;
|
|
84
|
+
var h = "suspendedStart",
|
|
85
|
+
l = "suspendedYield",
|
|
86
|
+
f = "executing",
|
|
87
|
+
s = "completed",
|
|
88
|
+
y = {};
|
|
84
89
|
function Generator() {}
|
|
85
90
|
function GeneratorFunction() {}
|
|
86
91
|
function GeneratorFunctionPrototype() {}
|
|
87
|
-
var
|
|
88
|
-
define(
|
|
92
|
+
var p = {};
|
|
93
|
+
define(p, a, function () {
|
|
89
94
|
return this;
|
|
90
95
|
});
|
|
91
|
-
var
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
var
|
|
95
|
-
function defineIteratorMethods(
|
|
96
|
-
["next", "throw", "return"].forEach(function (
|
|
97
|
-
define(
|
|
98
|
-
return this._invoke(
|
|
96
|
+
var d = Object.getPrototypeOf,
|
|
97
|
+
v = d && d(d(values([])));
|
|
98
|
+
v && v !== r && n.call(v, a) && (p = v);
|
|
99
|
+
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
|
100
|
+
function defineIteratorMethods(t) {
|
|
101
|
+
["next", "throw", "return"].forEach(function (e) {
|
|
102
|
+
define(t, e, function (t) {
|
|
103
|
+
return this._invoke(e, t);
|
|
99
104
|
});
|
|
100
105
|
});
|
|
101
106
|
}
|
|
102
|
-
function AsyncIterator(
|
|
103
|
-
function invoke(
|
|
104
|
-
var
|
|
105
|
-
if ("throw" !==
|
|
106
|
-
var
|
|
107
|
-
|
|
108
|
-
return
|
|
109
|
-
invoke("next",
|
|
110
|
-
}, function (
|
|
111
|
-
invoke("throw",
|
|
112
|
-
}) :
|
|
113
|
-
|
|
114
|
-
}, function (
|
|
115
|
-
return invoke("throw",
|
|
107
|
+
function AsyncIterator(t, e) {
|
|
108
|
+
function invoke(r, o, i, a) {
|
|
109
|
+
var c = tryCatch(t[r], t, o);
|
|
110
|
+
if ("throw" !== c.type) {
|
|
111
|
+
var u = c.arg,
|
|
112
|
+
h = u.value;
|
|
113
|
+
return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
|
114
|
+
invoke("next", t, i, a);
|
|
115
|
+
}, function (t) {
|
|
116
|
+
invoke("throw", t, i, a);
|
|
117
|
+
}) : e.resolve(h).then(function (t) {
|
|
118
|
+
u.value = t, i(u);
|
|
119
|
+
}, function (t) {
|
|
120
|
+
return invoke("throw", t, i, a);
|
|
116
121
|
});
|
|
117
122
|
}
|
|
118
|
-
|
|
123
|
+
a(c.arg);
|
|
119
124
|
}
|
|
120
|
-
var
|
|
121
|
-
|
|
122
|
-
value: function (
|
|
125
|
+
var r;
|
|
126
|
+
o(this, "_invoke", {
|
|
127
|
+
value: function (t, n) {
|
|
123
128
|
function callInvokeWithMethodAndArg() {
|
|
124
|
-
return new
|
|
125
|
-
invoke(
|
|
129
|
+
return new e(function (e, r) {
|
|
130
|
+
invoke(t, n, e, r);
|
|
126
131
|
});
|
|
127
132
|
}
|
|
128
|
-
return
|
|
133
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
129
134
|
}
|
|
130
135
|
});
|
|
131
136
|
}
|
|
132
|
-
function makeInvokeMethod(
|
|
133
|
-
var
|
|
134
|
-
return function (
|
|
135
|
-
if (
|
|
136
|
-
if (
|
|
137
|
-
if ("throw" ===
|
|
137
|
+
function makeInvokeMethod(e, r, n) {
|
|
138
|
+
var o = h;
|
|
139
|
+
return function (i, a) {
|
|
140
|
+
if (o === f) throw new Error("Generator is already running");
|
|
141
|
+
if (o === s) {
|
|
142
|
+
if ("throw" === i) throw a;
|
|
138
143
|
return {
|
|
139
|
-
value:
|
|
144
|
+
value: t,
|
|
140
145
|
done: !0
|
|
141
146
|
};
|
|
142
147
|
}
|
|
143
|
-
for (
|
|
144
|
-
var
|
|
145
|
-
if (
|
|
146
|
-
var
|
|
147
|
-
if (
|
|
148
|
-
if (
|
|
149
|
-
return
|
|
148
|
+
for (n.method = i, n.arg = a;;) {
|
|
149
|
+
var c = n.delegate;
|
|
150
|
+
if (c) {
|
|
151
|
+
var u = maybeInvokeDelegate(c, n);
|
|
152
|
+
if (u) {
|
|
153
|
+
if (u === y) continue;
|
|
154
|
+
return u;
|
|
150
155
|
}
|
|
151
156
|
}
|
|
152
|
-
if ("next" ===
|
|
153
|
-
if (
|
|
154
|
-
|
|
155
|
-
} else "return" ===
|
|
156
|
-
|
|
157
|
-
var
|
|
158
|
-
if ("normal" ===
|
|
159
|
-
if (
|
|
157
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
|
158
|
+
if (o === h) throw o = s, n.arg;
|
|
159
|
+
n.dispatchException(n.arg);
|
|
160
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
|
161
|
+
o = f;
|
|
162
|
+
var p = tryCatch(e, r, n);
|
|
163
|
+
if ("normal" === p.type) {
|
|
164
|
+
if (o = n.done ? s : l, p.arg === y) continue;
|
|
160
165
|
return {
|
|
161
|
-
value:
|
|
162
|
-
done:
|
|
166
|
+
value: p.arg,
|
|
167
|
+
done: n.done
|
|
163
168
|
};
|
|
164
169
|
}
|
|
165
|
-
"throw" ===
|
|
170
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
|
166
171
|
}
|
|
167
172
|
};
|
|
168
173
|
}
|
|
169
|
-
function maybeInvokeDelegate(
|
|
170
|
-
var
|
|
171
|
-
|
|
172
|
-
if (
|
|
173
|
-
var
|
|
174
|
-
if ("throw" ===
|
|
175
|
-
var
|
|
176
|
-
return
|
|
174
|
+
function maybeInvokeDelegate(e, r) {
|
|
175
|
+
var n = r.method,
|
|
176
|
+
o = e.iterator[n];
|
|
177
|
+
if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
|
|
178
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
|
179
|
+
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
|
180
|
+
var a = i.arg;
|
|
181
|
+
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
|
|
177
182
|
}
|
|
178
|
-
function pushTryEntry(
|
|
179
|
-
var
|
|
180
|
-
tryLoc:
|
|
183
|
+
function pushTryEntry(t) {
|
|
184
|
+
var e = {
|
|
185
|
+
tryLoc: t[0]
|
|
181
186
|
};
|
|
182
|
-
1 in
|
|
187
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
|
183
188
|
}
|
|
184
|
-
function resetTryEntry(
|
|
185
|
-
var
|
|
186
|
-
|
|
189
|
+
function resetTryEntry(t) {
|
|
190
|
+
var e = t.completion || {};
|
|
191
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
|
187
192
|
}
|
|
188
|
-
function Context(
|
|
193
|
+
function Context(t) {
|
|
189
194
|
this.tryEntries = [{
|
|
190
195
|
tryLoc: "root"
|
|
191
|
-
}],
|
|
196
|
+
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
|
192
197
|
}
|
|
193
|
-
function values(
|
|
194
|
-
if (
|
|
195
|
-
var
|
|
196
|
-
if (
|
|
197
|
-
if ("function" == typeof
|
|
198
|
-
if (!isNaN(
|
|
199
|
-
var
|
|
200
|
-
|
|
201
|
-
for (; ++
|
|
202
|
-
return next.value =
|
|
198
|
+
function values(e) {
|
|
199
|
+
if (e || "" === e) {
|
|
200
|
+
var r = e[a];
|
|
201
|
+
if (r) return r.call(e);
|
|
202
|
+
if ("function" == typeof e.next) return e;
|
|
203
|
+
if (!isNaN(e.length)) {
|
|
204
|
+
var o = -1,
|
|
205
|
+
i = function next() {
|
|
206
|
+
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
|
207
|
+
return next.value = t, next.done = !0, next;
|
|
203
208
|
};
|
|
204
|
-
return
|
|
209
|
+
return i.next = i;
|
|
205
210
|
}
|
|
206
211
|
}
|
|
207
|
-
throw new TypeError(typeof
|
|
212
|
+
throw new TypeError(typeof e + " is not iterable");
|
|
208
213
|
}
|
|
209
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype,
|
|
214
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
|
210
215
|
value: GeneratorFunctionPrototype,
|
|
211
216
|
configurable: !0
|
|
212
|
-
}),
|
|
217
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
|
213
218
|
value: GeneratorFunction,
|
|
214
219
|
configurable: !0
|
|
215
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype,
|
|
216
|
-
var
|
|
217
|
-
return !!
|
|
218
|
-
},
|
|
219
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
|
220
|
-
},
|
|
220
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
|
221
|
+
var e = "function" == typeof t && t.constructor;
|
|
222
|
+
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
|
223
|
+
}, e.mark = function (t) {
|
|
224
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
|
225
|
+
}, e.awrap = function (t) {
|
|
221
226
|
return {
|
|
222
|
-
__await:
|
|
227
|
+
__await: t
|
|
223
228
|
};
|
|
224
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype,
|
|
229
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
|
225
230
|
return this;
|
|
226
|
-
}),
|
|
227
|
-
void 0 ===
|
|
228
|
-
var
|
|
229
|
-
return
|
|
230
|
-
return
|
|
231
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
|
232
|
+
void 0 === i && (i = Promise);
|
|
233
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
|
234
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
|
235
|
+
return t.done ? t.value : a.next();
|
|
231
236
|
});
|
|
232
|
-
}, defineIteratorMethods(
|
|
237
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
|
233
238
|
return this;
|
|
234
|
-
}), define(
|
|
239
|
+
}), define(g, "toString", function () {
|
|
235
240
|
return "[object Generator]";
|
|
236
|
-
}),
|
|
237
|
-
var
|
|
238
|
-
|
|
239
|
-
for (var
|
|
240
|
-
return
|
|
241
|
-
for (;
|
|
242
|
-
var
|
|
243
|
-
if (
|
|
241
|
+
}), e.keys = function (t) {
|
|
242
|
+
var e = Object(t),
|
|
243
|
+
r = [];
|
|
244
|
+
for (var n in e) r.push(n);
|
|
245
|
+
return r.reverse(), function next() {
|
|
246
|
+
for (; r.length;) {
|
|
247
|
+
var t = r.pop();
|
|
248
|
+
if (t in e) return next.value = t, next.done = !1, next;
|
|
244
249
|
}
|
|
245
250
|
return next.done = !0, next;
|
|
246
251
|
};
|
|
247
|
-
},
|
|
252
|
+
}, e.values = values, Context.prototype = {
|
|
248
253
|
constructor: Context,
|
|
249
|
-
reset: function (
|
|
250
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent =
|
|
254
|
+
reset: function (e) {
|
|
255
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
|
251
256
|
},
|
|
252
257
|
stop: function () {
|
|
253
258
|
this.done = !0;
|
|
254
|
-
var
|
|
255
|
-
if ("throw" ===
|
|
259
|
+
var t = this.tryEntries[0].completion;
|
|
260
|
+
if ("throw" === t.type) throw t.arg;
|
|
256
261
|
return this.rval;
|
|
257
262
|
},
|
|
258
|
-
dispatchException: function (
|
|
259
|
-
if (this.done) throw
|
|
260
|
-
var
|
|
261
|
-
function handle(
|
|
262
|
-
return
|
|
263
|
+
dispatchException: function (e) {
|
|
264
|
+
if (this.done) throw e;
|
|
265
|
+
var r = this;
|
|
266
|
+
function handle(n, o) {
|
|
267
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
|
263
268
|
}
|
|
264
|
-
for (var
|
|
265
|
-
var
|
|
266
|
-
|
|
267
|
-
if ("root" ===
|
|
268
|
-
if (
|
|
269
|
-
var
|
|
270
|
-
|
|
271
|
-
if (
|
|
272
|
-
if (this.prev <
|
|
273
|
-
if (this.prev <
|
|
274
|
-
} else if (
|
|
275
|
-
if (this.prev <
|
|
269
|
+
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
|
270
|
+
var i = this.tryEntries[o],
|
|
271
|
+
a = i.completion;
|
|
272
|
+
if ("root" === i.tryLoc) return handle("end");
|
|
273
|
+
if (i.tryLoc <= this.prev) {
|
|
274
|
+
var c = n.call(i, "catchLoc"),
|
|
275
|
+
u = n.call(i, "finallyLoc");
|
|
276
|
+
if (c && u) {
|
|
277
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
278
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
279
|
+
} else if (c) {
|
|
280
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
276
281
|
} else {
|
|
277
|
-
if (!
|
|
278
|
-
if (this.prev <
|
|
282
|
+
if (!u) throw new Error("try statement without catch or finally");
|
|
283
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
279
284
|
}
|
|
280
285
|
}
|
|
281
286
|
}
|
|
282
287
|
},
|
|
283
|
-
abrupt: function (
|
|
284
|
-
for (var
|
|
285
|
-
var
|
|
286
|
-
if (
|
|
287
|
-
var
|
|
288
|
+
abrupt: function (t, e) {
|
|
289
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
290
|
+
var o = this.tryEntries[r];
|
|
291
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
292
|
+
var i = o;
|
|
288
293
|
break;
|
|
289
294
|
}
|
|
290
295
|
}
|
|
291
|
-
|
|
292
|
-
var
|
|
293
|
-
return
|
|
296
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
297
|
+
var a = i ? i.completion : {};
|
|
298
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
294
299
|
},
|
|
295
|
-
complete: function (
|
|
296
|
-
if ("throw" ===
|
|
297
|
-
return "break" ===
|
|
300
|
+
complete: function (t, e) {
|
|
301
|
+
if ("throw" === t.type) throw t.arg;
|
|
302
|
+
return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
|
|
298
303
|
},
|
|
299
|
-
finish: function (
|
|
300
|
-
for (var
|
|
301
|
-
var
|
|
302
|
-
if (
|
|
304
|
+
finish: function (t) {
|
|
305
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
306
|
+
var r = this.tryEntries[e];
|
|
307
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
303
308
|
}
|
|
304
309
|
},
|
|
305
|
-
catch: function (
|
|
306
|
-
for (var
|
|
307
|
-
var
|
|
308
|
-
if (
|
|
309
|
-
var
|
|
310
|
-
if ("throw" ===
|
|
311
|
-
var
|
|
312
|
-
resetTryEntry(
|
|
310
|
+
catch: function (t) {
|
|
311
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
312
|
+
var r = this.tryEntries[e];
|
|
313
|
+
if (r.tryLoc === t) {
|
|
314
|
+
var n = r.completion;
|
|
315
|
+
if ("throw" === n.type) {
|
|
316
|
+
var o = n.arg;
|
|
317
|
+
resetTryEntry(r);
|
|
313
318
|
}
|
|
314
|
-
return
|
|
319
|
+
return o;
|
|
315
320
|
}
|
|
316
321
|
}
|
|
317
322
|
throw new Error("illegal catch attempt");
|
|
318
323
|
},
|
|
319
|
-
delegateYield: function (
|
|
324
|
+
delegateYield: function (e, r, n) {
|
|
320
325
|
return this.delegate = {
|
|
321
|
-
iterator: values(
|
|
322
|
-
resultName:
|
|
323
|
-
nextLoc:
|
|
324
|
-
}, "next" === this.method && (this.arg =
|
|
326
|
+
iterator: values(e),
|
|
327
|
+
resultName: r,
|
|
328
|
+
nextLoc: n
|
|
329
|
+
}, "next" === this.method && (this.arg = t), y;
|
|
325
330
|
}
|
|
326
|
-
},
|
|
331
|
+
}, e;
|
|
327
332
|
}
|
|
328
333
|
function _slicedToArray(arr, i) {
|
|
329
334
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/api",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.1.1",
|
|
4
4
|
"description": "GeoWeb API library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"main": "./index.esm.js",
|
|
13
13
|
"dependencies": {},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@opengeoweb/shared": "6.
|
|
16
|
-
"axios": "1.
|
|
15
|
+
"@opengeoweb/shared": "6.1.1",
|
|
16
|
+
"axios": "1.5.0",
|
|
17
17
|
"react": "18.2.0"
|
|
18
18
|
}
|
|
19
19
|
}
|