isobit-ui 0.0.560 → 0.0.563

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 +9 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.560
2
+ * isobit-ui v0.0.563
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,7 +3484,7 @@ var script$8 = {
3483
3484
  data: data
3484
3485
  });
3485
3486
  me.data2 = me.data2.concat(data);
3486
- console.log(me.data2);
3487
+ me.loaded = 1;
3487
3488
  if (me.store) localstore.setItem(me.store, JSON.stringify(data));
3488
3489
  me.$parent.$forceUpdate();
3489
3490
  if (nou) nou();
@@ -6212,7 +6213,7 @@ window.ui = _$1.ui = function (cfg) {
6212
6213
  return window.app;
6213
6214
  },
6214
6215
  perms: function perms() {
6215
- return this.user.perms || {};
6216
+ return this.user.perms || this.user.allcaps || {};
6216
6217
  },
6217
6218
  rowSelectedCount: function rowSelectedCount() {
6218
6219
  var me = this; //console.log(me.$children);
@@ -6770,7 +6771,7 @@ window.ui = _$1.ui = function (cfg) {
6770
6771
  storedList.unshift(o);
6771
6772
  objectStore.add(o);
6772
6773
  me.$emit('stored', o, storedList, objectStore);
6773
- if (me.app && me.app.toast) me.app.toast('El registro fue grabado correctamente!');
6774
+ if (me.app && me.app.toast) me.app.toast('El registro fue grabado exitosamente!');
6774
6775
  o0.tmpId = o.tmpId;
6775
6776
  o0.id = o.id;
6776
6777
  me.close({
@@ -6796,7 +6797,7 @@ window.ui = _$1.ui = function (cfg) {
6796
6797
  }
6797
6798
 
6798
6799
  me.$emit('stored', o, storedList);
6799
- if (me.app && me.app.toast) me.app.toast('El registro fue grabado correctamente!');
6800
+ if (me.app && me.app.toast) me.app.toast('El registro fue grabado exitosamente!');
6800
6801
  me.close({
6801
6802
  success: true,
6802
6803
  data: o
@@ -6847,7 +6848,7 @@ window.ui = _$1.ui = function (cfg) {
6847
6848
  };
6848
6849
  }
6849
6850
 
6850
- if (me.app && me.app.toast) me.app.toast('El registro fue grabado correectamente!', function () {
6851
+ if (me.app && me.app.toast) me.app.toast('El registro fue grabado exitosamente!', function () {
6851
6852
  me.close({
6852
6853
  success: true,
6853
6854
  data: data
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.560",
3
+ "version": "0.0.563",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [