@xatlas/rainbow-core 2.0.4 → 2.0.6

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.
@@ -4328,7 +4328,7 @@ function flow_asyncToGenerator(fn) { return function () { var self = this, args
4328
4328
  while (1) switch (_context.prev = _context.next) {
4329
4329
  case 0:
4330
4330
  model = _this.actionModel;
4331
- _this.actionConfirmMode = true;
4331
+ _this.actionConfirmMode = _this.actioning = true;
4332
4332
  _context.next = 4;
4333
4333
  return _this.saveData({
4334
4334
  key: action.key,
@@ -4336,7 +4336,7 @@ function flow_asyncToGenerator(fn) { return function () { var self = this, args
4336
4336
  });
4337
4337
  case 4:
4338
4338
  data = _context.sent;
4339
- _this.actionConfirmMode = false;
4339
+ _this.actionConfirmMode = _this.actioning = false;
4340
4340
  if (data.data) {
4341
4341
  _context.next = 8;
4342
4342
  break;
@@ -4365,7 +4365,7 @@ function flow_asyncToGenerator(fn) { return function () { var self = this, args
4365
4365
  while (1) switch (_context2.prev = _context2.next) {
4366
4366
  case 0:
4367
4367
  model = _this2.actionModel;
4368
- _this2.actionConfirmMode = true;
4368
+ _this2.actionConfirmMode = _this2.actioning = true;
4369
4369
  _context2.next = 4;
4370
4370
  return _this2.saveData({
4371
4371
  key: action.key,
@@ -4373,7 +4373,7 @@ function flow_asyncToGenerator(fn) { return function () { var self = this, args
4373
4373
  });
4374
4374
  case 4:
4375
4375
  data = _context2.sent;
4376
- _this2.actionConfirmMode = false;
4376
+ _this2.actionConfirmMode = _this2.actioning = false;
4377
4377
  if (data.data) {
4378
4378
  _context2.next = 8;
4379
4379
  break;
@@ -4409,7 +4409,7 @@ function flow_asyncToGenerator(fn) { return function () { var self = this, args
4409
4409
  while (1) switch (_context3.prev = _context3.next) {
4410
4410
  case 0:
4411
4411
  model = _this3.actionModel;
4412
- _this3.actionConfirmMode = true;
4412
+ _this3.actionConfirmMode = _this3.actioning = true;
4413
4413
  _context3.next = 4;
4414
4414
  return _this3.saveData({
4415
4415
  key: action.key,
@@ -4417,7 +4417,7 @@ function flow_asyncToGenerator(fn) { return function () { var self = this, args
4417
4417
  });
4418
4418
  case 4:
4419
4419
  data = _context3.sent;
4420
- _this3.actionConfirmMode = false;
4420
+ _this3.actionConfirmMode = _this3.actioning = false;
4421
4421
  if (data.data) {
4422
4422
  _context3.next = 8;
4423
4423
  break;
@@ -4452,27 +4452,25 @@ function flow_asyncToGenerator(fn) { return function () { var self = this, args
4452
4452
  while (1) switch (_context4.prev = _context4.next) {
4453
4453
  case 0:
4454
4454
  model = _this4.actionModel;
4455
- _this4.actionConfirmMode = true;
4456
- _this4.actioning = true;
4457
- _context4.next = 5;
4455
+ _this4.actionConfirmMode = _this4.actioning = true;
4456
+ _context4.next = 4;
4458
4457
  return _this4.saveData({
4459
4458
  key: action.key,
4460
4459
  data: flow_objectSpread({}, model)
4461
4460
  });
4462
- case 5:
4461
+ case 4:
4463
4462
  data = _context4.sent;
4464
- _this4.actioning = false;
4465
- _this4.actionConfirmMode = false;
4463
+ _this4.actionConfirmMode = _this4.actioning = false;
4466
4464
  if (data.data) {
4467
- _context4.next = 10;
4465
+ _context4.next = 8;
4468
4466
  break;
4469
4467
  }
4470
4468
  return _context4.abrupt("return");
4471
- case 10:
4469
+ case 8:
4472
4470
  _this4.actionViewWidget = _this4.getActionWidget(action) || 'workflow-report';
4473
4471
  _this4.actionParams.flow = data;
4474
4472
  _this4.actionViewVisible = true;
4475
- case 13:
4473
+ case 11:
4476
4474
  case "end":
4477
4475
  return _context4.stop();
4478
4476
  }
@@ -9109,8 +9107,8 @@ var Size_component = normalizeComponent(
9109
9107
  )
9110
9108
 
9111
9109
  /* harmony default export */ var Size = (Size_component.exports);
9112
- // CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4325b732-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/cell/Cell.vue?vue&type=template&id=6cfd75db&
9113
- var Cellvue_type_template_id_6cfd75db_render = function render() {
9110
+ // CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4325b732-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/cell/Cell.vue?vue&type=template&id=6d0e4c08&
9111
+ var Cellvue_type_template_id_6d0e4c08_render = function render() {
9114
9112
  var _vm = this,
9115
9113
  _c = _vm._self._c;
9116
9114
  return _c('span', [_vm.editable && ['write', 'updateonly'].includes(_vm.schema.access) ? _c('Item', {
@@ -9153,9 +9151,9 @@ var Cellvue_type_template_id_6cfd75db_render = function render() {
9153
9151
  }
9154
9152
  }, [_vm._v(" " + _vm._s(_vm.text) + " ")]) : _c('span', [_vm._v(_vm._s(_vm.text))])], 1);
9155
9153
  };
9156
- var Cellvue_type_template_id_6cfd75db_staticRenderFns = [];
9154
+ var Cellvue_type_template_id_6d0e4c08_staticRenderFns = [];
9157
9155
 
9158
- // CONCATENATED MODULE: ../src/web/components/cell/Cell.vue?vue&type=template&id=6cfd75db&
9156
+ // CONCATENATED MODULE: ../src/web/components/cell/Cell.vue?vue&type=template&id=6d0e4c08&
9159
9157
 
9160
9158
  // CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/cell/Cell.vue?vue&type=script&lang=js&
9161
9159
  function Cellvue_type_script_lang_js_typeof(obj) { "@babel/helpers - typeof"; return Cellvue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, Cellvue_type_script_lang_js_typeof(obj); }
@@ -9176,13 +9174,17 @@ function Cellvue_type_script_lang_js_toPrimitive(input, hint) { if (Cellvue_type
9176
9174
  return {
9177
9175
  component: null,
9178
9176
  script: null,
9179
- editValue: this.value,
9180
- editRow: Cellvue_type_script_lang_js_objectSpread({}, this.row)
9177
+ editValue: this.value
9178
+ // editRow: { ...this.row }
9181
9179
  };
9182
9180
  },
9181
+
9183
9182
  computed: {
9184
9183
  text: function text() {
9185
9184
  return this.formatter(this.row, this.value, this.schema);
9185
+ },
9186
+ editRow: function editRow() {
9187
+ return Cellvue_type_script_lang_js_objectSpread({}, this.row);
9186
9188
  }
9187
9189
  },
9188
9190
  created: function created() {
@@ -9229,8 +9231,8 @@ function Cellvue_type_script_lang_js_toPrimitive(input, hint) { if (Cellvue_type
9229
9231
 
9230
9232
  var Cell_component = normalizeComponent(
9231
9233
  cell_Cellvue_type_script_lang_js_,
9232
- Cellvue_type_template_id_6cfd75db_render,
9233
- Cellvue_type_template_id_6cfd75db_staticRenderFns,
9234
+ Cellvue_type_template_id_6d0e4c08_render,
9235
+ Cellvue_type_template_id_6d0e4c08_staticRenderFns,
9234
9236
  false,
9235
9237
  null,
9236
9238
  null,