isobit-ui 0.0.559 → 0.0.562
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 +8 -6
- 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.562
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -3374,7 +3374,8 @@ var script$8 = {
|
|
|
3374
3374
|
return {
|
|
3375
3375
|
data2: [],
|
|
3376
3376
|
valueField_: [],
|
|
3377
|
-
lastLoad: null
|
|
3377
|
+
lastLoad: null,
|
|
3378
|
+
loaded: null
|
|
3378
3379
|
};
|
|
3379
3380
|
},
|
|
3380
3381
|
computed: {
|
|
@@ -3392,7 +3393,7 @@ var script$8 = {
|
|
|
3392
3393
|
updated: function updated() {
|
|
3393
3394
|
var me = this;
|
|
3394
3395
|
|
|
3395
|
-
if (me.data) {
|
|
3396
|
+
if (!me.loaded && me.data) {
|
|
3396
3397
|
me.data2 = me.data;
|
|
3397
3398
|
}
|
|
3398
3399
|
|
|
@@ -3483,6 +3484,7 @@ var script$8 = {
|
|
|
3483
3484
|
data: data
|
|
3484
3485
|
});
|
|
3485
3486
|
me.data2 = me.data2.concat(data);
|
|
3487
|
+
me.loaded = 1;
|
|
3486
3488
|
if (me.store) localstore.setItem(me.store, JSON.stringify(data));
|
|
3487
3489
|
me.$parent.$forceUpdate();
|
|
3488
3490
|
if (nou) nou();
|
|
@@ -6769,7 +6771,7 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6769
6771
|
storedList.unshift(o);
|
|
6770
6772
|
objectStore.add(o);
|
|
6771
6773
|
me.$emit('stored', o, storedList, objectStore);
|
|
6772
|
-
if (me.app && me.app.toast) me.app.toast('El registro fue grabado
|
|
6774
|
+
if (me.app && me.app.toast) me.app.toast('El registro fue grabado exitosamente!');
|
|
6773
6775
|
o0.tmpId = o.tmpId;
|
|
6774
6776
|
o0.id = o.id;
|
|
6775
6777
|
me.close({
|
|
@@ -6795,7 +6797,7 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6795
6797
|
}
|
|
6796
6798
|
|
|
6797
6799
|
me.$emit('stored', o, storedList);
|
|
6798
|
-
if (me.app && me.app.toast) me.app.toast('El registro fue grabado
|
|
6800
|
+
if (me.app && me.app.toast) me.app.toast('El registro fue grabado exitosamente!');
|
|
6799
6801
|
me.close({
|
|
6800
6802
|
success: true,
|
|
6801
6803
|
data: o
|
|
@@ -6846,7 +6848,7 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6846
6848
|
};
|
|
6847
6849
|
}
|
|
6848
6850
|
|
|
6849
|
-
if (me.app && me.app.toast) me.app.toast('El registro fue grabado
|
|
6851
|
+
if (me.app && me.app.toast) me.app.toast('El registro fue grabado exitosamente!', function () {
|
|
6850
6852
|
me.close({
|
|
6851
6853
|
success: true,
|
|
6852
6854
|
data: data
|