isobit-ui 0.2.57 → 0.2.59

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 +31 -18
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.2.56
2
+ * isobit-ui v0.2.58
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -2541,13 +2541,6 @@ var script$d = {
2541
2541
  m.load();
2542
2542
  }
2543
2543
  },
2544
- _selectRow: function _selectRow(event, rec, r) {
2545
- var me = this;
2546
- if (me.selectable0 && _.whichChild(event.target) == 0) return; //se debe tener en cuenta si es
2547
- //record, numero fila
2548
-
2549
- this.rowSelect(rec, r, 1);
2550
- },
2551
2544
  rowCreated: function rowCreated()
2552
2545
  /*r*/
2553
2546
  {
@@ -2566,6 +2559,13 @@ var script$d = {
2566
2559
  isSelected: function isSelected(r) {
2567
2560
  return this.selected.contains(r);
2568
2561
  },
2562
+ _selectRow: function _selectRow(event, rec, r) {
2563
+ var me = this;
2564
+ if (me.selectable0 && _.whichChild(event.target) == 0) return; //se debe tener en cuenta si es
2565
+ //record, numero fila
2566
+
2567
+ this.rowSelect(rec, r, 1);
2568
+ },
2569
2569
  rowSelect: function rowSelect(r, i, c) {
2570
2570
  var me = this,
2571
2571
  j;
@@ -2906,6 +2906,7 @@ var __vue_render__$c = function __vue_render__() {
2906
2906
  staticClass: "v-tab-nav"
2907
2907
  }, _vm._l(_vm.tabs, function (tab, index) {
2908
2908
  return _c('li', {
2909
+ key: index,
2909
2910
  "class": {
2910
2911
  'v-selected': index == _vm.currentTabIndex
2911
2912
  },
@@ -4817,7 +4818,6 @@ var script$3 = {
4817
4818
  lat: c[1]
4818
4819
  });
4819
4820
  f.geometry = point;
4820
- console.log(f);
4821
4821
  var feature = new ol.Feature(f);
4822
4822
  feature.data = f;
4823
4823
 
@@ -6238,7 +6238,7 @@ _$1 = Object.assign(_$1, {
6238
6238
  },
6239
6239
  clean: function clean(obj) {
6240
6240
  for (var propName in obj) {
6241
- if (obj[propName] === '' || obj[propName] === null || obj[propName] === undefined) {
6241
+ if (obj[propName] === '' || obj[propName] === null || typeof obj[propName] === 'function' || obj[propName] === undefined) {
6242
6242
  delete obj[propName];
6243
6243
  }
6244
6244
  }
@@ -6678,9 +6678,22 @@ window.ui = _$1.ui = function (cfg) {
6678
6678
  connected: function connected(v) {
6679
6679
  window._.networkStatus.connected = v;
6680
6680
  this.networkStatus.connected = v;
6681
+ },
6682
+ cleanedFilters: function cleanedFilters() {
6683
+ var _this = this;
6684
+
6685
+ if (this.$el) {
6686
+ if (this.t) clearTimeout(this.t);
6687
+ this.t = setTimeout(function () {
6688
+ _this.refresh();
6689
+ }, 1200);
6690
+ }
6681
6691
  }
6682
6692
  },
6683
6693
  computed: {
6694
+ cleanedFilters: function cleanedFilters() {
6695
+ return _$1.clean(this.filters);
6696
+ },
6684
6697
  app: function app() {
6685
6698
  return _$1.app;
6686
6699
  },
@@ -7423,10 +7436,10 @@ window.ui = _$1.ui = function (cfg) {
7423
7436
  },
7424
7437
  toast: function toast(msx, callback) {
7425
7438
  try {
7426
- var _this2 = this;
7439
+ var _this3 = this;
7427
7440
 
7428
7441
  if (msx.message && !msx.duration) msx.duration = 2000;
7429
- return _await(_this2.$ionic.toastController.create(msx.message ? msx : {
7442
+ return _await(_this3.$ionic.toastController.create(msx.message ? msx : {
7430
7443
  message: msx,
7431
7444
  duration: 2000
7432
7445
  }), function (toast) {
@@ -7472,9 +7485,9 @@ window.ui = _$1.ui = function (cfg) {
7472
7485
  },
7473
7486
  sync: function sync(e) {
7474
7487
  try {
7475
- var _this4 = this;
7488
+ var _this5 = this;
7476
7489
 
7477
- var me = _this4;
7490
+ var me = _this5;
7478
7491
  var p = me.$el;
7479
7492
  var f = p.querySelector("form");
7480
7493
  var action = f.getAttribute('action'); //console.log('Action='+action);
@@ -7568,15 +7581,15 @@ window.ui = _$1.ui = function (cfg) {
7568
7581
  },
7569
7582
  save: function save() {
7570
7583
  try {
7571
- var _this6 = this;
7584
+ var _this7 = this;
7572
7585
 
7573
- var me = _this6;
7586
+ var me = _this7;
7574
7587
  me.$forceUpdate();
7575
7588
  var p = me.$el; //Se debe buscar si abajo esta el form
7576
7589
 
7577
7590
  var f = p.querySelector("form");
7578
7591
 
7579
- var va = _this6.validate(f);
7592
+ var va = _this7.validate(f);
7580
7593
 
7581
7594
  return function () {
7582
7595
  if (va) {
@@ -7593,7 +7606,7 @@ window.ui = _$1.ui = function (cfg) {
7593
7606
  }
7594
7607
  }
7595
7608
 
7596
- var o0 = _this6._data.data ? _this6._data.data : _this6._data.o;
7609
+ var o0 = _this7._data.data ? _this7._data.data : _this7._data.o;
7597
7610
  var o = JSON.parse(JSON.stringify(o0));
7598
7611
  if (me.process) o = me.process(o); //console.log('o2='+o);
7599
7612
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.2.57",
3
+ "version": "0.2.59",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [