isobit-ui 0.0.318 → 0.0.322

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 +20 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.318
2
+ * isobit-ui v0.0.322
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -2644,6 +2644,8 @@ var __vue_component__$b = /*#__PURE__*/__vue_normalize____default['default']({
2644
2644
  //
2645
2645
  //
2646
2646
  //
2647
+ //
2648
+ //
2647
2649
  var script$a = {
2648
2650
  props: {
2649
2651
  value: {
@@ -2693,7 +2695,19 @@ var __vue_render__$a = function __vue_render__() {
2693
2695
  "value": _vm.value === false ? 'false' : _vm.value,
2694
2696
  "data-value": '' + _vm.value
2695
2697
  }
2696
- }, [_vm._v(" ' +\r\n ' v-for=\"v in options\">" + _vm._s(_vm.v))]);
2698
+ }, _vm._l(_vm.options, function (v) {
2699
+ return _c('div', {
2700
+ "class": {
2701
+ 'v-selected': v == _vm.selected
2702
+ },
2703
+ style: 'cursor:pointer;border: 1px solid #000;text-align:center;display:inline-block;width:calc(50% - 2px)' + (v === _vm.selected ? '' : ';opacity: 0.5'),
2704
+ on: {
2705
+ "click": function click($event) {
2706
+ return _vm.onChange(v);
2707
+ }
2708
+ }
2709
+ }, [_vm._v(_vm._s(v))]);
2710
+ }), 0);
2697
2711
  };
2698
2712
 
2699
2713
  var __vue_staticRenderFns__$a = [];
@@ -3268,8 +3282,7 @@ var script$6 = {
3268
3282
 
3269
3283
  var f = function f(ev) {
3270
3284
  var e = this;
3271
- console.log(e);
3272
- previousElementSibling = e.previousElementSibling;
3285
+ var previousElementSibling = e.previousElementSibling;
3273
3286
 
3274
3287
  if (previousElementSibling && previousElementSibling.classList && previousElementSibling.classList.contains('v-error')) {
3275
3288
  previousElementSibling.parentNode.removeChild(previousElementSibling);
@@ -3279,6 +3292,9 @@ var script$6 = {
3279
3292
  if (!(e.disabled || e.getAttribute('disabled')) && (e.required || e.tagName === 'DIV')) {
3280
3293
  //console.log([e]);
3281
3294
  //console.log(e.value);console.log(e.nodeValue);
3295
+ console.log('----');
3296
+ console.log(e);
3297
+
3282
3298
  if (e.tagName != 'DIV' && !e.value
3283
3299
  /*||e.value == 0*/
3284
3300
  || e.tagName === 'DIV' && !e.attributes.value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.318",
3
+ "version": "0.0.322",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",