isobit-ui 0.0.536 → 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 +25 -21
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.536
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';
@@ -3609,16 +3611,31 @@ var script$6 = {
3609
3611
  el = el.children[1].children[0];
3610
3612
  el.style.height = h + 'px';
3611
3613
  el = el.children[0];
3612
- el.style.height = h + 'px';
3613
- el = el.children[0];
3614
+ h = h - 20;
3615
+ el.style.overflowY = 'auto';
3614
3616
  el.style.height = h + 'px';
3615
3617
  var event = new Event("parentResize", {
3616
3618
  bubbles: true
3617
3619
  });
3618
3620
  event.height = h;
3619
- console.log(el.children[0]); //el.children[0].dispatchEvent(event);
3621
+ console.log(el.children[0]);
3622
+ el.children[0].dispatchEvent(event);
3620
3623
  }
3621
3624
  },
3625
+ mounted: function mounted() {
3626
+ var me = this,
3627
+ f = me.$el.querySelector('form');
3628
+ f.addEventListener('submit', function (e) {
3629
+ e.preventDefault();
3630
+ var p = me.$parent;
3631
+ if (p.refresh) p.refresh();
3632
+ return false;
3633
+ });
3634
+ me.$el.addEventListener("parentResize", function (e) {
3635
+ me.resize(e);
3636
+ });
3637
+ me.setTitle(me.header);
3638
+ },
3622
3639
  updated: function updated() {
3623
3640
  var _this = this;
3624
3641
 
@@ -3731,20 +3748,6 @@ var script$6 = {
3731
3748
  e.addEventListener('focusout', f);
3732
3749
  if (e.classList) e.classList.add("__");else e.className = "__";
3733
3750
  }); //resize();
3734
- },
3735
- mounted: function mounted() {
3736
- var me = this,
3737
- f = me.$el.querySelector('form');
3738
- f.addEventListener('submit', function (e) {
3739
- e.preventDefault();
3740
- var p = me.$parent;
3741
- if (p.refresh) p.refresh();
3742
- return false;
3743
- });
3744
- me.$el.addEventListener("parentResize", function (e) {
3745
- me.resize(e.height);
3746
- });
3747
- me.setTitle(me.header);
3748
3751
  }
3749
3752
  };
3750
3753
 
@@ -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.536",
3
+ "version": "0.0.539",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [