isobit-ui 0.0.537 → 0.0.540

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 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.537
2
+ * isobit-ui v0.0.540
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -3599,9 +3599,11 @@ var script$6 = {
3599
3599
  }, 100);
3600
3600
  }
3601
3601
  },
3602
- resize: function resize(h) {
3602
+ resize: function resize(e) {
3603
+ console.log('form.resize');
3603
3604
  var me = this,
3604
- el = me.$el;
3605
+ el = me.$el,
3606
+ h = e.height;
3605
3607
  el.style.height = h + 'px';
3606
3608
  h = h - el.children[0].offsetHeight;
3607
3609
  el.children[1].style.height = h + 'px';
@@ -3609,12 +3611,15 @@ var script$6 = {
3609
3611
  el = el.children[1].children[0];
3610
3612
  el.style.height = h + 'px';
3611
3613
  el = el.children[0];
3614
+ h = h - 20;
3615
+ el.style.overflowY = 'auto';
3612
3616
  el.style.height = h + 'px';
3613
3617
  var event = new Event("parentResize", {
3614
3618
  bubbles: true
3615
3619
  });
3616
3620
  event.height = h;
3617
- console.log(el.children[0]); //el.children[0].dispatchEvent(event);
3621
+ console.log(el.children[0]);
3622
+ el.children[0].dispatchEvent(event);
3618
3623
  }
3619
3624
  },
3620
3625
  mounted: function mounted() {
@@ -3627,7 +3632,7 @@ var script$6 = {
3627
3632
  return false;
3628
3633
  });
3629
3634
  me.$el.addEventListener("parentResize", function (e) {
3630
- me.resize(e.height);
3635
+ if (e.target == me.$el) me.resize(e);
3631
3636
  });
3632
3637
  me.setTitle(me.header);
3633
3638
  },
@@ -5246,7 +5251,8 @@ var buildPopupMenu = function buildPopupMenu(p) {
5246
5251
  };
5247
5252
 
5248
5253
  var resize = function resize() {
5249
- //dialog.style.left = (window.innerWidth - dialog.offsetWidth) / 2 + 'px';
5254
+ console.log('resize'); //dialog.style.left = (window.innerWidth - dialog.offsetWidth) / 2 + 'px';
5255
+
5250
5256
  var h = window.innerHeight;
5251
5257
  document.body.children[0].style.height = h + '.px';
5252
5258
  var ph = document.querySelectorAll("#page-header,.ui-layout-north,.v-layout-north,.ion-page >ion-header");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.537",
3
+ "version": "0.0.540",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [