easy-soft-dva 3.6.7 → 3.6.8

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.
@@ -1,3 +1,368 @@
1
- function t(r){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(r)}function r(r){var e=function(r,e){if("object"!==t(r)||null===r)return r;var n=r[Symbol.toPrimitive];if(void 0!==n){var o=n.call(r,e||"default");if("object"!==t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(r)}(r,"string");return"symbol"===t(e)?e:String(e)}function e(t,e,n){return(e=r(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function n(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function o(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?n(Object(o),!0).forEach((function(r){e(t,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(o,r))}))}return t}function i(){
2
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
3
- i=function(){return r};var r={},e=Object.prototype,n=e.hasOwnProperty,o=Object.defineProperty||function(t,r,e){t[r]=e.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function l(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{l({},"")}catch(t){l=function(t,r,e){return t[r]=e}}function s(t,r,e,n){var i=r&&r.prototype instanceof y?r:y,a=Object.create(i.prototype),c=new S(n||[]);return o(a,"_invoke",{value:j(t,e,c)}),a}function h(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}r.wrap=s;var p={};function y(){}function v(){}function d(){}var g={};l(g,c,(function(){return this}));var m=Object.getPrototypeOf,b=m&&m(m(_([])));b&&b!==e&&n.call(b,c)&&(g=b);var w=d.prototype=y.prototype=Object.create(g);function O(t){["next","throw","return"].forEach((function(r){l(t,r,(function(t){return this._invoke(r,t)}))}))}function L(r,e){function i(o,a,c,u){var f=h(r[o],r,a);if("throw"!==f.type){var l=f.arg,s=l.value;return s&&"object"==t(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){i("next",t,c,u)}),(function(t){i("throw",t,c,u)})):e.resolve(s).then((function(t){l.value=t,c(l)}),(function(t){return i("throw",t,c,u)}))}u(f.arg)}var a;o(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){i(t,r,e,n)}))}return a=a?a.then(n,n):n()}})}function j(t,r,e){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return k()}for(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var c=x(a,e);if(c){if(c===p)continue;return c}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===n)throw n="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n="executing";var u=h(t,r,e);if("normal"===u.type){if(n=e.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:e.done}}"throw"===u.type&&(n="completed",e.method="throw",e.arg=u.arg)}}}function x(t,r){var e=r.method,n=t.iterator[e];if(void 0===n)return r.delegate=null,"throw"===e&&t.iterator.return&&(r.method="return",r.arg=void 0,x(t,r),"throw"===r.method)||"return"!==e&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+e+"' method")),p;var o=h(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,p;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,p):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)}function E(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function P(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function _(t){if(t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,o=function r(){for(;++e<t.length;)if(n.call(t,e))return r.value=t[e],r.done=!1,r;return r.value=void 0,r.done=!0,r};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return v.prototype=d,o(w,"constructor",{value:d,configurable:!0}),o(d,"constructor",{value:v,configurable:!0}),v.displayName=l(d,f,"GeneratorFunction"),r.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===v||"GeneratorFunction"===(r.displayName||r.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,l(t,f,"GeneratorFunction")),t.prototype=Object.create(w),t},r.awrap=function(t){return{__await:t}},O(L.prototype),l(L.prototype,u,(function(){return this})),r.AsyncIterator=L,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new L(s(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(w),l(w,f,"Generator"),l(w,c,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var r=Object(t),e=[];for(var n in r)e.push(n);return e.reverse(),function t(){for(;e.length;){var n=e.pop();if(n in r)return t.value=n,t.done=!1,t}return t.done=!0,t}},r.values=_,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(P),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function e(e,n){return a.type="throw",a.arg=t,r.next=e,n&&(r.method="next",r.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;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&&r&&(this.next=r),p},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),P(e),p}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;P(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:_(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=void 0),p}},r}export{o as _,t as a,i as b,r as c,e as d};
1
+ function _typeof(obj) {
2
+ "@babel/helpers - typeof";
3
+
4
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
5
+ return typeof obj;
6
+ } : function (obj) {
7
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
8
+ }, _typeof(obj);
9
+ }
10
+
11
+ function _toPrimitive(input, hint) {
12
+ if (_typeof(input) !== "object" || input === null) return input;
13
+ var prim = input[Symbol.toPrimitive];
14
+ if (prim !== undefined) {
15
+ var res = prim.call(input, hint || "default");
16
+ if (_typeof(res) !== "object") return res;
17
+ throw new TypeError("@@toPrimitive must return a primitive value.");
18
+ }
19
+ return (hint === "string" ? String : Number)(input);
20
+ }
21
+
22
+ function _toPropertyKey(arg) {
23
+ var key = _toPrimitive(arg, "string");
24
+ return _typeof(key) === "symbol" ? key : String(key);
25
+ }
26
+
27
+ function _defineProperty(obj, key, value) {
28
+ key = _toPropertyKey(key);
29
+ if (key in obj) {
30
+ Object.defineProperty(obj, key, {
31
+ value: value,
32
+ enumerable: true,
33
+ configurable: true,
34
+ writable: true
35
+ });
36
+ } else {
37
+ obj[key] = value;
38
+ }
39
+ return obj;
40
+ }
41
+
42
+ function ownKeys(object, enumerableOnly) {
43
+ var keys = Object.keys(object);
44
+ if (Object.getOwnPropertySymbols) {
45
+ var symbols = Object.getOwnPropertySymbols(object);
46
+ enumerableOnly && (symbols = symbols.filter(function (sym) {
47
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
48
+ })), keys.push.apply(keys, symbols);
49
+ }
50
+ return keys;
51
+ }
52
+ function _objectSpread2(target) {
53
+ for (var i = 1; i < arguments.length; i++) {
54
+ var source = null != arguments[i] ? arguments[i] : {};
55
+ i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
56
+ _defineProperty(target, key, source[key]);
57
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
58
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
59
+ });
60
+ }
61
+ return target;
62
+ }
63
+
64
+ function _regeneratorRuntime() {
65
+
66
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
67
+ _regeneratorRuntime = function _regeneratorRuntime() {
68
+ return exports;
69
+ };
70
+ var exports = {},
71
+ Op = Object.prototype,
72
+ hasOwn = Op.hasOwnProperty,
73
+ defineProperty = Object.defineProperty || function (obj, key, desc) {
74
+ obj[key] = desc.value;
75
+ },
76
+ $Symbol = "function" == typeof Symbol ? Symbol : {},
77
+ iteratorSymbol = $Symbol.iterator || "@@iterator",
78
+ asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
79
+ toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
80
+ function define(obj, key, value) {
81
+ return Object.defineProperty(obj, key, {
82
+ value: value,
83
+ enumerable: !0,
84
+ configurable: !0,
85
+ writable: !0
86
+ }), obj[key];
87
+ }
88
+ try {
89
+ define({}, "");
90
+ } catch (err) {
91
+ define = function define(obj, key, value) {
92
+ return obj[key] = value;
93
+ };
94
+ }
95
+ function wrap(innerFn, outerFn, self, tryLocsList) {
96
+ var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
97
+ generator = Object.create(protoGenerator.prototype),
98
+ context = new Context(tryLocsList || []);
99
+ return defineProperty(generator, "_invoke", {
100
+ value: makeInvokeMethod(innerFn, self, context)
101
+ }), generator;
102
+ }
103
+ function tryCatch(fn, obj, arg) {
104
+ try {
105
+ return {
106
+ type: "normal",
107
+ arg: fn.call(obj, arg)
108
+ };
109
+ } catch (err) {
110
+ return {
111
+ type: "throw",
112
+ arg: err
113
+ };
114
+ }
115
+ }
116
+ exports.wrap = wrap;
117
+ var ContinueSentinel = {};
118
+ function Generator() {}
119
+ function GeneratorFunction() {}
120
+ function GeneratorFunctionPrototype() {}
121
+ var IteratorPrototype = {};
122
+ define(IteratorPrototype, iteratorSymbol, function () {
123
+ return this;
124
+ });
125
+ var getProto = Object.getPrototypeOf,
126
+ NativeIteratorPrototype = getProto && getProto(getProto(values([])));
127
+ NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
128
+ var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
129
+ function defineIteratorMethods(prototype) {
130
+ ["next", "throw", "return"].forEach(function (method) {
131
+ define(prototype, method, function (arg) {
132
+ return this._invoke(method, arg);
133
+ });
134
+ });
135
+ }
136
+ function AsyncIterator(generator, PromiseImpl) {
137
+ function invoke(method, arg, resolve, reject) {
138
+ var record = tryCatch(generator[method], generator, arg);
139
+ if ("throw" !== record.type) {
140
+ var result = record.arg,
141
+ value = result.value;
142
+ return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
143
+ invoke("next", value, resolve, reject);
144
+ }, function (err) {
145
+ invoke("throw", err, resolve, reject);
146
+ }) : PromiseImpl.resolve(value).then(function (unwrapped) {
147
+ result.value = unwrapped, resolve(result);
148
+ }, function (error) {
149
+ return invoke("throw", error, resolve, reject);
150
+ });
151
+ }
152
+ reject(record.arg);
153
+ }
154
+ var previousPromise;
155
+ defineProperty(this, "_invoke", {
156
+ value: function value(method, arg) {
157
+ function callInvokeWithMethodAndArg() {
158
+ return new PromiseImpl(function (resolve, reject) {
159
+ invoke(method, arg, resolve, reject);
160
+ });
161
+ }
162
+ return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
163
+ }
164
+ });
165
+ }
166
+ function makeInvokeMethod(innerFn, self, context) {
167
+ var state = "suspendedStart";
168
+ return function (method, arg) {
169
+ if ("executing" === state) throw new Error("Generator is already running");
170
+ if ("completed" === state) {
171
+ if ("throw" === method) throw arg;
172
+ return doneResult();
173
+ }
174
+ for (context.method = method, context.arg = arg;;) {
175
+ var delegate = context.delegate;
176
+ if (delegate) {
177
+ var delegateResult = maybeInvokeDelegate(delegate, context);
178
+ if (delegateResult) {
179
+ if (delegateResult === ContinueSentinel) continue;
180
+ return delegateResult;
181
+ }
182
+ }
183
+ if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
184
+ if ("suspendedStart" === state) throw state = "completed", context.arg;
185
+ context.dispatchException(context.arg);
186
+ } else "return" === context.method && context.abrupt("return", context.arg);
187
+ state = "executing";
188
+ var record = tryCatch(innerFn, self, context);
189
+ if ("normal" === record.type) {
190
+ if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
191
+ return {
192
+ value: record.arg,
193
+ done: context.done
194
+ };
195
+ }
196
+ "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
197
+ }
198
+ };
199
+ }
200
+ function maybeInvokeDelegate(delegate, context) {
201
+ var methodName = context.method,
202
+ method = delegate.iterator[methodName];
203
+ 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;
204
+ var record = tryCatch(method, delegate.iterator, context.arg);
205
+ if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
206
+ var info = record.arg;
207
+ 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);
208
+ }
209
+ function pushTryEntry(locs) {
210
+ var entry = {
211
+ tryLoc: locs[0]
212
+ };
213
+ 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
214
+ }
215
+ function resetTryEntry(entry) {
216
+ var record = entry.completion || {};
217
+ record.type = "normal", delete record.arg, entry.completion = record;
218
+ }
219
+ function Context(tryLocsList) {
220
+ this.tryEntries = [{
221
+ tryLoc: "root"
222
+ }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
223
+ }
224
+ function values(iterable) {
225
+ if (iterable) {
226
+ var iteratorMethod = iterable[iteratorSymbol];
227
+ if (iteratorMethod) return iteratorMethod.call(iterable);
228
+ if ("function" == typeof iterable.next) return iterable;
229
+ if (!isNaN(iterable.length)) {
230
+ var i = -1,
231
+ next = function next() {
232
+ for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
233
+ return next.value = undefined, next.done = !0, next;
234
+ };
235
+ return next.next = next;
236
+ }
237
+ }
238
+ return {
239
+ next: doneResult
240
+ };
241
+ }
242
+ function doneResult() {
243
+ return {
244
+ value: undefined,
245
+ done: !0
246
+ };
247
+ }
248
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
249
+ value: GeneratorFunctionPrototype,
250
+ configurable: !0
251
+ }), defineProperty(GeneratorFunctionPrototype, "constructor", {
252
+ value: GeneratorFunction,
253
+ configurable: !0
254
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
255
+ var ctor = "function" == typeof genFun && genFun.constructor;
256
+ return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
257
+ }, exports.mark = function (genFun) {
258
+ return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
259
+ }, exports.awrap = function (arg) {
260
+ return {
261
+ __await: arg
262
+ };
263
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
264
+ return this;
265
+ }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
266
+ void 0 === PromiseImpl && (PromiseImpl = Promise);
267
+ var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
268
+ return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
269
+ return result.done ? result.value : iter.next();
270
+ });
271
+ }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
272
+ return this;
273
+ }), define(Gp, "toString", function () {
274
+ return "[object Generator]";
275
+ }), exports.keys = function (val) {
276
+ var object = Object(val),
277
+ keys = [];
278
+ for (var key in object) keys.push(key);
279
+ return keys.reverse(), function next() {
280
+ for (; keys.length;) {
281
+ var key = keys.pop();
282
+ if (key in object) return next.value = key, next.done = !1, next;
283
+ }
284
+ return next.done = !0, next;
285
+ };
286
+ }, exports.values = values, Context.prototype = {
287
+ constructor: Context,
288
+ reset: function reset(skipTempReset) {
289
+ 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);
290
+ },
291
+ stop: function stop() {
292
+ this.done = !0;
293
+ var rootRecord = this.tryEntries[0].completion;
294
+ if ("throw" === rootRecord.type) throw rootRecord.arg;
295
+ return this.rval;
296
+ },
297
+ dispatchException: function dispatchException(exception) {
298
+ if (this.done) throw exception;
299
+ var context = this;
300
+ function handle(loc, caught) {
301
+ return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
302
+ }
303
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
304
+ var entry = this.tryEntries[i],
305
+ record = entry.completion;
306
+ if ("root" === entry.tryLoc) return handle("end");
307
+ if (entry.tryLoc <= this.prev) {
308
+ var hasCatch = hasOwn.call(entry, "catchLoc"),
309
+ hasFinally = hasOwn.call(entry, "finallyLoc");
310
+ if (hasCatch && hasFinally) {
311
+ if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
312
+ if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
313
+ } else if (hasCatch) {
314
+ if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
315
+ } else {
316
+ if (!hasFinally) throw new Error("try statement without catch or finally");
317
+ if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
318
+ }
319
+ }
320
+ }
321
+ },
322
+ abrupt: function abrupt(type, arg) {
323
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
324
+ var entry = this.tryEntries[i];
325
+ if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
326
+ var finallyEntry = entry;
327
+ break;
328
+ }
329
+ }
330
+ finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
331
+ var record = finallyEntry ? finallyEntry.completion : {};
332
+ return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
333
+ },
334
+ complete: function complete(record, afterLoc) {
335
+ if ("throw" === record.type) throw record.arg;
336
+ 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;
337
+ },
338
+ finish: function finish(finallyLoc) {
339
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
340
+ var entry = this.tryEntries[i];
341
+ if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
342
+ }
343
+ },
344
+ "catch": function _catch(tryLoc) {
345
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
346
+ var entry = this.tryEntries[i];
347
+ if (entry.tryLoc === tryLoc) {
348
+ var record = entry.completion;
349
+ if ("throw" === record.type) {
350
+ var thrown = record.arg;
351
+ resetTryEntry(entry);
352
+ }
353
+ return thrown;
354
+ }
355
+ }
356
+ throw new Error("illegal catch attempt");
357
+ },
358
+ delegateYield: function delegateYield(iterable, resultName, nextLoc) {
359
+ return this.delegate = {
360
+ iterator: values(iterable),
361
+ resultName: resultName,
362
+ nextLoc: nextLoc
363
+ }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
364
+ }
365
+ }, exports;
366
+ }
367
+
368
+ export { _objectSpread2 as _, _typeof as a, _regeneratorRuntime as b, _toPropertyKey as c, _defineProperty as d };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-soft-dva",
3
- "version": "3.6.7",
3
+ "version": "3.6.8",
4
4
  "description": "The core lightweight library for dva, based on redux and redux-saga.",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,
@@ -34,7 +34,7 @@
34
34
  "dependencies": {
35
35
  "@babel/runtime": "^7.20.7",
36
36
  "@reduxjs/toolkit": "^1.9.1",
37
- "easy-soft-utility": "^2.3.4",
37
+ "easy-soft-utility": "^2.3.5",
38
38
  "flatten": "^1.0.3",
39
39
  "global": "^4.4.0",
40
40
  "invariant": "^2.2.4",
@@ -91,5 +91,5 @@
91
91
  "peerDependencies": {
92
92
  "redux": "4.x"
93
93
  },
94
- "gitHead": "fbceddc1b993e3b62d8cce9a3bbea07e3d1e510e"
94
+ "gitHead": "3b6915707ccbec4f898f6550f87e1fb82337a0bf"
95
95
  }
@@ -1,4 +0,0 @@
1
- /**
2
- * Build prompt module info
3
- */
4
- export function buildPromptModuleInfo(moduleName: any, other?: string): string;