isobit-ui 0.0.272 → 0.0.275
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 +34 -33
- 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.275
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1412,11 +1412,11 @@ var script$d = {
|
|
|
1412
1412
|
}
|
|
1413
1413
|
});
|
|
1414
1414
|
return item;
|
|
1415
|
-
};
|
|
1415
|
+
}; //console.log('render');
|
|
1416
|
+
|
|
1417
|
+
|
|
1418
|
+
var ct = compiledTemplate.render.call(this, createElement); //console.log(me.columns);
|
|
1416
1419
|
|
|
1417
|
-
console.log('render');
|
|
1418
|
-
var ct = compiledTemplate.render.call(this, createElement);
|
|
1419
|
-
console.log(me.columns);
|
|
1420
1420
|
me.columns.forEach(function (e) {
|
|
1421
1421
|
if (e.filter) ct.children[ct.children.length - 1].children.push(e.filter);
|
|
1422
1422
|
});
|
|
@@ -5018,7 +5018,7 @@ _.MsgBox = function MsgBox(m, cb, b) {
|
|
|
5018
5018
|
acl.addEventListener("click", closeListener);
|
|
5019
5019
|
}*/
|
|
5020
5020
|
|
|
5021
|
-
|
|
5021
|
+
Vue.resize();
|
|
5022
5022
|
};
|
|
5023
5023
|
|
|
5024
5024
|
window._.baseURL = window.axios.defaults.baseURL;
|
|
@@ -5345,37 +5345,38 @@ window.ui = _.ui = function (cfg) {
|
|
|
5345
5345
|
|
|
5346
5346
|
window.addEventListener('resize', resize);
|
|
5347
5347
|
var h = dialog.querySelector('.ui-panel-titlebar');
|
|
5348
|
-
var acl = h.querySelector('.ui-js-close');
|
|
5349
5348
|
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
dialog.style.display = "none";
|
|
5353
|
-
overlay.style.display = "none";
|
|
5349
|
+
if (h) {
|
|
5350
|
+
var acl = h.querySelector('.ui-js-close');
|
|
5354
5351
|
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
|
|
5352
|
+
window.onkeyup = function (event) {
|
|
5353
|
+
if (event.keyCode == 27) {
|
|
5354
|
+
dialog.style.display = "none";
|
|
5355
|
+
overlay.style.display = "none";
|
|
5356
|
+
}
|
|
5357
|
+
};
|
|
5358
5358
|
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
|
|
5373
|
-
|
|
5374
|
-
|
|
5375
|
-
|
|
5359
|
+
if (!acl) {
|
|
5360
|
+
var span = document.createElement("i");
|
|
5361
|
+
span.style.top = "6px";
|
|
5362
|
+
span.style.right = "6px";
|
|
5363
|
+
h.style.position = "relative";
|
|
5364
|
+
span.style.position = "absolute";
|
|
5365
|
+
span.style.color = "white";
|
|
5366
|
+
span.className = "fa fa-window-close v-dialog-close";
|
|
5367
|
+
acl = document.createElement("a");
|
|
5368
|
+
acl.className = "ui-js-close ui-dialog-titlebar-icon ui-dialog-titlebar-close ui-corner-all";
|
|
5369
|
+
acl.appendChild(span);
|
|
5370
|
+
h.appendChild(acl);
|
|
5371
|
+
acl.addEventListener("click", function () {
|
|
5372
|
+
dialog.style.display = "none";
|
|
5373
|
+
overlay.style.display = "none";
|
|
5374
|
+
Vue.resize();
|
|
5375
|
+
});
|
|
5376
|
+
}
|
|
5376
5377
|
}
|
|
5377
5378
|
|
|
5378
|
-
resize();
|
|
5379
|
+
Vue.resize();
|
|
5379
5380
|
},
|
|
5380
5381
|
close: function close(ok) {
|
|
5381
5382
|
var dlg = this.$el.parentElement;
|
|
@@ -5388,7 +5389,7 @@ window.ui = _.ui = function (cfg) {
|
|
|
5388
5389
|
//Solo se debe ocultaqr si es la marcara del dlg
|
|
5389
5390
|
|
|
5390
5391
|
if ((' ' + mask.className + ' ').indexOf(' v-overlay ') > -1) mask.style.display = "none";
|
|
5391
|
-
resize();
|
|
5392
|
+
Vue.resize();
|
|
5392
5393
|
}
|
|
5393
5394
|
|
|
5394
5395
|
var cb = _.storeFunction[dlg.getAttribute("callback")];
|