isobit-ui 0.0.429 → 0.0.432

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 -29
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.429
2
+ * isobit-ui v0.0.432
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -1434,17 +1434,6 @@ function _invoke$1(body, then) {
1434
1434
  }
1435
1435
 
1436
1436
  var compiledTemplate = Vue$1.compile(template);
1437
-
1438
- function _empty() {}
1439
-
1440
- function _invokeIgnored(body) {
1441
- var result = body();
1442
-
1443
- if (result && result.then) {
1444
- return result.then(_empty);
1445
- }
1446
- }
1447
-
1448
1437
  var script$d = {
1449
1438
  props: {
1450
1439
  value: Array,
@@ -1964,31 +1953,22 @@ var script$d = {
1964
1953
  var me, store;
1965
1954
  me = this;
1966
1955
  store = me.store;
1967
- return _invokeIgnored(function () {
1956
+ return function () {
1968
1957
  if (store != null) {
1969
1958
  var datj;
1970
1959
  return _invoke$1(function () {
1971
- if (window._.db) {
1972
- return _await$2(me.getStoredList(store), function (_me$getStoredList) {
1973
- datj = _me$getStoredList;
1974
- console.log(datj);
1975
- });
1976
- } else {
1977
- try {
1978
- var vvv = localstore.getItem(store);
1979
- if (vvv) datj = JSON.parse(vvv);
1980
- } catch (e) {
1981
- MsgBox(e);
1982
- }
1983
- }
1960
+ if (window._.db) return _await$2(me.getStoredList(store), function (_me$getStoredList) {
1961
+ datj = _me$getStoredList;
1962
+ });
1984
1963
  }, function () {
1985
1964
  if (!datj) datj = [];
1986
- me.data = me.data ? datj.concat(me.data) : datj; //console.log('store2='+store);
1965
+ me.data = me.data ? datj.concat(me.data) : datj;
1966
+ return me.data; //console.log('store2='+store);
1987
1967
  //console.log(me.data);
1988
1968
  //me.rowSelect(null, -10);
1989
1969
  });
1990
1970
  }
1991
- });
1971
+ }();
1992
1972
  } catch (e) {
1993
1973
  return Promise.reject(e);
1994
1974
  }
@@ -2086,7 +2066,9 @@ var script$d = {
2086
2066
  })["catch"](me.error);
2087
2067
  } else {
2088
2068
  me.data = [];
2089
- me.loadstore();
2069
+ console.log(me.loadstore());
2070
+ console.log('me.data');
2071
+ console.log(me.data);
2090
2072
  me.$emit('row-select', {});
2091
2073
  }
2092
2074
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.429",
3
+ "version": "0.0.432",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [