isobit-ui 0.0.414 → 0.0.417
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 +12 -2
- 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.417
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -6257,8 +6257,11 @@ 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);
|
|
6261
|
+
console.log('action=' + action);
|
|
6260
6262
|
return _invoke(function () {
|
|
6261
|
-
if (!action || !
|
|
6263
|
+
if (!action || !me.app.networkStatus.connected) {
|
|
6264
|
+
console.log('app.networkStatus.connected=' + me.app.networkStatus.connected);
|
|
6262
6265
|
var store = me.$children[0].store;
|
|
6263
6266
|
|
|
6264
6267
|
if (!store) {
|
|
@@ -6282,6 +6285,7 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6282
6285
|
|
|
6283
6286
|
var db = window._.db;
|
|
6284
6287
|
var objectStore = db.transaction([store], "readwrite").objectStore(store);
|
|
6288
|
+
console.log('!o.id=' + !o.id);
|
|
6285
6289
|
|
|
6286
6290
|
if (!o.id) {
|
|
6287
6291
|
o.id = -new Date();
|
|
@@ -6329,6 +6333,12 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6329
6333
|
}
|
|
6330
6334
|
}, function (_result) {
|
|
6331
6335
|
if (_exit2) return _result;
|
|
6336
|
+
|
|
6337
|
+
if (1 == 1) {
|
|
6338
|
+
console.log('XXXXX');
|
|
6339
|
+
return;
|
|
6340
|
+
}
|
|
6341
|
+
|
|
6332
6342
|
axios$1.post(action, o).then(function (result) {
|
|
6333
6343
|
var data = result.data;
|
|
6334
6344
|
|