isobit-ui 0.0.283 → 0.0.286
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 +27 -14
- 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.286
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -32,6 +32,18 @@ function _typeof(obj) {
|
|
|
32
32
|
return _typeof(obj);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
function _toConsumableArray(arr) {
|
|
36
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function _arrayWithoutHoles(arr) {
|
|
40
|
+
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
function _iterableToArray(iter) {
|
|
44
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
45
|
+
}
|
|
46
|
+
|
|
35
47
|
function _unsupportedIterableToArray(o, minLen) {
|
|
36
48
|
if (!o) return;
|
|
37
49
|
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
@@ -49,6 +61,10 @@ function _arrayLikeToArray(arr, len) {
|
|
|
49
61
|
return arr2;
|
|
50
62
|
}
|
|
51
63
|
|
|
64
|
+
function _nonIterableSpread() {
|
|
65
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
66
|
+
}
|
|
67
|
+
|
|
52
68
|
function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
53
69
|
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
54
70
|
|
|
@@ -1475,12 +1491,10 @@ var script$d = {
|
|
|
1475
1491
|
}
|
|
1476
1492
|
},
|
|
1477
1493
|
mounted: function mounted() {
|
|
1478
|
-
var me = this;
|
|
1479
|
-
console.log(
|
|
1480
|
-
me.
|
|
1481
|
-
|
|
1482
|
-
});
|
|
1483
|
-
console.log(me.$el.querySelectorAll('.v-datatable-scrollable-header-box > th'));
|
|
1494
|
+
var me = this; //console.log('mounted');
|
|
1495
|
+
//me.columns.forEach(e=>{console.log(e.filter)});
|
|
1496
|
+
//console.log(me.$el.querySelectorAll('.v-datatable-scrollable-header-box > th'));
|
|
1497
|
+
|
|
1484
1498
|
var h = me.$el.style ? me.$el.style.height : null;
|
|
1485
1499
|
|
|
1486
1500
|
if (h) {
|
|
@@ -1603,8 +1617,8 @@ var script$d = {
|
|
|
1603
1617
|
var f = me.columns[i - (me.selectable0 ? 1 : 0)]; //cltd.setAttribute("ind", '' + (i - (me.selectable0?1:0)));
|
|
1604
1618
|
|
|
1605
1619
|
if (f && f.filter && f.filter.elm) {
|
|
1606
|
-
console.log(f.filter.elm.children);
|
|
1607
|
-
console.log(
|
|
1620
|
+
//console.log(f.filter.elm.children);
|
|
1621
|
+
//console.log(typeof f.filter.elm.children);
|
|
1608
1622
|
if (f.filter.elm.children.forEach) f.filter.elm.children.forEach(function (ef) {
|
|
1609
1623
|
return e.appendChild(ef);
|
|
1610
1624
|
});else {
|
|
@@ -4561,7 +4575,7 @@ function _invoke(body, then) {
|
|
|
4561
4575
|
}
|
|
4562
4576
|
|
|
4563
4577
|
window.isMobile = 1;
|
|
4564
|
-
Vue.config.ignoredElements = ['v-filter', 'v-footer'];
|
|
4578
|
+
Vue.config.ignoredElements = [].concat(_toConsumableArray(Vue.config.ignoredElements || []), ['v-filter', 'v-footer']);
|
|
4565
4579
|
|
|
4566
4580
|
Vue.n = function (v) {
|
|
4567
4581
|
v = v ? v == '' ? null : Number('' + v) : 0;
|
|
@@ -4765,9 +4779,8 @@ var resize = function resize() {
|
|
|
4765
4779
|
ww[0].childNodes[kk].style.overflowY = 'auto';
|
|
4766
4780
|
break;
|
|
4767
4781
|
}
|
|
4768
|
-
}
|
|
4782
|
+
} //console.log(ww[0].childNodes);
|
|
4769
4783
|
|
|
4770
|
-
console.log(ww[0].childNodes);
|
|
4771
4784
|
}
|
|
4772
4785
|
}
|
|
4773
4786
|
};
|
|
@@ -5470,8 +5483,8 @@ window.ui = _.ui = function (cfg) {
|
|
|
5470
5483
|
|
|
5471
5484
|
dialog.setAttribute("path", path.path);
|
|
5472
5485
|
} else {
|
|
5473
|
-
var overlay = document.createElement("div");
|
|
5474
|
-
|
|
5486
|
+
var overlay = document.createElement("div"); //console.log('create overlay');
|
|
5487
|
+
|
|
5475
5488
|
overlay.classList.add("v-overlay");
|
|
5476
5489
|
overlay.style.padding = "40px";
|
|
5477
5490
|
document.body.appendChild(overlay);
|