isobit-ui 0.0.277 → 0.0.278

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 +20 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.276
2
+ * isobit-ui v0.0.278
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -4568,7 +4568,7 @@ Vue.n = function (v) {
4568
4568
  return v;
4569
4569
  };
4570
4570
 
4571
- Vue.resize = function () {
4571
+ var resize = function resize() {
4572
4572
  //dialog.style.left = (window.innerWidth - dialog.offsetWidth) / 2 + 'px';
4573
4573
  var h = window.innerHeight;
4574
4574
  document.body.children[0].style.height = h + '.px';
@@ -4772,6 +4772,11 @@ Vue.resize = function () {
4772
4772
  }
4773
4773
  };
4774
4774
 
4775
+ setTimeout(Vue.resize = resize, 400);
4776
+ window.addEventListener('resize', function () {
4777
+ setTimeout(resize, 400);
4778
+ });
4779
+
4775
4780
  function HTML2Canvas(props) {
4776
4781
  this.props = props;
4777
4782
  this.ctx = props.ctx;
@@ -4813,6 +4818,19 @@ function HTML2Canvas(props) {
4813
4818
  };
4814
4819
  }
4815
4820
 
4821
+ _ = Object.assign(_, {
4822
+ remoteServer: '',
4823
+ _id: 0,
4824
+ networkStatus: {
4825
+ connected: true
4826
+ },
4827
+ storeFunction: {},
4828
+ varMap: {},
4829
+ id: function id() {
4830
+ return ++_._id;
4831
+ }
4832
+ });
4833
+
4816
4834
  _.sum = function (c) {
4817
4835
  return this.reduce(function (a, b) {
4818
4836
  b = c ? b[c] : b;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.277",
3
+ "version": "0.0.278",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",