isobit-ui 0.0.309 → 0.0.312
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.
- package/dist/index.js +9 -11
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* isobit-ui v0.0.
|
|
2
|
+
* isobit-ui v0.0.312
|
|
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 (
|
|
3269
|
-
_.showerror(
|
|
3269
|
+
if (this.required && !this.value) _.showerror(this);else {
|
|
3270
|
+
_.showerror(this, false);
|
|
3270
3271
|
}
|
|
3271
3272
|
};
|
|
3272
3273
|
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
if (t[i].classList) t[i].classList.add("__");else t[i].className = "__";
|
|
3278
|
-
} //resize();
|
|
3279
|
-
|
|
3274
|
+
me.$el.querySelectorAll("select,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,
|