isobit-ui 0.1.66 → 0.1.70
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 +11 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* isobit-ui v0.1.
|
|
2
|
+
* isobit-ui v0.1.70
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -6832,7 +6832,9 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6832
6832
|
response = response.$el;
|
|
6833
6833
|
path = {};
|
|
6834
6834
|
} else if (response instanceof HTMLElement) {
|
|
6835
|
-
path = {};
|
|
6835
|
+
path = path && path.closeOnClickOut ? path : {};
|
|
6836
|
+
console.log("PATH====");
|
|
6837
|
+
console.log(path);
|
|
6836
6838
|
} else if (response.target) {
|
|
6837
6839
|
el = response.target;
|
|
6838
6840
|
return me.open(el.pathname ? el.pathname : el.href);
|
|
@@ -6886,6 +6888,8 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6886
6888
|
path = response;
|
|
6887
6889
|
}
|
|
6888
6890
|
|
|
6891
|
+
console.log("PATH====222");
|
|
6892
|
+
console.log(path);
|
|
6889
6893
|
var dialog,
|
|
6890
6894
|
nid = Vue$1.id(),
|
|
6891
6895
|
scriptDom = [],
|
|
@@ -7134,6 +7138,10 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
7134
7138
|
}
|
|
7135
7139
|
}
|
|
7136
7140
|
|
|
7141
|
+
if (path.closeOnClickOut) {
|
|
7142
|
+
dialog.parentNode.addEventListener("click", close);
|
|
7143
|
+
}
|
|
7144
|
+
|
|
7137
7145
|
dialog.style.display = 'block';
|
|
7138
7146
|
Vue$1.resize();
|
|
7139
7147
|
document.documentElement.style.overflow = 'hidden'; // firefox, chrome
|
|
@@ -7227,7 +7235,7 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
7227
7235
|
try {
|
|
7228
7236
|
var _this2 = this;
|
|
7229
7237
|
|
|
7230
|
-
return _await(_this2.$ionic.toastController.create({
|
|
7238
|
+
return _await(_this2.$ionic.toastController.create(msx.message ? msx : {
|
|
7231
7239
|
message: msx,
|
|
7232
7240
|
duration: 2000
|
|
7233
7241
|
}), function (toast) {
|