isobit-ui 0.0.472 → 0.0.475
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/index.js +10 -15
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* isobit-ui v0.0.
|
|
2
|
+
* isobit-ui v0.0.475
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -5909,7 +5909,7 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
5909
5909
|
var key = t.$attrs.rowkey;
|
|
5910
5910
|
if (!key) key = t.rowKey;
|
|
5911
5911
|
var dat = t.data[t.selected[0]];
|
|
5912
|
-
|
|
5912
|
+
t.data;
|
|
5913
5913
|
|
|
5914
5914
|
if (dat.tmpId) {
|
|
5915
5915
|
me.MsgBox('Esta seguro que desea eliminar los registros temporales seleccionados ?', function (r) {
|
|
@@ -5921,13 +5921,10 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
5921
5921
|
|
|
5922
5922
|
for (var k = t.selected.length - 1; k >= 0; k--) {
|
|
5923
5923
|
dat = t.data[t.selected[k]];
|
|
5924
|
-
|
|
5925
|
-
if (dat.tmpId)
|
|
5926
|
-
|
|
5927
|
-
|
|
5928
|
-
c++;
|
|
5929
|
-
t.data.splice(t.selected[k], 1);
|
|
5930
|
-
}
|
|
5924
|
+
ele.push(dat);
|
|
5925
|
+
if (dat.tmpId) objectStore["delete"](dat.tmpId);
|
|
5926
|
+
c++;
|
|
5927
|
+
t.data.splice(t.selected[k], 1);
|
|
5931
5928
|
}
|
|
5932
5929
|
|
|
5933
5930
|
if (c) {
|
|
@@ -5948,13 +5945,11 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
5948
5945
|
if (r == 0) {
|
|
5949
5946
|
var src = t.src.replace('/0/0', '');
|
|
5950
5947
|
axios$1["delete"](src + '/' + id).then(function () {
|
|
5951
|
-
if (me.app && me.app.toast) me.app.toast('Registros eliminados');else me.MsgBox('Registros eliminados');
|
|
5952
|
-
var id = dat.id;
|
|
5948
|
+
if (me.app && me.app.toast) me.app.toast('Registros eliminados');else me.MsgBox('Registros eliminados'); //var id = dat.id;
|
|
5953
5949
|
|
|
5954
|
-
for (var
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
}
|
|
5950
|
+
for (var k = t.selected.length - 1; k >= 0; k--) {
|
|
5951
|
+
dat = t.data[t.selected[k]]; //if(dat.tmpId){
|
|
5952
|
+
t.data.splice(t.selected[k], 1); //}
|
|
5958
5953
|
}
|
|
5959
5954
|
|
|
5960
5955
|
t.rowSelect(null, -1);
|