@azrico/webobject 1.4.75 → 1.4.77
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.
|
@@ -224,22 +224,33 @@ var ObjectManager = /*#__PURE__*/function (_notifyChanged, _setValue, _setSubVal
|
|
|
224
224
|
key: "setSubValue",
|
|
225
225
|
value: function setSubValue(_x7, _x8, _x9) {
|
|
226
226
|
return (_setSubValue = _setSubValue || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(key, objKey, subvalue) {
|
|
227
|
-
var _this$obj6;
|
|
227
|
+
var _yield$this$obj$setSu, _this$obj6;
|
|
228
228
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
229
229
|
while (1) switch (_context3.prev = _context3.next) {
|
|
230
230
|
case 0:
|
|
231
231
|
_context3.next = 2;
|
|
232
232
|
return (_this$obj6 = this.obj) === null || _this$obj6 === void 0 ? void 0 : _this$obj6.setSubValue(key, objKey, subvalue);
|
|
233
233
|
case 2:
|
|
234
|
-
_context3.
|
|
235
|
-
|
|
236
|
-
|
|
234
|
+
_context3.t1 = _yield$this$obj$setSu = _context3.sent;
|
|
235
|
+
_context3.t0 = _context3.t1 !== null;
|
|
236
|
+
if (!_context3.t0) {
|
|
237
|
+
_context3.next = 6;
|
|
237
238
|
break;
|
|
238
239
|
}
|
|
239
|
-
_context3.t0 =
|
|
240
|
-
case 5:
|
|
241
|
-
return _context3.abrupt("return", _context3.t0);
|
|
240
|
+
_context3.t0 = _yield$this$obj$setSu !== void 0;
|
|
242
241
|
case 6:
|
|
242
|
+
if (!_context3.t0) {
|
|
243
|
+
_context3.next = 10;
|
|
244
|
+
break;
|
|
245
|
+
}
|
|
246
|
+
_context3.t2 = _yield$this$obj$setSu;
|
|
247
|
+
_context3.next = 11;
|
|
248
|
+
break;
|
|
249
|
+
case 10:
|
|
250
|
+
_context3.t2 = false;
|
|
251
|
+
case 11:
|
|
252
|
+
return _context3.abrupt("return", _context3.t2);
|
|
253
|
+
case 12:
|
|
243
254
|
case "end":
|
|
244
255
|
return _context3.stop();
|
|
245
256
|
}
|
|
@@ -250,22 +261,33 @@ var ObjectManager = /*#__PURE__*/function (_notifyChanged, _setValue, _setSubVal
|
|
|
250
261
|
key: "pushValue",
|
|
251
262
|
value: function pushValue(_x10, _x11) {
|
|
252
263
|
return (_pushValue = _pushValue || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(key, value) {
|
|
253
|
-
var _this$obj7;
|
|
264
|
+
var _yield$this$obj$pushV, _this$obj7;
|
|
254
265
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
255
266
|
while (1) switch (_context4.prev = _context4.next) {
|
|
256
267
|
case 0:
|
|
257
268
|
_context4.next = 2;
|
|
258
269
|
return (_this$obj7 = this.obj) === null || _this$obj7 === void 0 ? void 0 : _this$obj7.pushValue(key, value);
|
|
259
270
|
case 2:
|
|
260
|
-
_context4.
|
|
261
|
-
|
|
262
|
-
|
|
271
|
+
_context4.t1 = _yield$this$obj$pushV = _context4.sent;
|
|
272
|
+
_context4.t0 = _context4.t1 !== null;
|
|
273
|
+
if (!_context4.t0) {
|
|
274
|
+
_context4.next = 6;
|
|
263
275
|
break;
|
|
264
276
|
}
|
|
265
|
-
_context4.t0 =
|
|
266
|
-
case 5:
|
|
267
|
-
return _context4.abrupt("return", _context4.t0);
|
|
277
|
+
_context4.t0 = _yield$this$obj$pushV !== void 0;
|
|
268
278
|
case 6:
|
|
279
|
+
if (!_context4.t0) {
|
|
280
|
+
_context4.next = 10;
|
|
281
|
+
break;
|
|
282
|
+
}
|
|
283
|
+
_context4.t2 = _yield$this$obj$pushV;
|
|
284
|
+
_context4.next = 11;
|
|
285
|
+
break;
|
|
286
|
+
case 10:
|
|
287
|
+
_context4.t2 = false;
|
|
288
|
+
case 11:
|
|
289
|
+
return _context4.abrupt("return", _context4.t2);
|
|
290
|
+
case 12:
|
|
269
291
|
case "end":
|
|
270
292
|
return _context4.stop();
|
|
271
293
|
}
|
|
@@ -276,7 +298,7 @@ var ObjectManager = /*#__PURE__*/function (_notifyChanged, _setValue, _setSubVal
|
|
|
276
298
|
key: "setTemp",
|
|
277
299
|
value: function setTemp(_x12, _x13) {
|
|
278
300
|
return (_setTemp = _setTemp || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(key, value) {
|
|
279
|
-
var _this$obj8;
|
|
301
|
+
var _yield$this$obj$setTe, _this$obj8;
|
|
280
302
|
var sendChanges,
|
|
281
303
|
_args5 = arguments;
|
|
282
304
|
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
@@ -286,15 +308,26 @@ var ObjectManager = /*#__PURE__*/function (_notifyChanged, _setValue, _setSubVal
|
|
|
286
308
|
_context5.next = 3;
|
|
287
309
|
return (_this$obj8 = this.obj) === null || _this$obj8 === void 0 ? void 0 : _this$obj8.setTemp(key, value, sendChanges);
|
|
288
310
|
case 3:
|
|
289
|
-
_context5.
|
|
290
|
-
|
|
291
|
-
|
|
311
|
+
_context5.t1 = _yield$this$obj$setTe = _context5.sent;
|
|
312
|
+
_context5.t0 = _context5.t1 !== null;
|
|
313
|
+
if (!_context5.t0) {
|
|
314
|
+
_context5.next = 7;
|
|
292
315
|
break;
|
|
293
316
|
}
|
|
294
|
-
_context5.t0 =
|
|
295
|
-
case 6:
|
|
296
|
-
return _context5.abrupt("return", _context5.t0);
|
|
317
|
+
_context5.t0 = _yield$this$obj$setTe !== void 0;
|
|
297
318
|
case 7:
|
|
319
|
+
if (!_context5.t0) {
|
|
320
|
+
_context5.next = 11;
|
|
321
|
+
break;
|
|
322
|
+
}
|
|
323
|
+
_context5.t2 = _yield$this$obj$setTe;
|
|
324
|
+
_context5.next = 12;
|
|
325
|
+
break;
|
|
326
|
+
case 11:
|
|
327
|
+
_context5.t2 = false;
|
|
328
|
+
case 12:
|
|
329
|
+
return _context5.abrupt("return", _context5.t2);
|
|
330
|
+
case 13:
|
|
298
331
|
case "end":
|
|
299
332
|
return _context5.stop();
|
|
300
333
|
}
|
|
@@ -304,8 +337,8 @@ var ObjectManager = /*#__PURE__*/function (_notifyChanged, _setValue, _setSubVal
|
|
|
304
337
|
}, {
|
|
305
338
|
key: "getTemp",
|
|
306
339
|
value: function getTemp(key) {
|
|
307
|
-
var _this$obj9;
|
|
308
|
-
return ((_this$obj9 = this.obj) === null || _this$obj9 === void 0 ? void 0 : _this$obj9.getTemp(key))
|
|
340
|
+
var _this$obj$getTemp, _this$obj9;
|
|
341
|
+
return (_this$obj$getTemp = (_this$obj9 = this.obj) === null || _this$obj9 === void 0 ? void 0 : _this$obj9.getTemp(key)) !== null && _this$obj$getTemp !== void 0 ? _this$obj$getTemp : undefined;
|
|
309
342
|
}
|
|
310
343
|
/* -------------------------------------------------------------------------- */
|
|
311
344
|
}, {
|