isobit-ui 0.1.43 → 0.1.44
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 +18 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* isobit-ui v0.1.
|
|
2
|
+
* isobit-ui v0.1.44
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -3976,15 +3976,29 @@ var script$6 = {
|
|
|
3976
3976
|
var me = this,
|
|
3977
3977
|
el = me.$el,
|
|
3978
3978
|
h = e.height;
|
|
3979
|
-
el.style.height = h + 'px';
|
|
3979
|
+
el.style.height = h + 'px'; //si tiene header
|
|
3980
3980
|
|
|
3981
3981
|
if (el.children[1]) {
|
|
3982
|
+
//se obtiene el alto del headr
|
|
3982
3983
|
h = h - el.children[0].offsetHeight;
|
|
3983
3984
|
el.children[1].style.height = h + 'px';
|
|
3984
|
-
el.children[1].style.overflowY = 'auto';
|
|
3985
|
+
el.children[1].style.overflowY = 'auto'; //obtien el form
|
|
3986
|
+
|
|
3985
3987
|
el = el.children[1].children[0];
|
|
3986
3988
|
el.style.height = h + 'px';
|
|
3987
|
-
|
|
3989
|
+
var el2; //,style2;
|
|
3990
|
+
|
|
3991
|
+
el.children.forEach(function (ee) {
|
|
3992
|
+
if (!el2) {
|
|
3993
|
+
//style2 = window.getComputedStyle(ee);
|
|
3994
|
+
if (!ee.classList.contains('v-scrollable') && ee.classList.contains('v-resize')) {
|
|
3995
|
+
h -= ee.offsetHeight + 2;
|
|
3996
|
+
} else {
|
|
3997
|
+
el2 = ee;
|
|
3998
|
+
}
|
|
3999
|
+
}
|
|
4000
|
+
});
|
|
4001
|
+
el = el2; //Se espera el sea una tabla
|
|
3988
4002
|
} else {
|
|
3989
4003
|
el = el.children[0];
|
|
3990
4004
|
el.style.height = h + 'px';
|