isobit-ui 0.0.379 → 0.0.383
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 -9
- 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.383
|
|
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) {
|
|
@@ -4852,7 +4851,7 @@ var buildPopupMenu = function buildPopupMenu(p) {
|
|
|
4852
4851
|
popup.className = 'v-popup-2';
|
|
4853
4852
|
popup.style.backgroundColor = 'white';
|
|
4854
4853
|
popup.style.position = 'absolute';
|
|
4855
|
-
popup.style.
|
|
4854
|
+
popup.style.bottom = '0px';
|
|
4856
4855
|
popup.style.fontSize = '26px';
|
|
4857
4856
|
popup.style.right = '0px';
|
|
4858
4857
|
popup.style.display = 'none';
|
|
@@ -6102,13 +6101,13 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6102
6101
|
localStorage.removeItem(storage);
|
|
6103
6102
|
}
|
|
6104
6103
|
},
|
|
6105
|
-
setStoredList: function setStoredList(
|
|
6104
|
+
setStoredList: function setStoredList(store, data) {
|
|
6106
6105
|
try {
|
|
6107
6106
|
var db, objectStore;
|
|
6108
6107
|
|
|
6109
|
-
if (window.
|
|
6108
|
+
if (window._.db) {
|
|
6110
6109
|
db = window._.db;
|
|
6111
|
-
objectStore = db.transaction([
|
|
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(
|
|
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 {
|