@xatlas/rainbow-core 2.0.5 → 2.0.7

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.
@@ -4952,7 +4952,7 @@ var ACTION_ACCESS = {
4952
4952
  this.action = null;
4953
4953
  this.formModal = null;
4954
4954
  this.actionViewVisible = false;
4955
- this.actionViewkMode = null;
4955
+ // this.actionViewkMode = null
4956
4956
  this.submitting = false;
4957
4957
  this.actionViewMode = 'modal';
4958
4958
  this.actionViewType = 'Form';
@@ -9107,8 +9107,8 @@ var Size_component = normalizeComponent(
9107
9107
  )
9108
9108
 
9109
9109
  /* harmony default export */ var Size = (Size_component.exports);
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=6cfd75db&
9111
- 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=7e59b125&
9111
+ var Cellvue_type_template_id_7e59b125_render = function render() {
9112
9112
  var _vm = this,
9113
9113
  _c = _vm._self._c;
9114
9114
  return _c('span', [_vm.editable && ['write', 'updateonly'].includes(_vm.schema.access) ? _c('Item', {
@@ -9151,9 +9151,9 @@ var Cellvue_type_template_id_6cfd75db_render = function render() {
9151
9151
  }
9152
9152
  }, [_vm._v(" " + _vm._s(_vm.text) + " ")]) : _c('span', [_vm._v(_vm._s(_vm.text))])], 1);
9153
9153
  };
9154
- var Cellvue_type_template_id_6cfd75db_staticRenderFns = [];
9154
+ var Cellvue_type_template_id_7e59b125_staticRenderFns = [];
9155
9155
 
9156
- // 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=7e59b125&
9157
9157
 
9158
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&
9159
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); }
@@ -9174,13 +9174,17 @@ function Cellvue_type_script_lang_js_toPrimitive(input, hint) { if (Cellvue_type
9174
9174
  return {
9175
9175
  component: null,
9176
9176
  script: null,
9177
- editValue: this.value,
9178
- editRow: Cellvue_type_script_lang_js_objectSpread({}, this.row)
9177
+ editValue: this.value
9178
+ // editRow: { ...this.row }
9179
9179
  };
9180
9180
  },
9181
+
9181
9182
  computed: {
9182
9183
  text: function text() {
9183
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);
9184
9188
  }
9185
9189
  },
9186
9190
  created: function created() {
@@ -9212,6 +9216,11 @@ function Cellvue_type_script_lang_js_toPrimitive(input, hint) { if (Cellvue_type
9212
9216
  if (newVal !== oldVal) {
9213
9217
  this.editValue = newVal;
9214
9218
  }
9219
+ },
9220
+ editable: function editable(val) {
9221
+ if (val && this.editValue !== this.editRow[this.schema.name]) {
9222
+ this.editValue = this.editRow[this.schema.name];
9223
+ }
9215
9224
  }
9216
9225
  }
9217
9226
  });
@@ -9227,8 +9236,8 @@ function Cellvue_type_script_lang_js_toPrimitive(input, hint) { if (Cellvue_type
9227
9236
 
9228
9237
  var Cell_component = normalizeComponent(
9229
9238
  cell_Cellvue_type_script_lang_js_,
9230
- Cellvue_type_template_id_6cfd75db_render,
9231
- Cellvue_type_template_id_6cfd75db_staticRenderFns,
9239
+ Cellvue_type_template_id_7e59b125_render,
9240
+ Cellvue_type_template_id_7e59b125_staticRenderFns,
9232
9241
  false,
9233
9242
  null,
9234
9243
  null,