isobit-ui 0.2.14 → 0.2.16
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 +5 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* isobit-ui v0.2.
|
|
2
|
+
* isobit-ui v0.2.15
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -5787,8 +5787,8 @@ var resize = function resize() {
|
|
|
5787
5787
|
return;
|
|
5788
5788
|
} else if (pc[0].nodeName == "DIV") {
|
|
5789
5789
|
p = pc[0]; //console.log("========");
|
|
5790
|
-
//console.log(p);
|
|
5791
5790
|
|
|
5791
|
+
console.log(p);
|
|
5792
5792
|
h = h - ph.offsetHeight - 0;
|
|
5793
5793
|
p.style.height = h + 'px';
|
|
5794
5794
|
p.style.overflowY = 'auto';
|
|
@@ -5808,6 +5808,7 @@ var resize = function resize() {
|
|
|
5808
5808
|
p = pc[0].querySelector(".ui-panel");
|
|
5809
5809
|
|
|
5810
5810
|
if (p) {
|
|
5811
|
+
console.log(p);
|
|
5811
5812
|
pc = p.children;
|
|
5812
5813
|
if (ph) h -= ph.offsetHeight + pc[0].offsetHeight + 2;
|
|
5813
5814
|
|
|
@@ -5828,8 +5829,9 @@ var resize = function resize() {
|
|
|
5828
5829
|
var f = function f(el) {
|
|
5829
5830
|
var style = window.getComputedStyle(el);
|
|
5830
5831
|
return style.display === 'none';
|
|
5831
|
-
};
|
|
5832
|
+
};
|
|
5832
5833
|
|
|
5834
|
+
console.log(pc[0]); //function isHidden(el) {return (el.offsetParent === null)}
|
|
5833
5835
|
|
|
5834
5836
|
if (!pc[0].children[0]) return;
|
|
5835
5837
|
console.log(h);
|