isobit-ui 0.0.412 → 0.0.413
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 +5 -3
- 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.413
|
|
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
|
|
6256
|
-
o = JSON.parse(JSON.stringify(
|
|
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;
|
|
@@ -6291,6 +6291,8 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6291
6291
|
objectStore.add(o);
|
|
6292
6292
|
me.$emit('stored', o, storedList, objectStore);
|
|
6293
6293
|
if (me.app && me.app.toast) me.app.toast('El rgistro 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
|