isobit-ui 0.0.380 → 0.0.384

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.380
2
+ * isobit-ui v0.0.384
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -3382,9 +3382,8 @@ var script$6 = {
3382
3382
  if (!(e.disabled || e.getAttribute('disabled')) && (e.required || e.tagName === 'DIV')) {
3383
3383
  //console.log([e]);
3384
3384
  //console.log(e.value);console.log(e.nodeValue);
3385
- console.log('----');
3386
- console.log(e);
3387
-
3385
+ ////console.log('----');
3386
+ //console.log(e);
3388
3387
  if (e.tagName != 'DIV' && !e.value
3389
3388
  /*||e.value == 0*/
3390
3389
  || e.tagName === 'DIV' && !e.attributes.value) {
@@ -6102,13 +6101,13 @@ window.ui = _$1.ui = function (cfg) {
6102
6101
  localStorage.removeItem(storage);
6103
6102
  }
6104
6103
  },
6105
- setStoredList: function setStoredList(storage, data) {
6104
+ setStoredList: function setStoredList(store, data) {
6106
6105
  try {
6107
6106
  var db, objectStore;
6108
6107
 
6109
- if (window.idb) {
6108
+ if (window._.db) {
6110
6109
  db = window._.db;
6111
- objectStore = db.transaction([storage], "readwrite").objectStore(storage);
6110
+ objectStore = db.transaction([store], "readwrite").objectStore(store);
6112
6111
  var objectStoreRequest = objectStore.clear();
6113
6112
 
6114
6113
  objectStoreRequest.onsuccess = function () {
@@ -6121,7 +6120,7 @@ window.ui = _$1.ui = function (cfg) {
6121
6120
  }
6122
6121
  };
6123
6122
  } else {
6124
- localStorage.setItem(storage, JSON.stringify(data));
6123
+ localStorage.setItem(store, JSON.stringify(data));
6125
6124
  }
6126
6125
 
6127
6126
  return _await();
@@ -6573,6 +6572,8 @@ function configureAxios(a) {
6573
6572
  mask = _$1.unmask(mask);
6574
6573
  return response;
6575
6574
  }, function (e) {
6575
+ console.log([e]);
6576
+
6576
6577
  if (axios__default['default'].error && axios__default['default'].error(e) == false) {
6577
6578
  mask = _$1.unmask(mask);
6578
6579
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.380",
3
+ "version": "0.0.384",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",