isobit-ui 0.0.428 → 0.0.431
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.
- package/dist/index.js +10 -27
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* isobit-ui v0.0.
|
|
2
|
+
* isobit-ui v0.0.430
|
|
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,30 +1953,22 @@ var script$d = {
|
|
|
1964
1953
|
var me, store;
|
|
1965
1954
|
me = this;
|
|
1966
1955
|
store = me.store;
|
|
1967
|
-
return
|
|
1956
|
+
return function () {
|
|
1968
1957
|
if (store != null) {
|
|
1969
1958
|
var datj;
|
|
1970
1959
|
return _invoke$1(function () {
|
|
1971
|
-
if (window._.db) {
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
});
|
|
1975
|
-
} else {
|
|
1976
|
-
try {
|
|
1977
|
-
var vvv = localstore.getItem(store);
|
|
1978
|
-
if (vvv) datj = JSON.parse(vvv);
|
|
1979
|
-
} catch (e) {
|
|
1980
|
-
MsgBox(e);
|
|
1981
|
-
}
|
|
1982
|
-
}
|
|
1960
|
+
if (window._.db) return _await$2(me.getStoredList(store), function (_me$getStoredList) {
|
|
1961
|
+
datj = _me$getStoredList;
|
|
1962
|
+
});
|
|
1983
1963
|
}, function () {
|
|
1984
1964
|
if (!datj) datj = [];
|
|
1985
|
-
me.data = me.data ? datj.concat(me.data) : datj;
|
|
1965
|
+
me.data = me.data ? datj.concat(me.data) : datj;
|
|
1966
|
+
return me.data; //console.log('store2='+store);
|
|
1986
1967
|
//console.log(me.data);
|
|
1987
1968
|
//me.rowSelect(null, -10);
|
|
1988
1969
|
});
|
|
1989
1970
|
}
|
|
1990
|
-
});
|
|
1971
|
+
}();
|
|
1991
1972
|
} catch (e) {
|
|
1992
1973
|
return Promise.reject(e);
|
|
1993
1974
|
}
|
|
@@ -2086,6 +2067,8 @@ var script$d = {
|
|
|
2086
2067
|
} else {
|
|
2087
2068
|
me.data = [];
|
|
2088
2069
|
me.loadstore();
|
|
2070
|
+
console.log('me.data');
|
|
2071
|
+
console.log(me.data);
|
|
2089
2072
|
me.$emit('row-select', {});
|
|
2090
2073
|
}
|
|
2091
2074
|
} else {
|