isobit-ui 0.0.282 → 0.0.285
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 +25 -12
- 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.285
|
|
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;
|
|
@@ -5642,8 +5656,7 @@ window.ui = _.ui = function (cfg) {
|
|
|
5642
5656
|
|
|
5643
5657
|
dlg.style.display = "none";
|
|
5644
5658
|
if ((' ' + mask.className + ' ').indexOf(' v-overlay ') > -1) mask.style.display = "none";else mask = null;
|
|
5645
|
-
|
|
5646
|
-
_.resize();
|
|
5659
|
+
Vue.resize();
|
|
5647
5660
|
|
|
5648
5661
|
var cb = _.storeFunction[dlg.getAttribute("callback")];
|
|
5649
5662
|
|