isobit-ui 0.0.469 → 0.0.472

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.
Files changed (2) hide show
  1. package/dist/index.js +7 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.469
2
+ * isobit-ui v0.0.472
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -5904,11 +5904,12 @@ window.ui = _$1.ui = function (cfg) {
5904
5904
  var me = this;
5905
5905
  var f = me.$children[0];
5906
5906
  f.action;
5907
- var cb = e.$vnode ? e.$vnode.load : null;
5907
+ var cb = e.$vnode ? e.load : null;
5908
5908
  var t = e.$vnode ? e : me.$children[0].$children[0];
5909
5909
  var key = t.$attrs.rowkey;
5910
5910
  if (!key) key = t.rowKey;
5911
5911
  var dat = t.data[t.selected[0]];
5912
+ var data = t.data;
5912
5913
 
5913
5914
  if (dat.tmpId) {
5914
5915
  me.MsgBox('Esta seguro que desea eliminar los registros temporales seleccionados ?', function (r) {
@@ -5951,13 +5952,13 @@ window.ui = _$1.ui = function (cfg) {
5951
5952
  var id = dat.id;
5952
5953
 
5953
5954
  for (var i = dat.length - 1; i >= 0; i--) {
5954
- if (dat[i][key] == id) {
5955
- dat.splice(i, 1);
5955
+ if (data[i][key] == id) {
5956
+ t.data.splice(t.selected[i], 1);
5956
5957
  }
5957
5958
  }
5958
5959
 
5959
- console.log('cb=' + cb);
5960
- if (cb) cb();
5960
+ t.rowSelect(null, -1);
5961
+ t.selected = []; //if(cb)cb();
5961
5962
  })["catch"](me.error);
5962
5963
  }
5963
5964
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.469",
3
+ "version": "0.0.472",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [