isobit-ui 0.0.372 → 0.0.375

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.
Files changed (2) hide show
  1. package/dist/index.js +10 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.372
2
+ * isobit-ui v0.0.375
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,ion-header");
4847
+ var ph = document.querySelectorAll("#page-header,.ui-layout-north,.ion-page >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
 
@@ -4857,6 +4857,7 @@ var resize = function resize() {
4857
4857
  if (pc[0].nodeName == "ION-CONTENT") {
4858
4858
  p = pc[0];
4859
4859
  console.log(ph);
4860
+ console.log(ph.offsetHeight);
4860
4861
  h = h - ph.offsetHeight - 2;
4861
4862
  p.children[0].style.height = h + 'px';
4862
4863
  e = p.children[0].children;
@@ -5455,13 +5456,15 @@ if (typeof ol !== 'undefined') {
5455
5456
  }
5456
5457
 
5457
5458
  Vue__default['default'].pad = function (num, size) {
5458
- var s = num + "";
5459
+ if (num != null) {
5460
+ var s = 1 * num + "";
5459
5461
 
5460
- while (s.length < size) {
5461
- s = "0" + s;
5462
- }
5462
+ while (s.length < size) {
5463
+ s = "0" + s;
5464
+ }
5463
5465
 
5464
- return s;
5466
+ return s;
5467
+ }
5465
5468
  };
5466
5469
 
5467
5470
  Vue__default['default'].filter('number', function (s
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.372",
3
+ "version": "0.0.375",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",