@xatlas/rainbow-core 2.0.4 → 2.0.5

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/core.umd.js CHANGED
@@ -4337,7 +4337,7 @@ function flow_asyncToGenerator(fn) { return function () { var self = this, args
4337
4337
  while (1) switch (_context.prev = _context.next) {
4338
4338
  case 0:
4339
4339
  model = _this.actionModel;
4340
- _this.actionConfirmMode = true;
4340
+ _this.actionConfirmMode = _this.actioning = true;
4341
4341
  _context.next = 4;
4342
4342
  return _this.saveData({
4343
4343
  key: action.key,
@@ -4345,7 +4345,7 @@ function flow_asyncToGenerator(fn) { return function () { var self = this, args
4345
4345
  });
4346
4346
  case 4:
4347
4347
  data = _context.sent;
4348
- _this.actionConfirmMode = false;
4348
+ _this.actionConfirmMode = _this.actioning = false;
4349
4349
  if (data.data) {
4350
4350
  _context.next = 8;
4351
4351
  break;
@@ -4374,7 +4374,7 @@ function flow_asyncToGenerator(fn) { return function () { var self = this, args
4374
4374
  while (1) switch (_context2.prev = _context2.next) {
4375
4375
  case 0:
4376
4376
  model = _this2.actionModel;
4377
- _this2.actionConfirmMode = true;
4377
+ _this2.actionConfirmMode = _this2.actioning = true;
4378
4378
  _context2.next = 4;
4379
4379
  return _this2.saveData({
4380
4380
  key: action.key,
@@ -4382,7 +4382,7 @@ function flow_asyncToGenerator(fn) { return function () { var self = this, args
4382
4382
  });
4383
4383
  case 4:
4384
4384
  data = _context2.sent;
4385
- _this2.actionConfirmMode = false;
4385
+ _this2.actionConfirmMode = _this2.actioning = false;
4386
4386
  if (data.data) {
4387
4387
  _context2.next = 8;
4388
4388
  break;
@@ -4418,7 +4418,7 @@ function flow_asyncToGenerator(fn) { return function () { var self = this, args
4418
4418
  while (1) switch (_context3.prev = _context3.next) {
4419
4419
  case 0:
4420
4420
  model = _this3.actionModel;
4421
- _this3.actionConfirmMode = true;
4421
+ _this3.actionConfirmMode = _this3.actioning = true;
4422
4422
  _context3.next = 4;
4423
4423
  return _this3.saveData({
4424
4424
  key: action.key,
@@ -4426,7 +4426,7 @@ function flow_asyncToGenerator(fn) { return function () { var self = this, args
4426
4426
  });
4427
4427
  case 4:
4428
4428
  data = _context3.sent;
4429
- _this3.actionConfirmMode = false;
4429
+ _this3.actionConfirmMode = _this3.actioning = false;
4430
4430
  if (data.data) {
4431
4431
  _context3.next = 8;
4432
4432
  break;
@@ -4461,27 +4461,25 @@ function flow_asyncToGenerator(fn) { return function () { var self = this, args
4461
4461
  while (1) switch (_context4.prev = _context4.next) {
4462
4462
  case 0:
4463
4463
  model = _this4.actionModel;
4464
- _this4.actionConfirmMode = true;
4465
- _this4.actioning = true;
4466
- _context4.next = 5;
4464
+ _this4.actionConfirmMode = _this4.actioning = true;
4465
+ _context4.next = 4;
4467
4466
  return _this4.saveData({
4468
4467
  key: action.key,
4469
4468
  data: flow_objectSpread({}, model)
4470
4469
  });
4471
- case 5:
4470
+ case 4:
4472
4471
  data = _context4.sent;
4473
- _this4.actioning = false;
4474
- _this4.actionConfirmMode = false;
4472
+ _this4.actionConfirmMode = _this4.actioning = false;
4475
4473
  if (data.data) {
4476
- _context4.next = 10;
4474
+ _context4.next = 8;
4477
4475
  break;
4478
4476
  }
4479
4477
  return _context4.abrupt("return");
4480
- case 10:
4478
+ case 8:
4481
4479
  _this4.actionViewWidget = _this4.getActionWidget(action) || 'workflow-report';
4482
4480
  _this4.actionParams.flow = data;
4483
4481
  _this4.actionViewVisible = true;
4484
- case 13:
4482
+ case 11:
4485
4483
  case "end":
4486
4484
  return _context4.stop();
4487
4485
  }