isobit-ui 0.1.13 → 0.1.14

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 +23 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.1.13
2
+ * isobit-ui v0.1.14
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -5641,6 +5641,8 @@ var resize = function resize() {
5641
5641
  return;
5642
5642
  } else if (pc[0].nodeName == "DIV") {
5643
5643
  p = pc[0];
5644
+ console.log("========");
5645
+ console.log(p);
5644
5646
  h = h - ph.offsetHeight - 0;
5645
5647
  p.style.height = h + 'px';
5646
5648
  p.style.overflowY = 'auto';
@@ -7141,6 +7143,26 @@ window.ui = _$1.ui = function (cfg) {
7141
7143
  fileName: config
7142
7144
  } : config;
7143
7145
  if (!cfg) cfg = {};
7146
+ /*
7147
+ str = "Hello!\nI'm text string";
7148
+ var strblob = new Blob([str], {type: 'text/plain'});
7149
+
7150
+ var formdata = new FormData();
7151
+ formdata.append("file", strblob, "file.txt");
7152
+ formdata.append("field-1", "field-1-data");
7153
+
7154
+ var requestOptions = {
7155
+ method: 'POST',
7156
+ body: formdata,
7157
+ redirect: 'follow'
7158
+ };
7159
+
7160
+ fetch("http://{url}", requestOptions)
7161
+ .then(response => response.text())
7162
+ .then(result => console.log(result))
7163
+ .catch(error => console.log('error', error))
7164
+ */
7165
+
7144
7166
  axios$1.post(url, o, {
7145
7167
  responseType: 'blob'
7146
7168
  }).then(function (response) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [