@kmkf-fe-packages/basic-components 2.3.0-rc.1 → 2.3.0-rc.4

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