isobit-ui 0.0.276 → 0.0.279
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 +22 -2
- 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.279
|
|
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
|
-
|
|
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;
|
|
@@ -4820,6 +4838,8 @@ _.sum = function (c) {
|
|
|
4820
4838
|
}, 0);
|
|
4821
4839
|
};
|
|
4822
4840
|
|
|
4841
|
+
Vue.id = _.id;
|
|
4842
|
+
|
|
4823
4843
|
Vue.pad = function (num, size) {
|
|
4824
4844
|
var s = num + "";
|
|
4825
4845
|
|