isobit-ui 0.0.545 → 0.0.550

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 +8 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.545
2
+ * isobit-ui v0.0.550
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -3703,6 +3703,7 @@ var __vue_component__$7 = /*#__PURE__*/__vue_normalize__({
3703
3703
  //
3704
3704
  //
3705
3705
  //
3706
+ //
3706
3707
  var script$6 = {
3707
3708
  props: ['header', 'store', 'action'],
3708
3709
  watch: {
@@ -3727,6 +3728,7 @@ var script$6 = {
3727
3728
  var me = this,
3728
3729
  el = me.$el,
3729
3730
  h = e.height;
3731
+ console.log(el);
3730
3732
  el.style.height = h + 'px';
3731
3733
  h = h - el.children[0].offsetHeight;
3732
3734
  el.children[1].style.height = h + 'px';
@@ -5381,7 +5383,7 @@ var resize = function resize() {
5381
5383
  document.body.children[0].style.height = h + '.px';
5382
5384
  var ph = document.querySelectorAll("#page-header,.ui-layout-north,.v-layout-north,.ion-page >ion-header");
5383
5385
  ph = ph[0];
5384
- var pc = document.querySelectorAll("#page-content,.ui-layout-pane-center,.v-layout-center ,.ion-page > ion-content,ion-header + .ui-panel"); //console.log(pc);
5386
+ var pc = document.querySelectorAll(".ion-page >ion-header + .ui-panel,#page-content,.ui-layout-pane-center,.v-layout-center ,.ion-page > ion-content"); //console.log(pc);
5385
5387
 
5386
5388
  if (pc && pc[0]) {
5387
5389
  //console.log('cccccccccccc');
@@ -5412,13 +5414,15 @@ var resize = function resize() {
5412
5414
  p = pc[0];
5413
5415
  h = h - ph.offsetHeight - 0;
5414
5416
  p.style.height = h + 'px';
5415
- p = p.children[0];
5417
+ p.style.overflowY = 'auto';
5418
+ if (!p.classList.contains('.ui-panel')) p = p.children[0];
5419
+ console.log(p);
5416
5420
  var event = new Event("parentResize", {
5417
5421
  bubbles: true
5418
5422
  });
5419
5423
  event.height = h;
5420
5424
  p.dispatchEvent(event);
5421
- buildPopupMenu(p.children[1]);
5425
+ if (p.children[1]) buildPopupMenu(p.children[1]);
5422
5426
  return;
5423
5427
  }
5424
5428
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.545",
3
+ "version": "0.0.550",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [