isobit-ui 0.2.92 → 0.2.93
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 +3 -5
- 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.92
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -2282,8 +2282,6 @@ var script$d = {
|
|
|
2282
2282
|
|
|
2283
2283
|
if (h) {
|
|
2284
2284
|
me.resize(parseInt(h));
|
|
2285
|
-
} else {
|
|
2286
|
-
me.resize(me.$el.offsetHeight);
|
|
2287
2285
|
} //console.log('mointed');
|
|
2288
2286
|
|
|
2289
2287
|
},
|
|
@@ -2453,7 +2451,7 @@ var script$d = {
|
|
|
2453
2451
|
p.style.height = maxLabelHeight + 37 - 37 + 'px'; //.v-widget-header
|
|
2454
2452
|
|
|
2455
2453
|
p.parentElement.style.height = p.style.height;
|
|
2456
|
-
|
|
2454
|
+
if (me.$el.style.maxHeight) p.parentElement.nextElementSibling.style.maxHeight = parseInt(me.$el.style.maxHeight) - maxLabelHeight + 'px';
|
|
2457
2455
|
originalHeader.className = 'v-head-cloned';
|
|
2458
2456
|
} //resize();
|
|
2459
2457
|
|
|
@@ -2505,7 +2503,7 @@ var script$d = {
|
|
|
2505
2503
|
resize: function resize(h) {
|
|
2506
2504
|
var el = this.$el;
|
|
2507
2505
|
setTimeout(function () {
|
|
2508
|
-
h
|
|
2506
|
+
//h=el.style.maxHeight?Math.min(parseInt(el.style.maxHeight,10),h):h;
|
|
2509
2507
|
var e = el.querySelector(".v-datatable-header");
|
|
2510
2508
|
if (e) h -= e.offsetHeight;
|
|
2511
2509
|
e = el.querySelector(".v-paginator");
|