isobit-ui 0.0.538 → 0.0.539

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 +9 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.538
2
+ * isobit-ui v0.0.539
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';
@@ -3610,6 +3612,7 @@ var script$6 = {
3610
3612
  el.style.height = h + 'px';
3611
3613
  el = el.children[0];
3612
3614
  h = h - 20;
3615
+ el.style.overflowY = 'auto';
3613
3616
  el.style.height = h + 'px';
3614
3617
  var event = new Event("parentResize", {
3615
3618
  bubbles: true
@@ -3629,7 +3632,7 @@ var script$6 = {
3629
3632
  return false;
3630
3633
  });
3631
3634
  me.$el.addEventListener("parentResize", function (e) {
3632
- me.resize(e.height);
3635
+ me.resize(e);
3633
3636
  });
3634
3637
  me.setTitle(me.header);
3635
3638
  },
@@ -5248,7 +5251,8 @@ var buildPopupMenu = function buildPopupMenu(p) {
5248
5251
  };
5249
5252
 
5250
5253
  var resize = function resize() {
5251
- //dialog.style.left = (window.innerWidth - dialog.offsetWidth) / 2 + 'px';
5254
+ console.log('resize'); //dialog.style.left = (window.innerWidth - dialog.offsetWidth) / 2 + 'px';
5255
+
5252
5256
  var h = window.innerHeight;
5253
5257
  document.body.children[0].style.height = h + '.px';
5254
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.538",
3
+ "version": "0.0.539",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [