isobit-ui 0.0.328 → 0.0.332

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 +11 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.328
2
+ * isobit-ui v0.0.332
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -1936,11 +1936,14 @@ var script$d = {
1936
1936
  if (storage != null) {
1937
1937
  var datj;
1938
1938
  return _invoke$1(function () {
1939
- if (window.idb) {
1939
+ if (window._.indexedDB) {
1940
+ alert('SI IDB');
1940
1941
  return _await$1(me.getStoredList(storage), function (_me$getStoredList) {
1941
1942
  datj = _me$getStoredList;
1942
1943
  });
1943
1944
  } else {
1945
+ alert('NO IDB');
1946
+
1944
1947
  try {
1945
1948
  var vvv = localStorage.getItem(storage);
1946
1949
  if (vvv) datj = JSON.parse(vvv);
@@ -1950,7 +1953,9 @@ var script$d = {
1950
1953
  }
1951
1954
  }, function () {
1952
1955
  if (!datj) datj = [];
1953
- me.data = me.data ? datj.concat(me.data) : datj; //me.rowSelect(null, -10);
1956
+ me.data = me.data ? datj.concat(me.data) : datj;
1957
+ console.log('storage2=' + storage);
1958
+ console.log(me.data); //me.rowSelect(null, -10);
1954
1959
  });
1955
1960
  }
1956
1961
  });
@@ -5678,11 +5683,11 @@ window.ui = _$1.ui = function (cfg) {
5678
5683
  var t = e.target;
5679
5684
  var me = this;
5680
5685
 
5681
- if (t.tagName == "ION-ITEM" && t.href) {
5686
+ if (typeof e == 'string') {
5687
+ t = e;
5688
+ } else if (t.tagName == "ION-ITEM" && t.href) {
5682
5689
  e.preventDefault();
5683
5690
  t = t.href;
5684
- } else if (typeof e == 'string') {
5685
- t = e;
5686
5691
  } else {
5687
5692
  e.preventDefault();
5688
5693
  if (!t.pathname) t = t.parentNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.328",
3
+ "version": "0.0.332",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",