isobit-ui 0.0.315 → 0.0.318

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 +45 -46
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.315
2
+ * isobit-ui v0.0.318
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -3267,13 +3267,12 @@ var script$6 = {
3267
3267
  }
3268
3268
 
3269
3269
  var f = function f(ev) {
3270
- var e = this.target;
3271
- console.log(this);
3270
+ var e = this;
3272
3271
  console.log(e);
3273
- previousSibling = e.previousSibling;
3272
+ previousElementSibling = e.previousElementSibling;
3274
3273
 
3275
- if (previousSibling && previousSibling.classList && previousSibling.classList.contains('v-error')) {
3276
- previousSibling.parentNode.removeChild(previousSibling);
3274
+ if (previousElementSibling && previousElementSibling.classList && previousElementSibling.classList.contains('v-error')) {
3275
+ previousElementSibling.parentNode.removeChild(previousElementSibling);
3277
3276
  } // console.log('disabled='+e.getAttribute('disabled'));
3278
3277
 
3279
3278
 
@@ -3283,17 +3282,17 @@ var script$6 = {
3283
3282
  if (e.tagName != 'DIV' && !e.value
3284
3283
  /*||e.value == 0*/
3285
3284
  || e.tagName === 'DIV' && !e.attributes.value) {
3286
- previousSibling = e.previousSibling;
3285
+ previousElementSibling = e.previousElementSibling;
3287
3286
 
3288
- while (previousSibling && previousSibling.nodeType != 1) {
3289
- previousSibling = previousSibling.previousSibling;
3287
+ while (previousElementSibling && previousElementSibling.nodeType != 1) {
3288
+ previousElementSibling = previousElementSibling.previousElementSibling;
3290
3289
  }
3291
3290
 
3292
- if (!previousSibling) {
3293
- previousSibling = e.parentElement.previousSibling;
3291
+ if (!previousElementSibling) {
3292
+ previousElementSibling = e.parentElement.previousElementSibling;
3294
3293
 
3295
- while (previousSibling && previousSibling.nodeType != 1) {
3296
- previousSibling = previousSibling.previousSibling;
3294
+ while (previousElementSibling && previousElementSibling.nodeType != 1) {
3295
+ previousElementSibling = previousElementSibling.previousElementSibling;
3297
3296
  }
3298
3297
  }
3299
3298
 
@@ -5065,7 +5064,7 @@ _$1 = Object.assign(_$1, {
5065
5064
  whichChild: function whichChild(e) {
5066
5065
  var i = 0;
5067
5066
 
5068
- while ((e = e.previousSibling) != null) {
5067
+ while ((e = e.previousElementSibling) != null) {
5069
5068
  ++i;
5070
5069
  }
5071
5070
 
@@ -5073,23 +5072,23 @@ _$1 = Object.assign(_$1, {
5073
5072
  },
5074
5073
  showerror: function showerror(e, m) {
5075
5074
  if (e.$el) e = e.$el;
5076
- var previousSibling = e.previousSibling;
5075
+ var previousElementSibling = e.previousElementSibling;
5077
5076
 
5078
- if (previousSibling && previousSibling.classList && previousSibling.classList.contains('v-error')) {
5079
- previousSibling.parentNode.removeChild(previousSibling);
5077
+ if (previousElementSibling && previousElementSibling.classList && previousElementSibling.classList.contains('v-error')) {
5078
+ previousElementSibling.parentNode.removeChild(previousElementSibling);
5080
5079
  }
5081
5080
 
5082
- previousSibling = e.previousSibling;
5081
+ previousElementSibling = e.previousElementSibling;
5083
5082
 
5084
- while (previousSibling && previousSibling.nodeType != 1) {
5085
- previousSibling = previousSibling.previousSibling;
5083
+ while (previousElementSibling && previousElementSibling.nodeType != 1) {
5084
+ previousElementSibling = previousElementSibling.previousElementSibling;
5086
5085
  }
5087
5086
 
5088
- if (!previousSibling) {
5089
- previousSibling = e.parentElement.previousSibling;
5087
+ if (!previousElementSibling) {
5088
+ previousElementSibling = e.parentElement.previousElementSibling;
5090
5089
 
5091
- while (previousSibling && previousSibling.nodeType != 1) {
5092
- previousSibling = previousSibling.previousSibling;
5090
+ while (previousElementSibling && previousElementSibling.nodeType != 1) {
5091
+ previousElementSibling = previousElementSibling.previousElementSibling;
5093
5092
  }
5094
5093
  }
5095
5094
 
@@ -6533,7 +6532,7 @@ window.ui = _$1.ui = function (cfg) {
6533
6532
  e2 = e2 ? e2 : me.$el;
6534
6533
  var input = e2.querySelectorAll("input,select,textarea,div[required=required]");
6535
6534
  var radio = {},
6536
- previousSibling;
6535
+ previousElementSibling;
6537
6536
 
6538
6537
  for (i = 0; input.length > i; i++) {
6539
6538
  var e = input[i];
@@ -6545,10 +6544,10 @@ window.ui = _$1.ui = function (cfg) {
6545
6544
  continue;
6546
6545
  }
6547
6546
 
6548
- previousSibling = e.previousSibling;
6547
+ previousElementSibling = e.previousElementSibling;
6549
6548
 
6550
- if (previousSibling && previousSibling.classList && previousSibling.classList.contains('v-error')) {
6551
- previousSibling.parentNode.removeChild(previousSibling);
6549
+ if (previousElementSibling && previousElementSibling.classList && previousElementSibling.classList.contains('v-error')) {
6550
+ previousElementSibling.parentNode.removeChild(previousElementSibling);
6552
6551
  } // console.log('disabled='+e.getAttribute('disabled'));
6553
6552
 
6554
6553
 
@@ -6558,17 +6557,17 @@ window.ui = _$1.ui = function (cfg) {
6558
6557
  if (e.tagName != 'DIV' && !e.value
6559
6558
  /*||e.value == 0*/
6560
6559
  || e.tagName === 'DIV' && !e.attributes.value) {
6561
- previousSibling = e.previousSibling;
6560
+ previousElementSibling = e.previousElementSibling;
6562
6561
 
6563
- while (previousSibling && previousSibling.nodeType != 1) {
6564
- previousSibling = previousSibling.previousSibling;
6562
+ while (previousElementSibling && previousElementSibling.nodeType != 1) {
6563
+ previousElementSibling = previousElementSibling.previousElementSibling;
6565
6564
  }
6566
6565
 
6567
- if (!previousSibling) {
6568
- previousSibling = e.parentElement.previousSibling;
6566
+ if (!previousElementSibling) {
6567
+ previousElementSibling = e.parentElement.previousElementSibling;
6569
6568
 
6570
- while (previousSibling && previousSibling.nodeType != 1) {
6571
- previousSibling = previousSibling.previousSibling;
6569
+ while (previousElementSibling && previousElementSibling.nodeType != 1) {
6570
+ previousElementSibling = previousElementSibling.previousElementSibling;
6572
6571
  }
6573
6572
  }
6574
6573
 
@@ -6593,22 +6592,22 @@ window.ui = _$1.ui = function (cfg) {
6593
6592
  }
6594
6593
 
6595
6594
  e = op[0].parentNode.parentNode;
6596
- previousSibling = e.previousSibling;
6595
+ previousElementSibling = e.previousElementSibling;
6597
6596
 
6598
- if (previousSibling && previousSibling.classList && previousSibling.classList.contains('v-error')) {
6599
- previousSibling.parentNode.removeChild(previousSibling);
6597
+ if (previousElementSibling && previousElementSibling.classList && previousElementSibling.classList.contains('v-error')) {
6598
+ previousElementSibling.parentNode.removeChild(previousElementSibling);
6600
6599
  }
6601
6600
 
6602
6601
  if (required && !checked) {
6603
6602
  me.showerror(e);
6604
- /*previousSibling = e.previousSibling;
6605
- while(previousSibling&&previousSibling.nodeType != 1) {
6606
- previousSibling = previousSibling.previousSibling;
6603
+ /*previousElementSibling = e.previousElementSibling;
6604
+ while(previousElementSibling&&previousElementSibling.nodeType != 1) {
6605
+ previousElementSibling = previousElementSibling.previousElementSibling;
6607
6606
  }
6608
- if(!previousSibling){
6609
- previousSibling=e.parentElement.previousSibling;
6610
- while(previousSibling&&previousSibling.nodeType != 1) {
6611
- previousSibling = previousSibling.previousSibling;
6607
+ if(!previousElementSibling){
6608
+ previousElementSibling=e.parentElement.previousElementSibling;
6609
+ while(previousElementSibling&&previousElementSibling.nodeType != 1) {
6610
+ previousElementSibling = previousElementSibling.previousElementSibling;
6612
6611
  }
6613
6612
  }
6614
6613
  var error = document.createElement("div");
@@ -6638,7 +6637,7 @@ window.ui = _$1.ui = function (cfg) {
6638
6637
  el = document.querySelector(cfg.el);
6639
6638
  } else {
6640
6639
  var script = document.getElementsByTagName("script");
6641
- el = script[script.length - 1].previousSibling.previousSibling;
6640
+ el = script[script.length - 1].previousElementSibling.previousElementSibling;
6642
6641
  }
6643
6642
 
6644
6643
  var tv = el.querySelectorAll("v-tabview");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.315",
3
+ "version": "0.0.318",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",