isobit-ui 0.2.56 → 0.2.58

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 +13 -10
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.2.55
2
+ * isobit-ui v0.2.57
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -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
  }
@@ -6867,7 +6867,7 @@ window.ui = _$1.ui = function (cfg) {
6867
6867
  action = _$1.processURL(action);
6868
6868
  if (action) action = action.replace("/api", "");
6869
6869
 
6870
- if (window.app) {
6870
+ if (_$1.app) {
6871
6871
  me.open(action + '/create');
6872
6872
  } else {
6873
6873
  instance.get(_$1.currentPath = (action + '/create').replace(/([^:]\/)\/+/g, "$1") + '?modal').then(_$1.open)["catch"](me.error);
@@ -6892,7 +6892,7 @@ window.ui = _$1.ui = function (cfg) {
6892
6892
  console.log(selected);
6893
6893
  if (me.getSelectedId) id = me.getSelectedId(selected);
6894
6894
 
6895
- if (window.app) {
6895
+ if (_$1.app) {
6896
6896
  me.open(action + '/' + id + '/edit');
6897
6897
  } else {
6898
6898
  axios$2.get((_$1.currentPath = (action + '/' + id + '/edit').replace(/([^:]\/)\/+/g, "$1")) + '?modal').then(me.open)["catch"](me.error);
@@ -7350,8 +7350,9 @@ window.ui = _$1.ui = function (cfg) {
7350
7350
  if (!dlg) dlg = this.$el.parentElement;
7351
7351
  var mask = dlg.parentElement;
7352
7352
 
7353
- if (!mask && window.app.$router) {
7354
- window.app.$router.back();
7353
+ if (!mask && _$1.app.$router) {
7354
+ _$1.app.$router.back();
7355
+
7355
7356
  return;
7356
7357
  }
7357
7358
 
@@ -8007,9 +8008,11 @@ function configureAxios(a) {
8007
8008
  mask = _$1.unmask(mask);
8008
8009
 
8009
8010
  if (r && r.status == 401) {
8010
- if (window.app) {
8011
- window.app.toast('Session terminada');
8012
- window.app.logout();
8011
+ if (_$1.app) {
8012
+ _$1.app.toast('Session terminada');
8013
+
8014
+ _$1.app.logout();
8015
+
8013
8016
  return;
8014
8017
  }
8015
8018
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.2.56",
3
+ "version": "0.2.58",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [