dfws-ve-resume-models 0.1.2 → 0.1.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.
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * dfws-ve-resume-models.js v0.1.2
2
+ * dfws-ve-resume-models.js v0.1.4
3
3
  * (c) 2024-2025
4
4
  * Released under the MIT License in iflytek.
5
5
  */
@@ -11,69 +11,54 @@
11
11
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.dfwsResume = factory());
12
12
  })(this, (function () { 'use strict';
13
13
 
14
- function _arrayLikeToArray$1(r, a) {
15
- (null == a || a > r.length) && (a = r.length);
16
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
17
- return n;
14
+ function _arrayLikeToArray$1(arr, len) {
15
+ if (len == null || len > arr.length) len = arr.length;
16
+
17
+ for (var i = 0, arr2 = new Array(len); i < len; i++) {
18
+ arr2[i] = arr[i];
19
+ }
20
+
21
+ return arr2;
18
22
  }
19
23
 
20
- function _arrayWithoutHoles(r) {
21
- if (Array.isArray(r)) return _arrayLikeToArray$1(r);
24
+ function _arrayWithoutHoles(arr) {
25
+ if (Array.isArray(arr)) return _arrayLikeToArray$1(arr);
22
26
  }
23
27
 
24
- function _iterableToArray(r) {
25
- if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
28
+ function _iterableToArray(iter) {
29
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
26
30
  }
27
31
 
28
- function _unsupportedIterableToArray$1(r, a) {
29
- if (r) {
30
- if ("string" == typeof r) return _arrayLikeToArray$1(r, a);
31
- var t = {}.toString.call(r).slice(8, -1);
32
- return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$1(r, a) : void 0;
33
- }
32
+ function _unsupportedIterableToArray$1(o, minLen) {
33
+ if (!o) return;
34
+ if (typeof o === "string") return _arrayLikeToArray$1(o, minLen);
35
+ var n = Object.prototype.toString.call(o).slice(8, -1);
36
+ if (n === "Object" && o.constructor) n = o.constructor.name;
37
+ if (n === "Map" || n === "Set") return Array.from(o);
38
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen);
34
39
  }
35
40
 
36
41
  function _nonIterableSpread() {
37
42
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
38
43
  }
39
44
 
40
- function _toConsumableArray(r) {
41
- return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray$1(r) || _nonIterableSpread();
42
- }
43
-
44
- function _typeof$1(o) {
45
- "@babel/helpers - typeof";
46
-
47
- return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
48
- return typeof o;
49
- } : function (o) {
50
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
51
- }, _typeof$1(o);
45
+ function _toConsumableArray(arr) {
46
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray$1(arr) || _nonIterableSpread();
52
47
  }
53
48
 
54
- function toPrimitive(t, r) {
55
- if ("object" != _typeof$1(t) || !t) return t;
56
- var e = t[Symbol.toPrimitive];
57
- if (void 0 !== e) {
58
- var i = e.call(t, r || "default");
59
- if ("object" != _typeof$1(i)) return i;
60
- throw new TypeError("@@toPrimitive must return a primitive value.");
49
+ function _defineProperty(obj, key, value) {
50
+ if (key in obj) {
51
+ Object.defineProperty(obj, key, {
52
+ value: value,
53
+ enumerable: true,
54
+ configurable: true,
55
+ writable: true
56
+ });
57
+ } else {
58
+ obj[key] = value;
61
59
  }
62
- return ("string" === r ? String : Number)(t);
63
- }
64
60
 
65
- function toPropertyKey(t) {
66
- var i = toPrimitive(t, "string");
67
- return "symbol" == _typeof$1(i) ? i : i + "";
68
- }
69
-
70
- function _defineProperty(e, r, t) {
71
- return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
72
- value: t,
73
- enumerable: !0,
74
- configurable: !0,
75
- writable: !0
76
- }) : e[r] = t, e;
61
+ return obj;
77
62
  }
78
63
 
79
64
  var mapStateToProps$f = function mapStateToProps(state) {
@@ -84,324 +69,375 @@
84
69
 
85
70
  var regeneratorRuntime$1 = {exports: {}};
86
71
 
87
- var _typeof = {exports: {}};
72
+ var _typeof$1 = {exports: {}};
88
73
 
89
74
  (function (module) {
90
- function _typeof(o) {
75
+ function _typeof(obj) {
91
76
  "@babel/helpers - typeof";
92
77
 
93
- return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
94
- return typeof o;
95
- } : function (o) {
96
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
97
- }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o);
78
+ return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
79
+ return typeof obj;
80
+ } : function (obj) {
81
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
82
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
98
83
  }
84
+
99
85
  module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
100
- }(_typeof));
86
+ }(_typeof$1));
101
87
 
102
88
  (function (module) {
103
- var _typeof$1 = _typeof.exports["default"];
89
+ var _typeof = _typeof$1.exports["default"];
90
+
104
91
  function _regeneratorRuntime() {
92
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
93
+
105
94
  module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
106
- return e;
95
+ return exports;
107
96
  }, module.exports.__esModule = true, module.exports["default"] = module.exports;
108
- var t,
109
- e = {},
110
- r = Object.prototype,
111
- n = r.hasOwnProperty,
112
- o = Object.defineProperty || function (t, e, r) {
113
- t[e] = r.value;
114
- },
115
- i = "function" == typeof Symbol ? Symbol : {},
116
- a = i.iterator || "@@iterator",
117
- c = i.asyncIterator || "@@asyncIterator",
118
- u = i.toStringTag || "@@toStringTag";
119
- function define(t, e, r) {
120
- return Object.defineProperty(t, e, {
121
- value: r,
97
+ var exports = {},
98
+ Op = Object.prototype,
99
+ hasOwn = Op.hasOwnProperty,
100
+ $Symbol = "function" == typeof Symbol ? Symbol : {},
101
+ iteratorSymbol = $Symbol.iterator || "@@iterator",
102
+ asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
103
+ toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
104
+
105
+ function define(obj, key, value) {
106
+ return Object.defineProperty(obj, key, {
107
+ value: value,
122
108
  enumerable: !0,
123
109
  configurable: !0,
124
110
  writable: !0
125
- }), t[e];
111
+ }), obj[key];
126
112
  }
113
+
127
114
  try {
128
115
  define({}, "");
129
- } catch (t) {
130
- define = function define(t, e, r) {
131
- return t[e] = r;
116
+ } catch (err) {
117
+ define = function define(obj, key, value) {
118
+ return obj[key] = value;
132
119
  };
133
120
  }
134
- function wrap(t, e, r, n) {
135
- var i = e && e.prototype instanceof Generator ? e : Generator,
136
- a = Object.create(i.prototype),
137
- c = new Context(n || []);
138
- return o(a, "_invoke", {
139
- value: makeInvokeMethod(t, r, c)
140
- }), a;
121
+
122
+ function wrap(innerFn, outerFn, self, tryLocsList) {
123
+ var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
124
+ generator = Object.create(protoGenerator.prototype),
125
+ context = new Context(tryLocsList || []);
126
+ return generator._invoke = function (innerFn, self, context) {
127
+ var state = "suspendedStart";
128
+ return function (method, arg) {
129
+ if ("executing" === state) throw new Error("Generator is already running");
130
+
131
+ if ("completed" === state) {
132
+ if ("throw" === method) throw arg;
133
+ return doneResult();
134
+ }
135
+
136
+ for (context.method = method, context.arg = arg;;) {
137
+ var delegate = context.delegate;
138
+
139
+ if (delegate) {
140
+ var delegateResult = maybeInvokeDelegate(delegate, context);
141
+
142
+ if (delegateResult) {
143
+ if (delegateResult === ContinueSentinel) continue;
144
+ return delegateResult;
145
+ }
146
+ }
147
+
148
+ if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
149
+ if ("suspendedStart" === state) throw state = "completed", context.arg;
150
+ context.dispatchException(context.arg);
151
+ } else "return" === context.method && context.abrupt("return", context.arg);
152
+ state = "executing";
153
+ var record = tryCatch(innerFn, self, context);
154
+
155
+ if ("normal" === record.type) {
156
+ if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
157
+ return {
158
+ value: record.arg,
159
+ done: context.done
160
+ };
161
+ }
162
+
163
+ "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
164
+ }
165
+ };
166
+ }(innerFn, self, context), generator;
141
167
  }
142
- function tryCatch(t, e, r) {
168
+
169
+ function tryCatch(fn, obj, arg) {
143
170
  try {
144
171
  return {
145
172
  type: "normal",
146
- arg: t.call(e, r)
173
+ arg: fn.call(obj, arg)
147
174
  };
148
- } catch (t) {
175
+ } catch (err) {
149
176
  return {
150
177
  type: "throw",
151
- arg: t
178
+ arg: err
152
179
  };
153
180
  }
154
181
  }
155
- e.wrap = wrap;
156
- var h = "suspendedStart",
157
- l = "suspendedYield",
158
- f = "executing",
159
- s = "completed",
160
- y = {};
182
+
183
+ exports.wrap = wrap;
184
+ var ContinueSentinel = {};
185
+
161
186
  function Generator() {}
187
+
162
188
  function GeneratorFunction() {}
189
+
163
190
  function GeneratorFunctionPrototype() {}
164
- var p = {};
165
- define(p, a, function () {
191
+
192
+ var IteratorPrototype = {};
193
+ define(IteratorPrototype, iteratorSymbol, function () {
166
194
  return this;
167
195
  });
168
- var d = Object.getPrototypeOf,
169
- v = d && d(d(values([])));
170
- v && v !== r && n.call(v, a) && (p = v);
171
- var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
172
- function defineIteratorMethods(t) {
173
- ["next", "throw", "return"].forEach(function (e) {
174
- define(t, e, function (t) {
175
- return this._invoke(e, t);
196
+ var getProto = Object.getPrototypeOf,
197
+ NativeIteratorPrototype = getProto && getProto(getProto(values([])));
198
+ NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
199
+ var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
200
+
201
+ function defineIteratorMethods(prototype) {
202
+ ["next", "throw", "return"].forEach(function (method) {
203
+ define(prototype, method, function (arg) {
204
+ return this._invoke(method, arg);
176
205
  });
177
206
  });
178
207
  }
179
- function AsyncIterator(t, e) {
180
- function invoke(r, o, i, a) {
181
- var c = tryCatch(t[r], t, o);
182
- if ("throw" !== c.type) {
183
- var u = c.arg,
184
- h = u.value;
185
- return h && "object" == _typeof$1(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
186
- invoke("next", t, i, a);
187
- }, function (t) {
188
- invoke("throw", t, i, a);
189
- }) : e.resolve(h).then(function (t) {
190
- u.value = t, i(u);
191
- }, function (t) {
192
- return invoke("throw", t, i, a);
208
+
209
+ function AsyncIterator(generator, PromiseImpl) {
210
+ function invoke(method, arg, resolve, reject) {
211
+ var record = tryCatch(generator[method], generator, arg);
212
+
213
+ if ("throw" !== record.type) {
214
+ var result = record.arg,
215
+ value = result.value;
216
+ return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
217
+ invoke("next", value, resolve, reject);
218
+ }, function (err) {
219
+ invoke("throw", err, resolve, reject);
220
+ }) : PromiseImpl.resolve(value).then(function (unwrapped) {
221
+ result.value = unwrapped, resolve(result);
222
+ }, function (error) {
223
+ return invoke("throw", error, resolve, reject);
193
224
  });
194
225
  }
195
- a(c.arg);
226
+
227
+ reject(record.arg);
196
228
  }
197
- var r;
198
- o(this, "_invoke", {
199
- value: function value(t, n) {
200
- function callInvokeWithMethodAndArg() {
201
- return new e(function (e, r) {
202
- invoke(t, n, e, r);
203
- });
204
- }
205
- return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
206
- }
207
- });
208
- }
209
- function makeInvokeMethod(e, r, n) {
210
- var o = h;
211
- return function (i, a) {
212
- if (o === f) throw Error("Generator is already running");
213
- if (o === s) {
214
- if ("throw" === i) throw a;
215
- return {
216
- value: t,
217
- done: !0
218
- };
219
- }
220
- for (n.method = i, n.arg = a;;) {
221
- var c = n.delegate;
222
- if (c) {
223
- var u = maybeInvokeDelegate(c, n);
224
- if (u) {
225
- if (u === y) continue;
226
- return u;
227
- }
228
- }
229
- if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
230
- if (o === h) throw o = s, n.arg;
231
- n.dispatchException(n.arg);
232
- } else "return" === n.method && n.abrupt("return", n.arg);
233
- o = f;
234
- var p = tryCatch(e, r, n);
235
- if ("normal" === p.type) {
236
- if (o = n.done ? s : l, p.arg === y) continue;
237
- return {
238
- value: p.arg,
239
- done: n.done
240
- };
241
- }
242
- "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
229
+
230
+ var previousPromise;
231
+
232
+ this._invoke = function (method, arg) {
233
+ function callInvokeWithMethodAndArg() {
234
+ return new PromiseImpl(function (resolve, reject) {
235
+ invoke(method, arg, resolve, reject);
236
+ });
243
237
  }
238
+
239
+ return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
244
240
  };
245
241
  }
246
- function maybeInvokeDelegate(e, r) {
247
- var n = r.method,
248
- o = e.iterator[n];
249
- 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;
250
- var i = tryCatch(o, e.iterator, r.arg);
251
- if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
252
- var a = i.arg;
253
- 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);
242
+
243
+ function maybeInvokeDelegate(delegate, context) {
244
+ var method = delegate.iterator[context.method];
245
+
246
+ if (undefined === method) {
247
+ if (context.delegate = null, "throw" === context.method) {
248
+ if (delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel;
249
+ context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
250
+ }
251
+
252
+ return ContinueSentinel;
253
+ }
254
+
255
+ var record = tryCatch(method, delegate.iterator, context.arg);
256
+ if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
257
+ var info = record.arg;
258
+ 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);
254
259
  }
255
- function pushTryEntry(t) {
256
- var e = {
257
- tryLoc: t[0]
260
+
261
+ function pushTryEntry(locs) {
262
+ var entry = {
263
+ tryLoc: locs[0]
258
264
  };
259
- 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
265
+ 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
260
266
  }
261
- function resetTryEntry(t) {
262
- var e = t.completion || {};
263
- e.type = "normal", delete e.arg, t.completion = e;
267
+
268
+ function resetTryEntry(entry) {
269
+ var record = entry.completion || {};
270
+ record.type = "normal", delete record.arg, entry.completion = record;
264
271
  }
265
- function Context(t) {
272
+
273
+ function Context(tryLocsList) {
266
274
  this.tryEntries = [{
267
275
  tryLoc: "root"
268
- }], t.forEach(pushTryEntry, this), this.reset(!0);
276
+ }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
269
277
  }
270
- function values(e) {
271
- if (e || "" === e) {
272
- var r = e[a];
273
- if (r) return r.call(e);
274
- if ("function" == typeof e.next) return e;
275
- if (!isNaN(e.length)) {
276
- var o = -1,
277
- i = function next() {
278
- for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
279
- return next.value = t, next.done = !0, next;
280
- };
281
- return i.next = i;
278
+
279
+ function values(iterable) {
280
+ if (iterable) {
281
+ var iteratorMethod = iterable[iteratorSymbol];
282
+ if (iteratorMethod) return iteratorMethod.call(iterable);
283
+ if ("function" == typeof iterable.next) return iterable;
284
+
285
+ if (!isNaN(iterable.length)) {
286
+ var i = -1,
287
+ next = function next() {
288
+ for (; ++i < iterable.length;) {
289
+ if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
290
+ }
291
+
292
+ return next.value = undefined, next.done = !0, next;
293
+ };
294
+
295
+ return next.next = next;
282
296
  }
283
297
  }
284
- throw new TypeError(_typeof$1(e) + " is not iterable");
298
+
299
+ return {
300
+ next: doneResult
301
+ };
285
302
  }
286
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
287
- value: GeneratorFunctionPrototype,
288
- configurable: !0
289
- }), o(GeneratorFunctionPrototype, "constructor", {
290
- value: GeneratorFunction,
291
- configurable: !0
292
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
293
- var e = "function" == typeof t && t.constructor;
294
- return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
295
- }, e.mark = function (t) {
296
- return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
297
- }, e.awrap = function (t) {
303
+
304
+ function doneResult() {
298
305
  return {
299
- __await: t
306
+ value: undefined,
307
+ done: !0
300
308
  };
301
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
309
+ }
310
+
311
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
312
+ var ctor = "function" == typeof genFun && genFun.constructor;
313
+ return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
314
+ }, exports.mark = function (genFun) {
315
+ return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
316
+ }, exports.awrap = function (arg) {
317
+ return {
318
+ __await: arg
319
+ };
320
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
302
321
  return this;
303
- }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
304
- void 0 === i && (i = Promise);
305
- var a = new AsyncIterator(wrap(t, r, n, o), i);
306
- return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
307
- return t.done ? t.value : a.next();
322
+ }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
323
+ void 0 === PromiseImpl && (PromiseImpl = Promise);
324
+ var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
325
+ return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
326
+ return result.done ? result.value : iter.next();
308
327
  });
309
- }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
328
+ }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
310
329
  return this;
311
- }), define(g, "toString", function () {
330
+ }), define(Gp, "toString", function () {
312
331
  return "[object Generator]";
313
- }), e.keys = function (t) {
314
- var e = Object(t),
315
- r = [];
316
- for (var n in e) r.push(n);
317
- return r.reverse(), function next() {
318
- for (; r.length;) {
319
- var t = r.pop();
320
- if (t in e) return next.value = t, next.done = !1, next;
332
+ }), exports.keys = function (object) {
333
+ var keys = [];
334
+
335
+ for (var key in object) {
336
+ keys.push(key);
337
+ }
338
+
339
+ return keys.reverse(), function next() {
340
+ for (; keys.length;) {
341
+ var key = keys.pop();
342
+ if (key in object) return next.value = key, next.done = !1, next;
321
343
  }
344
+
322
345
  return next.done = !0, next;
323
346
  };
324
- }, e.values = values, Context.prototype = {
347
+ }, exports.values = values, Context.prototype = {
325
348
  constructor: Context,
326
- reset: function reset(e) {
327
- 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);
349
+ reset: function reset(skipTempReset) {
350
+ 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) {
351
+ "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
352
+ }
328
353
  },
329
354
  stop: function stop() {
330
355
  this.done = !0;
331
- var t = this.tryEntries[0].completion;
332
- if ("throw" === t.type) throw t.arg;
356
+ var rootRecord = this.tryEntries[0].completion;
357
+ if ("throw" === rootRecord.type) throw rootRecord.arg;
333
358
  return this.rval;
334
359
  },
335
- dispatchException: function dispatchException(e) {
336
- if (this.done) throw e;
337
- var r = this;
338
- function handle(n, o) {
339
- return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
360
+ dispatchException: function dispatchException(exception) {
361
+ if (this.done) throw exception;
362
+ var context = this;
363
+
364
+ function handle(loc, caught) {
365
+ return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
340
366
  }
341
- for (var o = this.tryEntries.length - 1; o >= 0; --o) {
342
- var i = this.tryEntries[o],
343
- a = i.completion;
344
- if ("root" === i.tryLoc) return handle("end");
345
- if (i.tryLoc <= this.prev) {
346
- var c = n.call(i, "catchLoc"),
347
- u = n.call(i, "finallyLoc");
348
- if (c && u) {
349
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
350
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
351
- } else if (c) {
352
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
367
+
368
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
369
+ var entry = this.tryEntries[i],
370
+ record = entry.completion;
371
+ if ("root" === entry.tryLoc) return handle("end");
372
+
373
+ if (entry.tryLoc <= this.prev) {
374
+ var hasCatch = hasOwn.call(entry, "catchLoc"),
375
+ hasFinally = hasOwn.call(entry, "finallyLoc");
376
+
377
+ if (hasCatch && hasFinally) {
378
+ if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
379
+ if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
380
+ } else if (hasCatch) {
381
+ if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
353
382
  } else {
354
- if (!u) throw Error("try statement without catch or finally");
355
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
383
+ if (!hasFinally) throw new Error("try statement without catch or finally");
384
+ if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
356
385
  }
357
386
  }
358
387
  }
359
388
  },
360
- abrupt: function abrupt(t, e) {
361
- for (var r = this.tryEntries.length - 1; r >= 0; --r) {
362
- var o = this.tryEntries[r];
363
- if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
364
- var i = o;
389
+ abrupt: function abrupt(type, arg) {
390
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
391
+ var entry = this.tryEntries[i];
392
+
393
+ if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
394
+ var finallyEntry = entry;
365
395
  break;
366
396
  }
367
397
  }
368
- i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
369
- var a = i ? i.completion : {};
370
- return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
371
- },
372
- complete: function complete(t, e) {
373
- if ("throw" === t.type) throw t.arg;
374
- 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;
375
- },
376
- finish: function finish(t) {
377
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
378
- var r = this.tryEntries[e];
379
- if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
398
+
399
+ finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
400
+ var record = finallyEntry ? finallyEntry.completion : {};
401
+ return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
402
+ },
403
+ complete: function complete(record, afterLoc) {
404
+ if ("throw" === record.type) throw record.arg;
405
+ 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;
406
+ },
407
+ finish: function finish(finallyLoc) {
408
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
409
+ var entry = this.tryEntries[i];
410
+ if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
380
411
  }
381
412
  },
382
- "catch": function _catch(t) {
383
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
384
- var r = this.tryEntries[e];
385
- if (r.tryLoc === t) {
386
- var n = r.completion;
387
- if ("throw" === n.type) {
388
- var o = n.arg;
389
- resetTryEntry(r);
413
+ "catch": function _catch(tryLoc) {
414
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
415
+ var entry = this.tryEntries[i];
416
+
417
+ if (entry.tryLoc === tryLoc) {
418
+ var record = entry.completion;
419
+
420
+ if ("throw" === record.type) {
421
+ var thrown = record.arg;
422
+ resetTryEntry(entry);
390
423
  }
391
- return o;
424
+
425
+ return thrown;
392
426
  }
393
427
  }
394
- throw Error("illegal catch attempt");
428
+
429
+ throw new Error("illegal catch attempt");
395
430
  },
396
- delegateYield: function delegateYield(e, r, n) {
431
+ delegateYield: function delegateYield(iterable, resultName, nextLoc) {
397
432
  return this.delegate = {
398
- iterator: values(e),
399
- resultName: r,
400
- nextLoc: n
401
- }, "next" === this.method && (this.arg = t), y;
433
+ iterator: values(iterable),
434
+ resultName: resultName,
435
+ nextLoc: nextLoc
436
+ }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
402
437
  }
403
- }, e;
438
+ }, exports;
404
439
  }
440
+
405
441
  module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
406
442
  }(regeneratorRuntime$1));
407
443
 
@@ -421,28 +457,38 @@
421
457
  }
422
458
  }
423
459
 
424
- function asyncGeneratorStep(n, t, e, r, o, a, c) {
460
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
425
461
  try {
426
- var i = n[a](c),
427
- u = i.value;
428
- } catch (n) {
429
- return void e(n);
462
+ var info = gen[key](arg);
463
+ var value = info.value;
464
+ } catch (error) {
465
+ reject(error);
466
+ return;
467
+ }
468
+
469
+ if (info.done) {
470
+ resolve(value);
471
+ } else {
472
+ Promise.resolve(value).then(_next, _throw);
430
473
  }
431
- i.done ? t(u) : Promise.resolve(u).then(r, o);
432
474
  }
433
- function _asyncToGenerator(n) {
475
+
476
+ function _asyncToGenerator(fn) {
434
477
  return function () {
435
- var t = this,
436
- e = arguments;
437
- return new Promise(function (r, o) {
438
- var a = n.apply(t, e);
439
- function _next(n) {
440
- asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
478
+ var self = this,
479
+ args = arguments;
480
+ return new Promise(function (resolve, reject) {
481
+ var gen = fn.apply(self, args);
482
+
483
+ function _next(value) {
484
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
441
485
  }
442
- function _throw(n) {
443
- asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
486
+
487
+ function _throw(err) {
488
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
444
489
  }
445
- _next(void 0);
490
+
491
+ _next(undefined);
446
492
  });
447
493
  };
448
494
  }
@@ -456,12 +502,11 @@
456
502
  };
457
503
 
458
504
  var host = isWeapp ? 'https://xcx.veryeast.cn' : isWeb ? '/ve.resume' : ''; // 判断终端环境
459
- var nowTime = new Date().getTime();
460
505
 
461
506
  // 公共接口
462
507
  var API_PUBLIC = {
463
508
  version: {
464
- url: "https://dfws-file.veimg.cn/dict/version/list.json?t=".concat(nowTime.toString()),
509
+ url: "".concat(host, "/share-interface/v3/system/version/list"),
465
510
  method: 'GET',
466
511
  name: "版本信息"
467
512
  },
@@ -512,6 +557,12 @@
512
557
  name: '简历-基本信息-设置'
513
558
  },
514
559
  // 简历-基本信息-设置
560
+ set_ihma: {
561
+ url: "".concat(host, "/go/resume/v1/base/ihma"),
562
+ method: "PUT",
563
+ name: '简历-基本信息-设置IHMA'
564
+ },
565
+ // 简历-基本信息-设置IHMA
515
566
 
516
567
  get_intention: {
517
568
  url: "".concat(host, "/go/resume/v1/intention"),
@@ -841,7 +892,19 @@
841
892
  url: "".concat(host, "/go/resume/v1/all/parse/pc"),
842
893
  method: "POST",
843
894
  name: 'pc端-简历解析'
844
- } // pc端-简历解析
895
+ },
896
+ // pc端-简历解析
897
+ set_micro_resume_base: {
898
+ url: "".concat(host, "/go/resume/v1/micro/pc/base"),
899
+ method: "POST",
900
+ name: 'pc端-保存微简历[第一步]'
901
+ },
902
+ // pc端-保存微简历[第一步]
903
+ set_micro_resume_more: {
904
+ url: "".concat(host, "/go/resume/v1/micro/pc/more"),
905
+ method: "POST",
906
+ name: 'pc端-保存微简历[第二步]'
907
+ } // pc端-保存微简历[第二步]
845
908
  };
846
909
 
847
910
  // 用户SSO
@@ -2039,6 +2102,7 @@
2039
2102
  function queryAddTrainingExp() {
2040
2103
  return _queryAddTrainingExp.apply(this, arguments);
2041
2104
  }
2105
+ // 简历-基本信息-设置IHMA
2042
2106
  function _queryAddTrainingExp() {
2043
2107
  _queryAddTrainingExp = _asyncToGenerator(/*#__PURE__*/regenerator.mark(function _callee45() {
2044
2108
  var payload,
@@ -2060,6 +2124,30 @@
2060
2124
  }));
2061
2125
  return _queryAddTrainingExp.apply(this, arguments);
2062
2126
  }
2127
+ function querySetIhmaStatus() {
2128
+ return _querySetIhmaStatus.apply(this, arguments);
2129
+ }
2130
+ function _querySetIhmaStatus() {
2131
+ _querySetIhmaStatus = _asyncToGenerator(/*#__PURE__*/regenerator.mark(function _callee46() {
2132
+ var payload,
2133
+ _API_RESUME$set_ihma,
2134
+ url,
2135
+ method,
2136
+ _args46 = arguments;
2137
+ return regenerator.wrap(function _callee46$(_context46) {
2138
+ while (1) switch (_context46.prev = _context46.next) {
2139
+ case 0:
2140
+ payload = _args46.length > 0 && _args46[0] !== undefined ? _args46[0] : {};
2141
+ _API_RESUME$set_ihma = API_RESUME.set_ihma, url = _API_RESUME$set_ihma.url, method = _API_RESUME$set_ihma.method;
2142
+ return _context46.abrupt("return", request(url, payload, method));
2143
+ case 3:
2144
+ case "end":
2145
+ return _context46.stop();
2146
+ }
2147
+ }, _callee46);
2148
+ }));
2149
+ return _querySetIhmaStatus.apply(this, arguments);
2150
+ }
2063
2151
 
2064
2152
  // 删除简历职业风采
2065
2153
  function querySetAllInfo() {
@@ -2321,6 +2409,8 @@
2321
2409
  function queryAddUploadResume() {
2322
2410
  return _queryAddUploadResume.apply(this, arguments);
2323
2411
  }
2412
+
2413
+ //简历-保存微简历【第一步】
2324
2414
  function _queryAddUploadResume() {
2325
2415
  _queryAddUploadResume = _asyncToGenerator(/*#__PURE__*/regenerator.mark(function _callee11() {
2326
2416
  var payload,
@@ -2342,6 +2432,56 @@
2342
2432
  }));
2343
2433
  return _queryAddUploadResume.apply(this, arguments);
2344
2434
  }
2435
+ function querySetMicroResumeBase() {
2436
+ return _querySetMicroResumeBase.apply(this, arguments);
2437
+ }
2438
+
2439
+ //简历-保存微简历【第二步】
2440
+ function _querySetMicroResumeBase() {
2441
+ _querySetMicroResumeBase = _asyncToGenerator(/*#__PURE__*/regenerator.mark(function _callee12() {
2442
+ var payload,
2443
+ _API_PC_RESUME$set_mi,
2444
+ url,
2445
+ method,
2446
+ _args12 = arguments;
2447
+ return regenerator.wrap(function _callee12$(_context12) {
2448
+ while (1) switch (_context12.prev = _context12.next) {
2449
+ case 0:
2450
+ payload = _args12.length > 0 && _args12[0] !== undefined ? _args12[0] : {};
2451
+ _API_PC_RESUME$set_mi = API_PC_RESUME.set_micro_resume_base, url = _API_PC_RESUME$set_mi.url, method = _API_PC_RESUME$set_mi.method;
2452
+ return _context12.abrupt("return", request(url, payload, method));
2453
+ case 3:
2454
+ case "end":
2455
+ return _context12.stop();
2456
+ }
2457
+ }, _callee12);
2458
+ }));
2459
+ return _querySetMicroResumeBase.apply(this, arguments);
2460
+ }
2461
+ function querySetMicroResumeMore() {
2462
+ return _querySetMicroResumeMore.apply(this, arguments);
2463
+ }
2464
+ function _querySetMicroResumeMore() {
2465
+ _querySetMicroResumeMore = _asyncToGenerator(/*#__PURE__*/regenerator.mark(function _callee13() {
2466
+ var payload,
2467
+ _API_PC_RESUME$set_mi2,
2468
+ url,
2469
+ method,
2470
+ _args13 = arguments;
2471
+ return regenerator.wrap(function _callee13$(_context13) {
2472
+ while (1) switch (_context13.prev = _context13.next) {
2473
+ case 0:
2474
+ payload = _args13.length > 0 && _args13[0] !== undefined ? _args13[0] : {};
2475
+ _API_PC_RESUME$set_mi2 = API_PC_RESUME.set_micro_resume_more, url = _API_PC_RESUME$set_mi2.url, method = _API_PC_RESUME$set_mi2.method;
2476
+ return _context13.abrupt("return", request(url, payload, method));
2477
+ case 3:
2478
+ case "end":
2479
+ return _context13.stop();
2480
+ }
2481
+ }, _callee13);
2482
+ }));
2483
+ return _querySetMicroResumeMore.apply(this, arguments);
2484
+ }
2345
2485
  var pc = {
2346
2486
  querySetAllInfo: querySetAllInfo,
2347
2487
  queryGetAllInfo: queryGetAllInfo,
@@ -2353,7 +2493,9 @@
2353
2493
  queryGetEdu: queryGetEdu,
2354
2494
  querySetEdu: querySetEdu,
2355
2495
  queryAddEdu: queryAddEdu,
2356
- queryAddUploadResume: queryAddUploadResume
2496
+ queryAddUploadResume: queryAddUploadResume,
2497
+ querySetMicroResumeBase: querySetMicroResumeBase,
2498
+ querySetMicroResumeMore: querySetMicroResumeMore
2357
2499
  };
2358
2500
 
2359
2501
  function ownKeys$f(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -2606,13 +2748,34 @@
2606
2748
  }
2607
2749
  }, _callee7);
2608
2750
  })();
2751
+ },
2752
+ // 设置是否显示先之教育证书
2753
+ setIhma: function setIhma(action, _ref8) {
2754
+ var call = _ref8.call;
2755
+ return /*#__PURE__*/regenerator.mark(function _callee8() {
2756
+ var payload, response;
2757
+ return regenerator.wrap(function _callee8$(_context8) {
2758
+ while (1) switch (_context8.prev = _context8.next) {
2759
+ case 0:
2760
+ payload = action.payload;
2761
+ _context8.next = 3;
2762
+ return call(querySetIhmaStatus, payload);
2763
+ case 3:
2764
+ response = _context8.sent;
2765
+ return _context8.abrupt("return", response);
2766
+ case 5:
2767
+ case "end":
2768
+ return _context8.stop();
2769
+ }
2770
+ }, _callee8);
2771
+ })();
2609
2772
  }
2610
2773
  },
2611
2774
  reducers: {
2612
2775
  save: function save() {
2613
2776
  var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2614
- var _ref8 = arguments.length > 1 ? arguments[1] : undefined,
2615
- payload = _ref8.payload;
2777
+ var _ref9 = arguments.length > 1 ? arguments[1] : undefined,
2778
+ payload = _ref9.payload;
2616
2779
  return _objectSpread$f(_objectSpread$f({}, state), payload);
2617
2780
  }
2618
2781
  }
@@ -2665,6 +2828,13 @@
2665
2828
  return dispatch({
2666
2829
  type: 'resume/fetchPcGetBase'
2667
2830
  });
2831
+ },
2832
+ // 设置是否显示先之教育证书
2833
+ setIhma: function setIhma(params) {
2834
+ return dispatch({
2835
+ type: 'resume/setIhma',
2836
+ payload: params
2837
+ });
2668
2838
  }
2669
2839
  };
2670
2840
  };
@@ -4322,44 +4492,56 @@
4322
4492
  return _getArea.apply(this, arguments);
4323
4493
  }
4324
4494
 
4325
- function _arrayWithHoles(r) {
4326
- if (Array.isArray(r)) return r;
4495
+ function _typeof(obj) {
4496
+ "@babel/helpers - typeof";
4497
+
4498
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
4499
+ return typeof obj;
4500
+ } : function (obj) {
4501
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
4502
+ }, _typeof(obj);
4327
4503
  }
4328
4504
 
4329
- function _iterableToArrayLimit(r, l) {
4330
- var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
4331
- if (null != t) {
4332
- var e,
4333
- n,
4334
- i,
4335
- u,
4336
- a = [],
4337
- f = !0,
4338
- o = !1;
4505
+ function _arrayWithHoles(arr) {
4506
+ if (Array.isArray(arr)) return arr;
4507
+ }
4508
+
4509
+ function _iterableToArrayLimit(arr, i) {
4510
+ var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
4511
+
4512
+ if (_i == null) return;
4513
+ var _arr = [];
4514
+ var _n = true;
4515
+ var _d = false;
4516
+
4517
+ var _s, _e;
4518
+
4519
+ try {
4520
+ for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
4521
+ _arr.push(_s.value);
4522
+
4523
+ if (i && _arr.length === i) break;
4524
+ }
4525
+ } catch (err) {
4526
+ _d = true;
4527
+ _e = err;
4528
+ } finally {
4339
4529
  try {
4340
- if (i = (t = t.call(r)).next, 0 === l) {
4341
- if (Object(t) !== t) return;
4342
- f = !1;
4343
- } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
4344
- } catch (r) {
4345
- o = !0, n = r;
4530
+ if (!_n && _i["return"] != null) _i["return"]();
4346
4531
  } finally {
4347
- try {
4348
- if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
4349
- } finally {
4350
- if (o) throw n;
4351
- }
4532
+ if (_d) throw _e;
4352
4533
  }
4353
- return a;
4354
4534
  }
4535
+
4536
+ return _arr;
4355
4537
  }
4356
4538
 
4357
4539
  function _nonIterableRest() {
4358
4540
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
4359
4541
  }
4360
4542
 
4361
- function _slicedToArray(r, e) {
4362
- return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray$1(r, e) || _nonIterableRest();
4543
+ function _slicedToArray(arr, i) {
4544
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray$1(arr, i) || _nonIterableRest();
4363
4545
  }
4364
4546
 
4365
4547
  var generateTypeState = function generateTypeState(type) {
@@ -4368,7 +4550,7 @@
4368
4550
  var _ref2 = _slicedToArray(_ref, 2),
4369
4551
  key = _ref2[0],
4370
4552
  value = _ref2[1];
4371
- entries.push(_defineProperty({}, key, _typeof$1(value)));
4553
+ entries.push(_defineProperty({}, key, _typeof(value)));
4372
4554
  });
4373
4555
  return entries;
4374
4556
  };
@@ -4381,13 +4563,13 @@
4381
4563
  var _ref4 = _slicedToArray(_ref3, 2),
4382
4564
  key = _ref4[0],
4383
4565
  value = _ref4[1];
4384
- entries.push(_defineProperty({}, key, typeof value == 'function' ? needsParameters(value.prototype.constructor) : _typeof$1(value)));
4566
+ entries.push(_defineProperty({}, key, typeof value == 'function' ? needsParameters(value.prototype.constructor) : _typeof(value)));
4385
4567
  });
4386
4568
  return entries;
4387
4569
  };
4388
4570
  var baseClone = function baseClone(value, customizer, CLONE_DEEP, stack) {
4389
4571
  // 处理不同类型的数据
4390
- switch (_typeof$1(value)) {
4572
+ switch (_typeof(value)) {
4391
4573
  case 'undefined':
4392
4574
  case 'null':
4393
4575
  return value;
@@ -4433,7 +4615,7 @@
4433
4615
  return result;
4434
4616
  };
4435
4617
  var isObjectLike = function isObjectLike(value) {
4436
- return value != null && _typeof$1(value) == 'object';
4618
+ return value != null && _typeof(value) == 'object';
4437
4619
  };
4438
4620
  var getPrototype = function getPrototype(value) {
4439
4621
  var prototype = Object.getPrototypeOf(value);
@@ -4663,7 +4845,7 @@
4663
4845
  response = _context2.sent;
4664
4846
  if (!(response.status && response.status === 2)) {
4665
4847
  if (callback) {
4666
- callback(response);
4848
+ callback(response.data);
4667
4849
  }
4668
4850
  }
4669
4851
  case 5:
@@ -5205,13 +5387,63 @@
5205
5387
  }
5206
5388
  }, _callee4);
5207
5389
  })();
5390
+ },
5391
+ // pc微简历【第一步】
5392
+ savePcBase: function savePcBase(action, _ref5) {
5393
+ var call = _ref5.call;
5394
+ return /*#__PURE__*/regenerator.mark(function _callee5() {
5395
+ var payload, response;
5396
+ return regenerator.wrap(function _callee5$(_context5) {
5397
+ while (1) switch (_context5.prev = _context5.next) {
5398
+ case 0:
5399
+ payload = action.payload;
5400
+ _context5.next = 3;
5401
+ return call(pc.querySetMicroResumeBase, payload);
5402
+ case 3:
5403
+ response = _context5.sent;
5404
+ if (!(response.status && response.status === 1)) {
5405
+ _context5.next = 6;
5406
+ break;
5407
+ }
5408
+ return _context5.abrupt("return", response);
5409
+ case 6:
5410
+ case "end":
5411
+ return _context5.stop();
5412
+ }
5413
+ }, _callee5);
5414
+ })();
5415
+ },
5416
+ // pc微简历【第二步】
5417
+ savePcMore: function savePcMore(action, _ref6) {
5418
+ var call = _ref6.call;
5419
+ return /*#__PURE__*/regenerator.mark(function _callee6() {
5420
+ var payload, response;
5421
+ return regenerator.wrap(function _callee6$(_context6) {
5422
+ while (1) switch (_context6.prev = _context6.next) {
5423
+ case 0:
5424
+ payload = action.payload;
5425
+ _context6.next = 3;
5426
+ return call(pc.querySetMicroResumeMore, payload);
5427
+ case 3:
5428
+ response = _context6.sent;
5429
+ if (!(response.status && response.status === 1)) {
5430
+ _context6.next = 6;
5431
+ break;
5432
+ }
5433
+ return _context6.abrupt("return", response);
5434
+ case 6:
5435
+ case "end":
5436
+ return _context6.stop();
5437
+ }
5438
+ }, _callee6);
5439
+ })();
5208
5440
  }
5209
5441
  },
5210
5442
  reducers: {
5211
5443
  save: function save() {
5212
5444
  var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
5213
- var _ref5 = arguments.length > 1 ? arguments[1] : undefined,
5214
- payload = _ref5.payload;
5445
+ var _ref7 = arguments.length > 1 ? arguments[1] : undefined,
5446
+ payload = _ref7.payload;
5215
5447
  return _objectSpread$6({
5216
5448
  state: state
5217
5449
  }, payload);
@@ -5262,6 +5494,20 @@
5262
5494
  return dispatch({
5263
5495
  type: 'micro/clearSave'
5264
5496
  });
5497
+ },
5498
+ // 保存微简历[第一步]
5499
+ savePcBase: function savePcBase(params) {
5500
+ return dispatch({
5501
+ type: 'micro/savePcBase',
5502
+ payload: params
5503
+ });
5504
+ },
5505
+ // 保存微简历[第二步]
5506
+ savePcMore: function savePcMore(params) {
5507
+ return dispatch({
5508
+ type: 'micro/savePcMore',
5509
+ payload: params
5510
+ });
5265
5511
  }
5266
5512
  };
5267
5513
  };