isobit-ui 0.0.337 → 0.0.340
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 +6 -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.340
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -6415,7 +6415,7 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6415
6415
|
|
|
6416
6416
|
if (!(_typeof(o) === 'object' && !Array.isArray(o) && o !== null)) return;
|
|
6417
6417
|
return _invoke(function () {
|
|
6418
|
-
if (!action || !_this4.app.networkStatus.connected
|
|
6418
|
+
if (!action || !_this4.app.networkStatus.connected) {
|
|
6419
6419
|
var storage = me.$children[0].storage;
|
|
6420
6420
|
return _await(me.getStoredList(storage), function (storedList) {
|
|
6421
6421
|
if (!storedList) storedList = [];
|
|
@@ -6477,6 +6477,7 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6477
6477
|
if (_exit2) return _result;
|
|
6478
6478
|
axios__default['default'].post(action, o).then(function (result) {
|
|
6479
6479
|
var data = result.data;
|
|
6480
|
+
console.log(11);
|
|
6480
6481
|
|
|
6481
6482
|
if (o.tmpId) {
|
|
6482
6483
|
var item = objectStore.get(o.tmpId);
|
|
@@ -6498,6 +6499,7 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6498
6499
|
};
|
|
6499
6500
|
}
|
|
6500
6501
|
|
|
6502
|
+
console.log(22);
|
|
6501
6503
|
me.MsgBox('El registro fue grabado exitosamente!', function () {
|
|
6502
6504
|
me.close({
|
|
6503
6505
|
success: true,
|
|
@@ -6505,6 +6507,8 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6505
6507
|
});
|
|
6506
6508
|
});
|
|
6507
6509
|
})["catch"](function (r) {
|
|
6510
|
+
console.log(r);
|
|
6511
|
+
|
|
6508
6512
|
if (r.response) {
|
|
6509
6513
|
var l, e;
|
|
6510
6514
|
|