isobit-ui 0.0.553 → 0.0.556
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 +13 -4
- 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.556
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1806,6 +1806,7 @@ var script$e = {
|
|
|
1806
1806
|
keyBody: 1,
|
|
1807
1807
|
columns: null,
|
|
1808
1808
|
row: {},
|
|
1809
|
+
hasFilters: 0,
|
|
1809
1810
|
kt: 0,
|
|
1810
1811
|
size: null,
|
|
1811
1812
|
sortKey: '',
|
|
@@ -1833,7 +1834,8 @@ var script$e = {
|
|
|
1833
1834
|
e.children.filter(function (e) {
|
|
1834
1835
|
return e.tag == 'v-filter';
|
|
1835
1836
|
}).forEach(function (e2) {
|
|
1836
|
-
column.filter = e2;
|
|
1837
|
+
column.filter = e2;
|
|
1838
|
+
me.hasFilters = 1; //console.log(createElement('div',column.filter));
|
|
1837
1839
|
|
|
1838
1840
|
e.children.shift(); //console.log(createElement('div',column.filter));
|
|
1839
1841
|
});
|
|
@@ -1860,6 +1862,7 @@ var script$e = {
|
|
|
1860
1862
|
e.children.filter(function (e) {
|
|
1861
1863
|
return e.tag == 'v-filter';
|
|
1862
1864
|
}).forEach(function (e2) {
|
|
1865
|
+
me.hasFilters = 1;
|
|
1863
1866
|
e.children.shift();
|
|
1864
1867
|
});
|
|
1865
1868
|
e.children.filter(function (e) {
|
|
@@ -2078,6 +2081,12 @@ var script$e = {
|
|
|
2078
2081
|
_iterator.f();
|
|
2079
2082
|
}
|
|
2080
2083
|
}
|
|
2084
|
+
} else if (me.hasFilters) {
|
|
2085
|
+
var input = document.createElement("input");
|
|
2086
|
+
input.disabled = "disabled";
|
|
2087
|
+
input.className = "center"; // set the CSS class
|
|
2088
|
+
|
|
2089
|
+
e.appendChild(input);
|
|
2081
2090
|
}
|
|
2082
2091
|
|
|
2083
2092
|
if (e.clientHeight > maxLabelHeight) maxLabelHeight = e.clientHeight;
|
|
@@ -3741,8 +3750,8 @@ var script$6 = {
|
|
|
3741
3750
|
var event = new Event("parentResize", {
|
|
3742
3751
|
bubbles: true
|
|
3743
3752
|
});
|
|
3744
|
-
event.height = h;
|
|
3745
|
-
|
|
3753
|
+
event.height = h; //console.log(el.children[0]);
|
|
3754
|
+
|
|
3746
3755
|
el.children[0].dispatchEvent(event);
|
|
3747
3756
|
}
|
|
3748
3757
|
},
|