isobit-ui 0.0.284 → 0.0.287

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 +57 -9
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.284
2
+ * isobit-ui v0.0.287
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -1492,10 +1492,8 @@ var script$d = {
1492
1492
  },
1493
1493
  mounted: function mounted() {
1494
1494
  var me = this; //console.log('mounted');
1495
-
1496
- me.columns.forEach(function (e) {
1497
- console.log(e.filter);
1498
- }); //console.log(me.$el.querySelectorAll('.v-datatable-scrollable-header-box > th'));
1495
+ //me.columns.forEach(e=>{console.log(e.filter)});
1496
+ //console.log(me.$el.querySelectorAll('.v-datatable-scrollable-header-box > th'));
1499
1497
 
1500
1498
  var h = me.$el.style ? me.$el.style.height : null;
1501
1499
 
@@ -4781,9 +4779,8 @@ var resize = function resize() {
4781
4779
  ww[0].childNodes[kk].style.overflowY = 'auto';
4782
4780
  break;
4783
4781
  }
4784
- }
4782
+ } //console.log(ww[0].childNodes);
4785
4783
 
4786
- console.log(ww[0].childNodes);
4787
4784
  }
4788
4785
  }
4789
4786
  };
@@ -4844,6 +4841,57 @@ _ = Object.assign(_, {
4844
4841
  varMap: {},
4845
4842
  id: function id() {
4846
4843
  return ++_._id;
4844
+ },
4845
+ findForm: function findForm(e) {
4846
+ var parent = e.parentNode;
4847
+
4848
+ if (parent && parent.tagName != 'FORM') {
4849
+ parent = _.findForm(parent);
4850
+ }
4851
+
4852
+ return parent;
4853
+ },
4854
+ fadeOut: function fadeOut(id, val) {
4855
+ if (isNaN(val)) {
4856
+ val = 9;
4857
+ }
4858
+
4859
+ document.getElementById(id).style.opacity = '0.' + val; //For IE
4860
+
4861
+ document.getElementById(id).style.filter = 'alpha(opacity=' + val + '0)';
4862
+
4863
+ if (val > 0) {
4864
+ val--;
4865
+ setTimeout('fadeOut("' + id + '",' + val + ')', 90);
4866
+ } else {
4867
+ return;
4868
+ }
4869
+ },
4870
+ fadeIn: function fadeIn(id, val) {
4871
+ // ID of the element to fade, Fade value[min value is 0]
4872
+ if (isNaN(val)) {
4873
+ val = 0;
4874
+ }
4875
+
4876
+ document.getElementById(id).style.opacity = '0.' + val; //For IE
4877
+
4878
+ document.getElementById(id).style.filter = 'alpha(opacity=' + val + '0)';
4879
+
4880
+ if (val < 9) {
4881
+ val++;
4882
+ setTimeout('fadeIn("' + id + '",' + val + ')', 90);
4883
+ } else {
4884
+ return;
4885
+ }
4886
+ },
4887
+ whichChild: function whichChild(e) {
4888
+ var i = 0;
4889
+
4890
+ while ((e = e.previousSibling) != null) {
4891
+ ++i;
4892
+ }
4893
+
4894
+ return i;
4847
4895
  }
4848
4896
  });
4849
4897
 
@@ -5486,8 +5534,8 @@ window.ui = _.ui = function (cfg) {
5486
5534
 
5487
5535
  dialog.setAttribute("path", path.path);
5488
5536
  } else {
5489
- var overlay = document.createElement("div");
5490
- console.log('create overlay');
5537
+ var overlay = document.createElement("div"); //console.log('create overlay');
5538
+
5491
5539
  overlay.classList.add("v-overlay");
5492
5540
  overlay.style.padding = "40px";
5493
5541
  document.body.appendChild(overlay);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.284",
3
+ "version": "0.0.287",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",