isobit-ui 0.1.14 → 0.1.17

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 +18 -16
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.1.14
2
+ * isobit-ui v0.1.17
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -3971,12 +3971,20 @@ var script$6 = {
3971
3971
  el = me.$el,
3972
3972
  h = e.height;
3973
3973
  el.style.height = h + 'px';
3974
- h = h - el.children[0].offsetHeight;
3975
- el.children[1].style.height = h + 'px';
3976
- el.children[1].style.overflowY = 'auto';
3977
- el = el.children[1].children[0];
3978
- el.style.height = h + 'px';
3979
- el = el.children[0];
3974
+
3975
+ if (el.children[1]) {
3976
+ h = h - el.children[0].offsetHeight;
3977
+ el.children[1].style.height = h + 'px';
3978
+ el.children[1].style.overflowY = 'auto';
3979
+ el = el.children[1].children[0];
3980
+ el.style.height = h + 'px';
3981
+ el = el.children[0];
3982
+ } else {
3983
+ el = el.children[0].children[0];
3984
+ el.style.height = h + 'px';
3985
+ el = el.children[0];
3986
+ }
3987
+
3980
3988
  h = h - 20;
3981
3989
  el.style.overflowY = 'auto';
3982
3990
  el.style.height = h + 'px';
@@ -5553,19 +5561,10 @@ var buildPopupMenu = function buildPopupMenu(p) {
5553
5561
 
5554
5562
  p.style.position = 'relative';
5555
5563
  var pbutton = document.createElement('div');
5556
- pbutton.style.display = 'inline-block';
5557
- pbutton.style.backgroundColor = 'transparent';
5558
- pbutton.style.position = 'absolute';
5559
5564
  pbutton.className = 'v-mobil v-table-buttons';
5560
5565
  var i = document.createElement('i');
5561
5566
  i.className = 'fa fa-bars fa-w-14';
5562
5567
  pbutton.appendChild(i);
5563
- pbutton.style.borderWidth = '0px';
5564
- pbutton.style.top = '3px';
5565
- pbutton.style.right = '0px';
5566
- pbutton.style.padding = '6px 11px'; //pbutton.style.fontSize='26px';
5567
-
5568
- pbutton.style.zIndex = '200';
5569
5568
 
5570
5569
  pbutton.onclick = function () {
5571
5570
  bu = p.querySelectorAll('.v-datatable-header .v-button');
@@ -6492,6 +6491,9 @@ window.ui = _$1.ui = function (cfg) {
6492
6491
  me.ddd(me.$root);
6493
6492
  },
6494
6493
  methods: {
6494
+ resize: function resize() {
6495
+ Vue$1.resize();
6496
+ },
6495
6497
  bindLinks: function bindLinks(el, callback) {
6496
6498
  var me = this;
6497
6499
  el = el ? el : me.$el; //console.log(el);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.1.14",
3
+ "version": "0.1.17",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [