isobit-ui 0.0.533 → 0.0.536

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 +24 -26
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.533
2
+ * isobit-ui v0.0.536
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -3598,6 +3598,25 @@ var script$6 = {
3598
3598
  window.app.title = v;
3599
3599
  }, 100);
3600
3600
  }
3601
+ },
3602
+ resize: function resize(h) {
3603
+ var me = this,
3604
+ el = me.$el;
3605
+ el.style.height = h + 'px';
3606
+ h = h - el.children[0].offsetHeight;
3607
+ el.children[1].style.height = h + 'px';
3608
+ el.children[1].style.overflowY = 'auto';
3609
+ el = el.children[1].children[0];
3610
+ el.style.height = h + 'px';
3611
+ el = el.children[0];
3612
+ el.style.height = h + 'px';
3613
+ el = el.children[0];
3614
+ el.style.height = h + 'px';
3615
+ var event = new Event("parentResize", {
3616
+ bubbles: true
3617
+ });
3618
+ event.height = h;
3619
+ console.log(el.children[0]); //el.children[0].dispatchEvent(event);
3601
3620
  }
3602
3621
  },
3603
3622
  updated: function updated() {
@@ -3711,8 +3730,7 @@ var script$6 = {
3711
3730
  me.$el.querySelectorAll("select,input[type=date]:not(.__),input[type=text]:not(.__),textarea:not(.__)").forEach(function (e) {
3712
3731
  e.addEventListener('focusout', f);
3713
3732
  if (e.classList) e.classList.add("__");else e.className = "__";
3714
- });
3715
- resize();
3733
+ }); //resize();
3716
3734
  },
3717
3735
  mounted: function mounted() {
3718
3736
  var me = this,
@@ -3727,26 +3745,6 @@ var script$6 = {
3727
3745
  me.resize(e.height);
3728
3746
  });
3729
3747
  me.setTitle(me.header);
3730
- },
3731
- resize: function resize(h) {
3732
- var me = this,
3733
- el = me.$el;
3734
- el.style.height = h + 'px';
3735
- h = h - el.children[0].offsetHeight;
3736
- el.children[1].style.height = h + 'px';
3737
- el.children[1].style.overflowY = 'auto';
3738
- el = el.children[1].children[0];
3739
- el.style.height = h + 'px';
3740
- el = el.children[0];
3741
- el.style.height = h + 'px';
3742
- el = el.children[0];
3743
- el.style.height = h + 'px';
3744
- el = el.children[0];
3745
- var event = new Event("parentResize", {
3746
- bubbles: true
3747
- });
3748
- event.height = h;
3749
- el.dispatchEvent(event);
3750
3748
  }
3751
3749
  };
3752
3750
 
@@ -5249,7 +5247,7 @@ var buildPopupMenu = function buildPopupMenu(p) {
5249
5247
  }
5250
5248
  };
5251
5249
 
5252
- var resize$1 = function resize() {
5250
+ var resize = function resize() {
5253
5251
  //dialog.style.left = (window.innerWidth - dialog.offsetWidth) / 2 + 'px';
5254
5252
  var h = window.innerHeight;
5255
5253
  document.body.children[0].style.height = h + '.px';
@@ -5382,9 +5380,9 @@ var resize$1 = function resize() {
5382
5380
  }
5383
5381
  };
5384
5382
 
5385
- setTimeout(Vue$1.resize = resize$1, 400);
5383
+ setTimeout(Vue$1.resize = resize, 400);
5386
5384
  window.addEventListener('resize', function () {
5387
- setTimeout(resize$1, 400);
5385
+ setTimeout(resize, 400);
5388
5386
  });
5389
5387
 
5390
5388
  function HTML2Canvas(props) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.533",
3
+ "version": "0.0.536",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [