isobit-ui 0.0.300 → 0.0.303
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 +51 -32
- 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.303
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -5456,37 +5456,6 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
5456
5456
|
return window.app.session;
|
|
5457
5457
|
}
|
|
5458
5458
|
},
|
|
5459
|
-
bindLinks: function bindLinks(el, callback) {
|
|
5460
|
-
var me = this;
|
|
5461
|
-
el = el ? el : me.$el;
|
|
5462
|
-
|
|
5463
|
-
if (el.querySelectorAll) {
|
|
5464
|
-
var a = el.querySelectorAll('a:not(._)');
|
|
5465
|
-
|
|
5466
|
-
var f = function f(e) {
|
|
5467
|
-
if (me.cccc) {
|
|
5468
|
-
me.cccc();
|
|
5469
|
-
}
|
|
5470
|
-
|
|
5471
|
-
if (callback) callback();
|
|
5472
|
-
me.o(e);
|
|
5473
|
-
var el = this;
|
|
5474
|
-
|
|
5475
|
-
do {
|
|
5476
|
-
var event = new Event("close", {
|
|
5477
|
-
bubbles: true
|
|
5478
|
-
});
|
|
5479
|
-
el.dispatchEvent(event);
|
|
5480
|
-
el = el.parentNode;
|
|
5481
|
-
} while (el);
|
|
5482
|
-
};
|
|
5483
|
-
|
|
5484
|
-
for (var i = 0; i < a.length; i++) {
|
|
5485
|
-
a[i].onclick = f;
|
|
5486
|
-
a[i].classList ? a[i].classList.add('_') : a[i].className = '_';
|
|
5487
|
-
}
|
|
5488
|
-
}
|
|
5489
|
-
},
|
|
5490
5459
|
data: function data() {
|
|
5491
5460
|
var me = this;
|
|
5492
5461
|
return {
|
|
@@ -5512,6 +5481,55 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
5512
5481
|
me.ddd(me.$root);
|
|
5513
5482
|
},
|
|
5514
5483
|
methods: {
|
|
5484
|
+
bindLinks: function bindLinks(el, callback) {
|
|
5485
|
+
var me = this;
|
|
5486
|
+
el = el ? el : me.$el;
|
|
5487
|
+
|
|
5488
|
+
if (el.querySelectorAll) {
|
|
5489
|
+
var a = el.querySelectorAll('a:not(._)');
|
|
5490
|
+
|
|
5491
|
+
var f = function f(e) {
|
|
5492
|
+
if (me.cccc) {
|
|
5493
|
+
me.cccc();
|
|
5494
|
+
}
|
|
5495
|
+
|
|
5496
|
+
if (callback) callback();
|
|
5497
|
+
me.o(e);
|
|
5498
|
+
var el = this;
|
|
5499
|
+
|
|
5500
|
+
do {
|
|
5501
|
+
var event = new Event("close", {
|
|
5502
|
+
bubbles: true
|
|
5503
|
+
});
|
|
5504
|
+
el.dispatchEvent(event);
|
|
5505
|
+
el = el.parentNode;
|
|
5506
|
+
} while (el);
|
|
5507
|
+
};
|
|
5508
|
+
|
|
5509
|
+
for (var i = 0; i < a.length; i++) {
|
|
5510
|
+
a[i].onclick = f;
|
|
5511
|
+
a[i].classList ? a[i].classList.add('_') : a[i].className = '_';
|
|
5512
|
+
}
|
|
5513
|
+
}
|
|
5514
|
+
},
|
|
5515
|
+
o: function o(e) {
|
|
5516
|
+
var t = e.target;
|
|
5517
|
+
var me = this;
|
|
5518
|
+
|
|
5519
|
+
if (typeof e == 'string') {
|
|
5520
|
+
t = e;
|
|
5521
|
+
} else {
|
|
5522
|
+
e.preventDefault();
|
|
5523
|
+
if (!t.pathname) t = t.parentNode;
|
|
5524
|
+
if (!t.pathname) t = t.parentNode;
|
|
5525
|
+
if (!t.pathname) t = t.parentNode;
|
|
5526
|
+
t = t.pathname;
|
|
5527
|
+
}
|
|
5528
|
+
|
|
5529
|
+
if (me.$route.path !== t) {
|
|
5530
|
+
me.$router.push(t);
|
|
5531
|
+
}
|
|
5532
|
+
},
|
|
5515
5533
|
MsgBox: _$1.MsgBox,
|
|
5516
5534
|
changeRoute: function changeRoute() {
|
|
5517
5535
|
/*console.log(v)*/
|
|
@@ -6569,6 +6587,7 @@ function configureAxios(a) {
|
|
|
6569
6587
|
|
|
6570
6588
|
window._ = _$1;
|
|
6571
6589
|
window.Vue = Vue__default['default'];
|
|
6590
|
+
window.axios = axios__default['default'];
|
|
6572
6591
|
Vue__default['default'].configureAxios = configureAxios;
|
|
6573
6592
|
configureAxios(axios__default['default']);
|
|
6574
6593
|
var index = {
|