isobit-ui 0.0.413 → 0.0.416

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 +16 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.413
2
+ * isobit-ui v0.0.416
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -6257,8 +6257,9 @@ window.ui = _$1.ui = function (cfg) {
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;
6260
+ console.log('app.networkStatus.connected=' + me.app.networkStatus.connected);
6260
6261
  return _invoke(function () {
6261
- if (!action || !_this4.app.networkStatus.connected) {
6262
+ if (!action || !me.app.networkStatus.connected) {
6262
6263
  var store = me.$children[0].store;
6263
6264
 
6264
6265
  if (!store) {
@@ -6290,7 +6291,7 @@ window.ui = _$1.ui = function (cfg) {
6290
6291
  storedList.unshift(o);
6291
6292
  objectStore.add(o);
6292
6293
  me.$emit('stored', o, storedList, objectStore);
6293
- if (me.app && me.app.toast) me.app.toast('El rgistro fue grabado correctamente!');
6294
+ if (me.app && me.app.toast) me.app.toast('El registro fue grabado correctamente!');
6294
6295
  o0.tmpId = o.tmpId;
6295
6296
  o0.id = o.id;
6296
6297
  me.close({
@@ -6312,7 +6313,7 @@ window.ui = _$1.ui = function (cfg) {
6312
6313
  }
6313
6314
 
6314
6315
  me.$emit('stored', o, storedList);
6315
- if (me.app && me.app.toast) me.app.toast('El rgistro fue grabado correctamente!');
6316
+ if (me.app && me.app.toast) me.app.toast('El registro fue grabado correctamente!');
6316
6317
  me.close({
6317
6318
  success: true,
6318
6319
  data: o
@@ -6329,6 +6330,12 @@ window.ui = _$1.ui = function (cfg) {
6329
6330
  }
6330
6331
  }, function (_result) {
6331
6332
  if (_exit2) return _result;
6333
+
6334
+ if (1 == 1) {
6335
+ console.log('XXXXX');
6336
+ return;
6337
+ }
6338
+
6332
6339
  axios$1.post(action, o).then(function (result) {
6333
6340
  var data = result.data;
6334
6341
 
@@ -6339,7 +6346,11 @@ window.ui = _$1.ui = function (cfg) {
6339
6346
 
6340
6347
  var item = objectStore.get(o.tmpId);
6341
6348
  o.tmpSynchronized = 1;
6342
- if (data.id) o.id = data.id;
6349
+
6350
+ if (data.id) {
6351
+ o.id = data.id;
6352
+ o0.id = o.id;
6353
+ }
6343
6354
 
6344
6355
  item.onsuccess = function () {
6345
6356
  if (item.result) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.413",
3
+ "version": "0.0.416",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [