isobit-ui 0.0.367 → 0.0.370
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 +5 -3
- 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.370
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -4844,7 +4844,7 @@ var resize = function resize() {
|
|
|
4844
4844
|
//dialog.style.left = (window.innerWidth - dialog.offsetWidth) / 2 + 'px';
|
|
4845
4845
|
var h = window.innerHeight;
|
|
4846
4846
|
document.body.children[0].style.height = h + '.px';
|
|
4847
|
-
var ph = document.querySelectorAll("#page-header,.ui-layout-north");
|
|
4847
|
+
var ph = document.querySelectorAll("#page-header,.ui-layout-north,ion-header");
|
|
4848
4848
|
ph = ph[0];
|
|
4849
4849
|
var pc = document.querySelectorAll("#page-content,.ui-layout-pane-center,.ion-page > ion-content");
|
|
4850
4850
|
|
|
@@ -4858,11 +4858,13 @@ var resize = function resize() {
|
|
|
4858
4858
|
p = pc[0];
|
|
4859
4859
|
h = h - ph.offsetHeight - 2;
|
|
4860
4860
|
e = p.children[0].children;
|
|
4861
|
+
h = h - e[0].offsetHeight - 2;
|
|
4862
|
+
e = e[1].children[0].children;
|
|
4861
4863
|
console.log(e);
|
|
4862
4864
|
|
|
4863
4865
|
for (i = 0; i < e.length; i++) {
|
|
4864
4866
|
//v-dataview
|
|
4865
|
-
var event = new Event("
|
|
4867
|
+
var event = new Event("parentResize", {
|
|
4866
4868
|
bubbles: true
|
|
4867
4869
|
});
|
|
4868
4870
|
event.height = h;
|