isobit-ui 0.0.308 → 0.0.311

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 +10 -11
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.308
2
+ * isobit-ui v0.0.311
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -904,6 +904,7 @@ var __vue_component__$i = /*#__PURE__*/__vue_normalize____default['default']({
904
904
  //
905
905
  //
906
906
  //
907
+ //
907
908
  var script$h = {
908
909
  props: {
909
910
  value: String,
@@ -938,7 +939,7 @@ var __vue_render__$g = function __vue_render__() {
938
939
  "font-weight": "normal !important",
939
940
  "display": "block"
940
941
  }
941
- }, [_vm._v(" " + _vm._s(_vm.label ? _vm.label : _vm.value)), _c('input', {
942
+ }, [_vm._v(" " + _vm._s(_vm.label ? _vm.label : _vm.value) + "\r\n "), _c('input', {
942
943
  attrs: {
943
944
  "type": "radio"
944
945
  },
@@ -3265,18 +3266,15 @@ var script$6 = {
3265
3266
  }
3266
3267
 
3267
3268
  var f = function f() {
3268
- if (_this.required && !_this.value) _.showerror(_this);else {
3269
- _.showerror(_this, false);
3269
+ if (this.required && !this.value) _.showerror(this);else {
3270
+ _.showerror(this, false);
3270
3271
  }
3271
3272
  };
3272
3273
 
3273
- t = me.$el.querySelectorAll("input:not(.__),textarea:not(.__)");
3274
-
3275
- for (i = 0; i < t.length; i++) {
3276
- t[i].addEventListener('focusout', f);
3277
- if (t[i].classList) t[i].classList.add("__");else t[i].className = "__";
3278
- } //resize();
3279
-
3274
+ me.$el.querySelectorAll("input[type=text]:not(.__),textarea:not(.__)").forEach(function (e) {
3275
+ e.addEventListener('focusout', f);
3276
+ if (e.classList) e.classList.add("__");else e.className = "__";
3277
+ }); //resize();
3280
3278
  },
3281
3279
  mounted: function mounted() {
3282
3280
  var me = this,
@@ -5039,6 +5037,7 @@ _$1 = Object.assign(_$1, {
5039
5037
  return i;
5040
5038
  },
5041
5039
  showerror: function showerror(e, m) {
5040
+ if (e.$el) e = e.$el;
5042
5041
  var previousSibling = e.previousSibling;
5043
5042
 
5044
5043
  if (previousSibling && previousSibling.classList && previousSibling.classList.contains('v-error')) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.308",
3
+ "version": "0.0.311",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",