@kmkf-fe-packages/basic-components 1.0.5 → 1.0.6-beta.0

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/index.js CHANGED
@@ -20,363 +20,377 @@ var request__default = /*#__PURE__*/_interopDefaultLegacy(request);
20
20
  var zhCN__default = /*#__PURE__*/_interopDefaultLegacy(zhCN);
21
21
  var pubsub__default = /*#__PURE__*/_interopDefaultLegacy(pubsub);
22
22
 
23
- function _iterableToArrayLimit(arr, i) {
24
- var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
25
- if (null != _i) {
26
- var _s,
27
- _e,
28
- _x,
29
- _r,
30
- _arr = [],
31
- _n = !0,
32
- _d = !1;
23
+ function _iterableToArrayLimit(r, l) {
24
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
25
+ if (null != t) {
26
+ var e,
27
+ n,
28
+ i,
29
+ u,
30
+ a = [],
31
+ f = !0,
32
+ o = !1;
33
33
  try {
34
- if (_x = (_i = _i.call(arr)).next, 0 === i) {
35
- if (Object(_i) !== _i) return;
36
- _n = !1;
37
- } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
38
- } catch (err) {
39
- _d = !0, _e = err;
34
+ if (i = (t = t.call(r)).next, 0 === l) {
35
+ if (Object(t) !== t) return;
36
+ f = !1;
37
+ } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
38
+ } catch (r) {
39
+ o = !0, n = r;
40
40
  } finally {
41
41
  try {
42
- if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return;
42
+ if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
43
43
  } finally {
44
- if (_d) throw _e;
44
+ if (o) throw n;
45
45
  }
46
46
  }
47
- return _arr;
47
+ return a;
48
48
  }
49
49
  }
50
- function ownKeys(object, enumerableOnly) {
51
- var keys = Object.keys(object);
50
+ function ownKeys(e, r) {
51
+ var t = Object.keys(e);
52
52
  if (Object.getOwnPropertySymbols) {
53
- var symbols = Object.getOwnPropertySymbols(object);
54
- enumerableOnly && (symbols = symbols.filter(function (sym) {
55
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
56
- })), keys.push.apply(keys, symbols);
53
+ var o = Object.getOwnPropertySymbols(e);
54
+ r && (o = o.filter(function (r) {
55
+ return Object.getOwnPropertyDescriptor(e, r).enumerable;
56
+ })), t.push.apply(t, o);
57
57
  }
58
- return keys;
59
- }
60
- function _objectSpread2(target) {
61
- for (var i = 1; i < arguments.length; i++) {
62
- var source = null != arguments[i] ? arguments[i] : {};
63
- i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
64
- _defineProperty(target, key, source[key]);
65
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
66
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
58
+ return t;
59
+ }
60
+ function _objectSpread2(e) {
61
+ for (var r = 1; r < arguments.length; r++) {
62
+ var t = null != arguments[r] ? arguments[r] : {};
63
+ r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
64
+ _defineProperty(e, r, t[r]);
65
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
66
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
67
67
  });
68
68
  }
69
- return target;
69
+ return e;
70
70
  }
71
71
  function _regeneratorRuntime() {
72
72
  _regeneratorRuntime = function () {
73
- return exports;
74
- };
75
- var exports = {},
76
- Op = Object.prototype,
77
- hasOwn = Op.hasOwnProperty,
78
- defineProperty = Object.defineProperty || function (obj, key, desc) {
79
- obj[key] = desc.value;
73
+ return e;
74
+ };
75
+ var t,
76
+ e = {},
77
+ r = Object.prototype,
78
+ n = r.hasOwnProperty,
79
+ o = Object.defineProperty || function (t, e, r) {
80
+ t[e] = r.value;
80
81
  },
81
- $Symbol = "function" == typeof Symbol ? Symbol : {},
82
- iteratorSymbol = $Symbol.iterator || "@@iterator",
83
- asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
84
- toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
85
- function define(obj, key, value) {
86
- return Object.defineProperty(obj, key, {
87
- value: value,
82
+ i = "function" == typeof Symbol ? Symbol : {},
83
+ a = i.iterator || "@@iterator",
84
+ c = i.asyncIterator || "@@asyncIterator",
85
+ u = i.toStringTag || "@@toStringTag";
86
+ function define(t, e, r) {
87
+ return Object.defineProperty(t, e, {
88
+ value: r,
88
89
  enumerable: !0,
89
90
  configurable: !0,
90
91
  writable: !0
91
- }), obj[key];
92
+ }), t[e];
92
93
  }
93
94
  try {
94
95
  define({}, "");
95
- } catch (err) {
96
- define = function (obj, key, value) {
97
- return obj[key] = value;
96
+ } catch (t) {
97
+ define = function (t, e, r) {
98
+ return t[e] = r;
98
99
  };
99
100
  }
100
- function wrap(innerFn, outerFn, self, tryLocsList) {
101
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
102
- generator = Object.create(protoGenerator.prototype),
103
- context = new Context(tryLocsList || []);
104
- return defineProperty(generator, "_invoke", {
105
- value: makeInvokeMethod(innerFn, self, context)
106
- }), generator;
101
+ function wrap(t, e, r, n) {
102
+ var i = e && e.prototype instanceof Generator ? e : Generator,
103
+ a = Object.create(i.prototype),
104
+ c = new Context(n || []);
105
+ return o(a, "_invoke", {
106
+ value: makeInvokeMethod(t, r, c)
107
+ }), a;
107
108
  }
108
- function tryCatch(fn, obj, arg) {
109
+ function tryCatch(t, e, r) {
109
110
  try {
110
111
  return {
111
112
  type: "normal",
112
- arg: fn.call(obj, arg)
113
+ arg: t.call(e, r)
113
114
  };
114
- } catch (err) {
115
+ } catch (t) {
115
116
  return {
116
117
  type: "throw",
117
- arg: err
118
+ arg: t
118
119
  };
119
120
  }
120
121
  }
121
- exports.wrap = wrap;
122
- var ContinueSentinel = {};
122
+ e.wrap = wrap;
123
+ var h = "suspendedStart",
124
+ l = "suspendedYield",
125
+ f = "executing",
126
+ s = "completed",
127
+ y = {};
123
128
  function Generator() {}
124
129
  function GeneratorFunction() {}
125
130
  function GeneratorFunctionPrototype() {}
126
- var IteratorPrototype = {};
127
- define(IteratorPrototype, iteratorSymbol, function () {
131
+ var p = {};
132
+ define(p, a, function () {
128
133
  return this;
129
134
  });
130
- var getProto = Object.getPrototypeOf,
131
- NativeIteratorPrototype = getProto && getProto(getProto(values([])));
132
- NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
133
- var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
134
- function defineIteratorMethods(prototype) {
135
- ["next", "throw", "return"].forEach(function (method) {
136
- define(prototype, method, function (arg) {
137
- return this._invoke(method, arg);
135
+ var d = Object.getPrototypeOf,
136
+ v = d && d(d(values([])));
137
+ v && v !== r && n.call(v, a) && (p = v);
138
+ var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
139
+ function defineIteratorMethods(t) {
140
+ ["next", "throw", "return"].forEach(function (e) {
141
+ define(t, e, function (t) {
142
+ return this._invoke(e, t);
138
143
  });
139
144
  });
140
145
  }
141
- function AsyncIterator(generator, PromiseImpl) {
142
- function invoke(method, arg, resolve, reject) {
143
- var record = tryCatch(generator[method], generator, arg);
144
- if ("throw" !== record.type) {
145
- var result = record.arg,
146
- value = result.value;
147
- return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
148
- invoke("next", value, resolve, reject);
149
- }, function (err) {
150
- invoke("throw", err, resolve, reject);
151
- }) : PromiseImpl.resolve(value).then(function (unwrapped) {
152
- result.value = unwrapped, resolve(result);
153
- }, function (error) {
154
- return invoke("throw", error, resolve, reject);
146
+ function AsyncIterator(t, e) {
147
+ function invoke(r, o, i, a) {
148
+ var c = tryCatch(t[r], t, o);
149
+ if ("throw" !== c.type) {
150
+ var u = c.arg,
151
+ h = u.value;
152
+ return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
153
+ invoke("next", t, i, a);
154
+ }, function (t) {
155
+ invoke("throw", t, i, a);
156
+ }) : e.resolve(h).then(function (t) {
157
+ u.value = t, i(u);
158
+ }, function (t) {
159
+ return invoke("throw", t, i, a);
155
160
  });
156
161
  }
157
- reject(record.arg);
162
+ a(c.arg);
158
163
  }
159
- var previousPromise;
160
- defineProperty(this, "_invoke", {
161
- value: function (method, arg) {
164
+ var r;
165
+ o(this, "_invoke", {
166
+ value: function (t, n) {
162
167
  function callInvokeWithMethodAndArg() {
163
- return new PromiseImpl(function (resolve, reject) {
164
- invoke(method, arg, resolve, reject);
168
+ return new e(function (e, r) {
169
+ invoke(t, n, e, r);
165
170
  });
166
171
  }
167
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
172
+ return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
168
173
  }
169
174
  });
170
175
  }
171
- function makeInvokeMethod(innerFn, self, context) {
172
- var state = "suspendedStart";
173
- return function (method, arg) {
174
- if ("executing" === state) throw new Error("Generator is already running");
175
- if ("completed" === state) {
176
- if ("throw" === method) throw arg;
177
- return doneResult();
176
+ function makeInvokeMethod(e, r, n) {
177
+ var o = h;
178
+ return function (i, a) {
179
+ if (o === f) throw new Error("Generator is already running");
180
+ if (o === s) {
181
+ if ("throw" === i) throw a;
182
+ return {
183
+ value: t,
184
+ done: !0
185
+ };
178
186
  }
179
- for (context.method = method, context.arg = arg;;) {
180
- var delegate = context.delegate;
181
- if (delegate) {
182
- var delegateResult = maybeInvokeDelegate(delegate, context);
183
- if (delegateResult) {
184
- if (delegateResult === ContinueSentinel) continue;
185
- return delegateResult;
187
+ for (n.method = i, n.arg = a;;) {
188
+ var c = n.delegate;
189
+ if (c) {
190
+ var u = maybeInvokeDelegate(c, n);
191
+ if (u) {
192
+ if (u === y) continue;
193
+ return u;
186
194
  }
187
195
  }
188
- if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
189
- if ("suspendedStart" === state) throw state = "completed", context.arg;
190
- context.dispatchException(context.arg);
191
- } else "return" === context.method && context.abrupt("return", context.arg);
192
- state = "executing";
193
- var record = tryCatch(innerFn, self, context);
194
- if ("normal" === record.type) {
195
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
196
+ if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
197
+ if (o === h) throw o = s, n.arg;
198
+ n.dispatchException(n.arg);
199
+ } else "return" === n.method && n.abrupt("return", n.arg);
200
+ o = f;
201
+ var p = tryCatch(e, r, n);
202
+ if ("normal" === p.type) {
203
+ if (o = n.done ? s : l, p.arg === y) continue;
196
204
  return {
197
- value: record.arg,
198
- done: context.done
205
+ value: p.arg,
206
+ done: n.done
199
207
  };
200
208
  }
201
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
209
+ "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
202
210
  }
203
211
  };
204
212
  }
205
- function maybeInvokeDelegate(delegate, context) {
206
- var methodName = context.method,
207
- method = delegate.iterator[methodName];
208
- 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;
209
- var record = tryCatch(method, delegate.iterator, context.arg);
210
- if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
211
- var info = record.arg;
212
- return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
213
+ function maybeInvokeDelegate(e, r) {
214
+ var n = r.method,
215
+ o = e.iterator[n];
216
+ 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;
217
+ var i = tryCatch(o, e.iterator, r.arg);
218
+ if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
219
+ var a = i.arg;
220
+ 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);
213
221
  }
214
- function pushTryEntry(locs) {
215
- var entry = {
216
- tryLoc: locs[0]
222
+ function pushTryEntry(t) {
223
+ var e = {
224
+ tryLoc: t[0]
217
225
  };
218
- 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
226
+ 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
219
227
  }
220
- function resetTryEntry(entry) {
221
- var record = entry.completion || {};
222
- record.type = "normal", delete record.arg, entry.completion = record;
228
+ function resetTryEntry(t) {
229
+ var e = t.completion || {};
230
+ e.type = "normal", delete e.arg, t.completion = e;
223
231
  }
224
- function Context(tryLocsList) {
232
+ function Context(t) {
225
233
  this.tryEntries = [{
226
234
  tryLoc: "root"
227
- }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
235
+ }], t.forEach(pushTryEntry, this), this.reset(!0);
228
236
  }
229
- function values(iterable) {
230
- if (iterable) {
231
- var iteratorMethod = iterable[iteratorSymbol];
232
- if (iteratorMethod) return iteratorMethod.call(iterable);
233
- if ("function" == typeof iterable.next) return iterable;
234
- if (!isNaN(iterable.length)) {
235
- var i = -1,
236
- next = function next() {
237
- for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
238
- return next.value = undefined, next.done = !0, next;
237
+ function values(e) {
238
+ if (e || "" === e) {
239
+ var r = e[a];
240
+ if (r) return r.call(e);
241
+ if ("function" == typeof e.next) return e;
242
+ if (!isNaN(e.length)) {
243
+ var o = -1,
244
+ i = function next() {
245
+ for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
246
+ return next.value = t, next.done = !0, next;
239
247
  };
240
- return next.next = next;
248
+ return i.next = i;
241
249
  }
242
250
  }
243
- return {
244
- next: doneResult
245
- };
251
+ throw new TypeError(typeof e + " is not iterable");
246
252
  }
247
- function doneResult() {
248
- return {
249
- value: undefined,
250
- done: !0
251
- };
252
- }
253
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
253
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
254
254
  value: GeneratorFunctionPrototype,
255
255
  configurable: !0
256
- }), defineProperty(GeneratorFunctionPrototype, "constructor", {
256
+ }), o(GeneratorFunctionPrototype, "constructor", {
257
257
  value: GeneratorFunction,
258
258
  configurable: !0
259
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
260
- var ctor = "function" == typeof genFun && genFun.constructor;
261
- return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
262
- }, exports.mark = function (genFun) {
263
- return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
264
- }, exports.awrap = function (arg) {
259
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
260
+ var e = "function" == typeof t && t.constructor;
261
+ return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
262
+ }, e.mark = function (t) {
263
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
264
+ }, e.awrap = function (t) {
265
265
  return {
266
- __await: arg
266
+ __await: t
267
267
  };
268
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
268
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
269
269
  return this;
270
- }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
271
- void 0 === PromiseImpl && (PromiseImpl = Promise);
272
- var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
273
- return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
274
- return result.done ? result.value : iter.next();
270
+ }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
271
+ void 0 === i && (i = Promise);
272
+ var a = new AsyncIterator(wrap(t, r, n, o), i);
273
+ return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
274
+ return t.done ? t.value : a.next();
275
275
  });
276
- }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
276
+ }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
277
277
  return this;
278
- }), define(Gp, "toString", function () {
278
+ }), define(g, "toString", function () {
279
279
  return "[object Generator]";
280
- }), exports.keys = function (val) {
281
- var object = Object(val),
282
- keys = [];
283
- for (var key in object) keys.push(key);
284
- return keys.reverse(), function next() {
285
- for (; keys.length;) {
286
- var key = keys.pop();
287
- if (key in object) return next.value = key, next.done = !1, next;
280
+ }), e.keys = function (t) {
281
+ var e = Object(t),
282
+ r = [];
283
+ for (var n in e) r.push(n);
284
+ return r.reverse(), function next() {
285
+ for (; r.length;) {
286
+ var t = r.pop();
287
+ if (t in e) return next.value = t, next.done = !1, next;
288
288
  }
289
289
  return next.done = !0, next;
290
290
  };
291
- }, exports.values = values, Context.prototype = {
291
+ }, e.values = values, Context.prototype = {
292
292
  constructor: Context,
293
- reset: function (skipTempReset) {
294
- if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
293
+ reset: function (e) {
294
+ 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);
295
295
  },
296
296
  stop: function () {
297
297
  this.done = !0;
298
- var rootRecord = this.tryEntries[0].completion;
299
- if ("throw" === rootRecord.type) throw rootRecord.arg;
298
+ var t = this.tryEntries[0].completion;
299
+ if ("throw" === t.type) throw t.arg;
300
300
  return this.rval;
301
301
  },
302
- dispatchException: function (exception) {
303
- if (this.done) throw exception;
304
- var context = this;
305
- function handle(loc, caught) {
306
- return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
302
+ dispatchException: function (e) {
303
+ if (this.done) throw e;
304
+ var r = this;
305
+ function handle(n, o) {
306
+ return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
307
307
  }
308
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
309
- var entry = this.tryEntries[i],
310
- record = entry.completion;
311
- if ("root" === entry.tryLoc) return handle("end");
312
- if (entry.tryLoc <= this.prev) {
313
- var hasCatch = hasOwn.call(entry, "catchLoc"),
314
- hasFinally = hasOwn.call(entry, "finallyLoc");
315
- if (hasCatch && hasFinally) {
316
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
317
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
318
- } else if (hasCatch) {
319
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
308
+ for (var o = this.tryEntries.length - 1; o >= 0; --o) {
309
+ var i = this.tryEntries[o],
310
+ a = i.completion;
311
+ if ("root" === i.tryLoc) return handle("end");
312
+ if (i.tryLoc <= this.prev) {
313
+ var c = n.call(i, "catchLoc"),
314
+ u = n.call(i, "finallyLoc");
315
+ if (c && u) {
316
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
317
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
318
+ } else if (c) {
319
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
320
320
  } else {
321
- if (!hasFinally) throw new Error("try statement without catch or finally");
322
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
321
+ if (!u) throw new Error("try statement without catch or finally");
322
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
323
323
  }
324
324
  }
325
325
  }
326
326
  },
327
- abrupt: function (type, arg) {
328
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
329
- var entry = this.tryEntries[i];
330
- if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
331
- var finallyEntry = entry;
327
+ abrupt: function (t, e) {
328
+ for (var r = this.tryEntries.length - 1; r >= 0; --r) {
329
+ var o = this.tryEntries[r];
330
+ if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
331
+ var i = o;
332
332
  break;
333
333
  }
334
334
  }
335
- finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
336
- var record = finallyEntry ? finallyEntry.completion : {};
337
- return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
335
+ i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
336
+ var a = i ? i.completion : {};
337
+ return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
338
338
  },
339
- complete: function (record, afterLoc) {
340
- if ("throw" === record.type) throw record.arg;
341
- return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
339
+ complete: function (t, e) {
340
+ if ("throw" === t.type) throw t.arg;
341
+ 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;
342
342
  },
343
- finish: function (finallyLoc) {
344
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
345
- var entry = this.tryEntries[i];
346
- if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
343
+ finish: function (t) {
344
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
345
+ var r = this.tryEntries[e];
346
+ if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
347
347
  }
348
348
  },
349
- catch: function (tryLoc) {
350
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
351
- var entry = this.tryEntries[i];
352
- if (entry.tryLoc === tryLoc) {
353
- var record = entry.completion;
354
- if ("throw" === record.type) {
355
- var thrown = record.arg;
356
- resetTryEntry(entry);
349
+ catch: function (t) {
350
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
351
+ var r = this.tryEntries[e];
352
+ if (r.tryLoc === t) {
353
+ var n = r.completion;
354
+ if ("throw" === n.type) {
355
+ var o = n.arg;
356
+ resetTryEntry(r);
357
357
  }
358
- return thrown;
358
+ return o;
359
359
  }
360
360
  }
361
361
  throw new Error("illegal catch attempt");
362
362
  },
363
- delegateYield: function (iterable, resultName, nextLoc) {
363
+ delegateYield: function (e, r, n) {
364
364
  return this.delegate = {
365
- iterator: values(iterable),
366
- resultName: resultName,
367
- nextLoc: nextLoc
368
- }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
369
- }
370
- }, exports;
365
+ iterator: values(e),
366
+ resultName: r,
367
+ nextLoc: n
368
+ }, "next" === this.method && (this.arg = t), y;
369
+ }
370
+ }, e;
371
+ }
372
+ function _toPrimitive(t, r) {
373
+ if ("object" != typeof t || !t) return t;
374
+ var e = t[Symbol.toPrimitive];
375
+ if (void 0 !== e) {
376
+ var i = e.call(t, r || "default");
377
+ if ("object" != typeof i) return i;
378
+ throw new TypeError("@@toPrimitive must return a primitive value.");
379
+ }
380
+ return ("string" === r ? String : Number)(t);
371
381
  }
372
- function _typeof(obj) {
382
+ function _toPropertyKey(t) {
383
+ var i = _toPrimitive(t, "string");
384
+ return "symbol" == typeof i ? i : String(i);
385
+ }
386
+ function _typeof(o) {
373
387
  "@babel/helpers - typeof";
374
388
 
375
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
376
- return typeof obj;
377
- } : function (obj) {
378
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
379
- }, _typeof(obj);
389
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
390
+ return typeof o;
391
+ } : function (o) {
392
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
393
+ }, _typeof(o);
380
394
  }
381
395
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
382
396
  try {
@@ -483,20 +497,6 @@ function _nonIterableSpread() {
483
497
  function _nonIterableRest() {
484
498
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
485
499
  }
486
- function _toPrimitive(input, hint) {
487
- if (typeof input !== "object" || input === null) return input;
488
- var prim = input[Symbol.toPrimitive];
489
- if (prim !== undefined) {
490
- var res = prim.call(input, hint || "default");
491
- if (typeof res !== "object") return res;
492
- throw new TypeError("@@toPrimitive must return a primitive value.");
493
- }
494
- return (hint === "string" ? String : Number)(input);
495
- }
496
- function _toPropertyKey(arg) {
497
- var key = _toPrimitive(arg, "string");
498
- return typeof key === "symbol" ? key : String(key);
499
- }
500
500
 
501
501
  function ApaasCascader(props) {
502
502
  return /*#__PURE__*/React__default['default'].createElement(antd.Cascader, _objectSpread2({