isobit-ui 0.0.320 → 0.0.324
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 +24 -19
- 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.324
|
|
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
|
-
},
|
|
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 = [];
|
|
@@ -2935,7 +2949,6 @@ var script$8 = {
|
|
|
2935
2949
|
return me.filterList[p.selectedIndex - 1];
|
|
2936
2950
|
},
|
|
2937
2951
|
load: function load(p, nou) {
|
|
2938
|
-
console.log('load item s in select');
|
|
2939
2952
|
var me = this;
|
|
2940
2953
|
var pa = me.$el.parentElement; //console.log(pa.name+'.antes de preguntar disabled options.load '+JSON.stringify(p));
|
|
2941
2954
|
|
|
@@ -3268,7 +3281,6 @@ var script$6 = {
|
|
|
3268
3281
|
|
|
3269
3282
|
var f = function f(ev) {
|
|
3270
3283
|
var e = this;
|
|
3271
|
-
console.log(e);
|
|
3272
3284
|
var previousElementSibling = e.previousElementSibling;
|
|
3273
3285
|
|
|
3274
3286
|
if (previousElementSibling && previousElementSibling.classList && previousElementSibling.classList.contains('v-error')) {
|
|
@@ -3279,6 +3291,9 @@ var script$6 = {
|
|
|
3279
3291
|
if (!(e.disabled || e.getAttribute('disabled')) && (e.required || e.tagName === 'DIV')) {
|
|
3280
3292
|
//console.log([e]);
|
|
3281
3293
|
//console.log(e.value);console.log(e.nodeValue);
|
|
3294
|
+
console.log('----');
|
|
3295
|
+
console.log(e);
|
|
3296
|
+
|
|
3282
3297
|
if (e.tagName != 'DIV' && !e.value
|
|
3283
3298
|
/*||e.value == 0*/
|
|
3284
3299
|
|| e.tagName === 'DIV' && !e.attributes.value) {
|
|
@@ -5641,27 +5656,16 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
5641
5656
|
methods: {
|
|
5642
5657
|
bindLinks: function bindLinks(el, callback) {
|
|
5643
5658
|
var me = this;
|
|
5644
|
-
el = el ? el : me.$el;
|
|
5659
|
+
el = el ? el : me.$el; //console.log(el);
|
|
5660
|
+
//console.log("ENTLO")
|
|
5645
5661
|
|
|
5646
5662
|
if (el.querySelectorAll) {
|
|
5647
|
-
var a
|
|
5663
|
+
//var a=el.querySelectorAll('a:not(._),ion-item:not(._)');
|
|
5664
|
+
var a = el.querySelectorAll('a:not(._),ion-item:not(._)'); //console.log(a)
|
|
5648
5665
|
|
|
5649
5666
|
var f = function f(e) {
|
|
5650
|
-
if (me.cccc) {
|
|
5651
|
-
me.cccc();
|
|
5652
|
-
}
|
|
5653
|
-
|
|
5654
5667
|
if (callback) callback();
|
|
5655
5668
|
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
5669
|
};
|
|
5666
5670
|
|
|
5667
5671
|
for (var i = 0; i < a.length; i++) {
|
|
@@ -5685,6 +5689,7 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
5685
5689
|
}
|
|
5686
5690
|
|
|
5687
5691
|
if (me.$route.path !== t) {
|
|
5692
|
+
console.log('path=' + t);
|
|
5688
5693
|
me.$router.push(t);
|
|
5689
5694
|
}
|
|
5690
5695
|
},
|