isobit-ui 0.0.411 → 0.0.414

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 +12 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.411
2
+ * isobit-ui v0.0.414
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -6252,8 +6252,8 @@ window.ui = _$1.ui = function (cfg) {
6252
6252
  }
6253
6253
  }
6254
6254
 
6255
- var o = _this4._data.data ? _this4._data.data : _this4._data.o;
6256
- o = JSON.parse(JSON.stringify(o));
6255
+ var o0 = _this4._data.data ? _this4._data.data : _this4._data.o;
6256
+ var o = JSON.parse(JSON.stringify(o0));
6257
6257
  if (me.process) o = me.process(o); //console.log('o2='+o);
6258
6258
 
6259
6259
  if (!(_typeof(o) === 'object' && !Array.isArray(o) && o !== null)) return;
@@ -6290,7 +6290,9 @@ window.ui = _$1.ui = function (cfg) {
6290
6290
  storedList.unshift(o);
6291
6291
  objectStore.add(o);
6292
6292
  me.$emit('stored', o, storedList, objectStore);
6293
- if (me.app && me.app.toast) me.app.toast('El rgistro fue grabado correctamente!');
6293
+ if (me.app && me.app.toast) me.app.toast('El registro fue grabado correctamente!');
6294
+ o0.tmpId = o.tmpId;
6295
+ o0.id = o.id;
6294
6296
  me.close({
6295
6297
  success: true,
6296
6298
  data: o
@@ -6310,7 +6312,7 @@ window.ui = _$1.ui = function (cfg) {
6310
6312
  }
6311
6313
 
6312
6314
  me.$emit('stored', o, storedList);
6313
- if (me.app && me.app.toast) me.app.toast('El rgistro fue grabado correctamente!');
6315
+ if (me.app && me.app.toast) me.app.toast('El registro fue grabado correctamente!');
6314
6316
  me.close({
6315
6317
  success: true,
6316
6318
  data: o
@@ -6337,7 +6339,11 @@ window.ui = _$1.ui = function (cfg) {
6337
6339
 
6338
6340
  var item = objectStore.get(o.tmpId);
6339
6341
  o.tmpSynchronized = 1;
6340
- if (data.id) o.id = data.id;
6342
+
6343
+ if (data.id) {
6344
+ o.id = data.id;
6345
+ o0.id = o.id;
6346
+ }
6341
6347
 
6342
6348
  item.onsuccess = function () {
6343
6349
  if (item.result) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.411",
3
+ "version": "0.0.414",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [