isobit-ui 0.0.319 → 0.0.323

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 +23 -18
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.319
2
+ * isobit-ui v0.0.323
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,7 +3282,6 @@ var script$6 = {
3268
3282
 
3269
3283
  var f = function f(ev) {
3270
3284
  var e = this;
3271
- console.log(e);
3272
3285
  var previousElementSibling = e.previousElementSibling;
3273
3286
 
3274
3287
  if (previousElementSibling && previousElementSibling.classList && previousElementSibling.classList.contains('v-error')) {
@@ -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) {
@@ -5641,27 +5657,16 @@ window.ui = _$1.ui = function (cfg) {
5641
5657
  methods: {
5642
5658
  bindLinks: function bindLinks(el, callback) {
5643
5659
  var me = this;
5644
- el = el ? el : me.$el;
5660
+ el = el ? el : me.$el; //console.log(el);
5661
+ //console.log("ENTLO")
5645
5662
 
5646
5663
  if (el.querySelectorAll) {
5647
- var a = el.querySelectorAll('a:not(._)');
5664
+ //var a=el.querySelectorAll('a:not(._),ion-item:not(._)');
5665
+ var a = el.querySelectorAll('a:not(._),ion-item:not(._)'); //console.log(a)
5648
5666
 
5649
5667
  var f = function f(e) {
5650
- if (me.cccc) {
5651
- me.cccc();
5652
- }
5653
-
5654
5668
  if (callback) callback();
5655
5669
  me.o(e);
5656
- var el = this;
5657
-
5658
- do {
5659
- var event = new Event("close", {
5660
- bubbles: true
5661
- });
5662
- el.dispatchEvent(event);
5663
- el = el.parentNode;
5664
- } while (el);
5665
5670
  };
5666
5671
 
5667
5672
  for (var i = 0; i < a.length; i++) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.319",
3
+ "version": "0.0.323",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",