isobit-ui 0.2.97 → 0.2.99
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 +8 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* isobit-ui v0.2.
|
|
2
|
+
* isobit-ui v0.2.98
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -4069,8 +4069,8 @@ var script$7 = {
|
|
|
4069
4069
|
var _this2 = this;
|
|
4070
4070
|
|
|
4071
4071
|
var me = _this2;
|
|
4072
|
-
if (!clearQueue) me.queue.push([p, nou]);
|
|
4073
|
-
|
|
4072
|
+
if (!clearQueue) me.queue.push([p, nou]); //console.log(me.getParentE().name+'================load');
|
|
4073
|
+
|
|
4074
4074
|
if (me.queue.length > 1) return;
|
|
4075
4075
|
var pa = me.$el.parentElement;
|
|
4076
4076
|
me.data2 = me.data;
|
|
@@ -6244,7 +6244,7 @@ _$1 = Object.assign(_$1, {
|
|
|
6244
6244
|
|
|
6245
6245
|
if (_$1.indexedDB) {
|
|
6246
6246
|
_$1.stores = stores;
|
|
6247
|
-
var request = window.indexedDB.open("db",
|
|
6247
|
+
var request = window.indexedDB.open("db", version);
|
|
6248
6248
|
|
|
6249
6249
|
request.onerror = function () {
|
|
6250
6250
|
alert("error al crear db :/!");
|
|
@@ -7212,7 +7212,7 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
7212
7212
|
me.MsgBox('Esta seguro que desea eliminar los registros temporales seleccionados ?', function (r) {
|
|
7213
7213
|
if (r == 0) {
|
|
7214
7214
|
var c = 0,
|
|
7215
|
-
db =
|
|
7215
|
+
db = _$1.db;
|
|
7216
7216
|
var objectStore = db.transaction([t.store], "readwrite").objectStore(t.store);
|
|
7217
7217
|
var ele = [];
|
|
7218
7218
|
|
|
@@ -7230,8 +7230,7 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
7230
7230
|
|
|
7231
7231
|
t.rowSelect(null, -1);
|
|
7232
7232
|
t.selected = [];
|
|
7233
|
-
|
|
7234
|
-
me.$emit('destroyed', ele);
|
|
7233
|
+
me.$emit('destroyed', ele, t.store);
|
|
7235
7234
|
if (cb) cb();
|
|
7236
7235
|
}
|
|
7237
7236
|
}, ['SI', 'NO']);
|
|
@@ -7913,7 +7912,8 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
7913
7912
|
}
|
|
7914
7913
|
|
|
7915
7914
|
var db = _$1.db;
|
|
7916
|
-
var
|
|
7915
|
+
var transaction = db.transaction([store], "readwrite");
|
|
7916
|
+
var objectStore = transaction.objectStore(store);
|
|
7917
7917
|
|
|
7918
7918
|
if (!o.id) {
|
|
7919
7919
|
o.tmpId = 1 * new Date();
|