isobit-ui 0.2.30 → 0.2.32

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.
Files changed (2) hide show
  1. package/dist/index.js +12 -14
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.2.29
2
+ * isobit-ui v0.2.31
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -1155,8 +1155,6 @@ var script$j = {
1155
1155
  var me = this,
1156
1156
  el = me.$el,
1157
1157
  h = e.height;
1158
- console.log(h);
1159
- console.log(el);
1160
1158
  el.style.height = h + "px"; //si tiene header
1161
1159
 
1162
1160
  if (el.children[1]) {
@@ -1171,8 +1169,7 @@ var script$j = {
1171
1169
 
1172
1170
  [].forEach.call(el.children, function (ee, i) {
1173
1171
  if (i == el.children.length - 1 && ee.tagName == "CENTER" || !ee.classList.contains("v-scrollable") && !ee.classList.contains("v-form") && !ee.classList.contains("v-resize")) {
1174
- console.log(ee);
1175
- h -= me.getAbsoluteHeight(ee) + 2;
1172
+ h -= me.getAbsoluteHeight(ee);
1176
1173
  } else if (!el2) {
1177
1174
  el2 = ee;
1178
1175
  }
@@ -1182,17 +1179,18 @@ var script$j = {
1182
1179
  } else {
1183
1180
  el = el.children[0];
1184
1181
  el.style.height = h + "px";
1185
- } //h = h - 20;
1186
-
1182
+ }
1187
1183
 
1188
- el.style.overflowY = "auto";
1189
- el.style.height = h + "px";
1190
- var event = new Event("parentResize", {
1191
- bubbles: true
1192
- });
1193
- event.height = h; //console.log(el.children[0]);
1184
+ if (el) {
1185
+ el.style.overflowY = "auto";
1186
+ el.style.height = h + "px";
1187
+ var event = new Event("parentResize", {
1188
+ bubbles: true
1189
+ });
1190
+ event.height = h; //console.log(el.children[0]);
1194
1191
 
1195
- el.children[0].dispatchEvent(event);
1192
+ el.children[0].dispatchEvent(event);
1193
+ }
1196
1194
  }
1197
1195
  },
1198
1196
  mounted: function mounted() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.2.30",
3
+ "version": "0.2.32",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [