isobit-ui 0.1.13 → 0.1.16

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 +26 -10
  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.16
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -5553,19 +5553,10 @@ var buildPopupMenu = function buildPopupMenu(p) {
5553
5553
 
5554
5554
  p.style.position = 'relative';
5555
5555
  var pbutton = document.createElement('div');
5556
- pbutton.style.display = 'inline-block';
5557
- pbutton.style.backgroundColor = 'transparent';
5558
- pbutton.style.position = 'absolute';
5559
5556
  pbutton.className = 'v-mobil v-table-buttons';
5560
5557
  var i = document.createElement('i');
5561
5558
  i.className = 'fa fa-bars fa-w-14';
5562
5559
  pbutton.appendChild(i);
5563
- pbutton.style.borderWidth = '0px';
5564
- pbutton.style.top = '3px';
5565
- pbutton.style.right = '0px';
5566
- pbutton.style.padding = '6px 11px'; //pbutton.style.fontSize='26px';
5567
-
5568
- pbutton.style.zIndex = '200';
5569
5560
 
5570
5561
  pbutton.onclick = function () {
5571
5562
  bu = p.querySelectorAll('.v-datatable-header .v-button');
@@ -5641,6 +5632,8 @@ var resize = function resize() {
5641
5632
  return;
5642
5633
  } else if (pc[0].nodeName == "DIV") {
5643
5634
  p = pc[0];
5635
+ console.log("========");
5636
+ console.log(p);
5644
5637
  h = h - ph.offsetHeight - 0;
5645
5638
  p.style.height = h + 'px';
5646
5639
  p.style.overflowY = 'auto';
@@ -6490,6 +6483,9 @@ window.ui = _$1.ui = function (cfg) {
6490
6483
  me.ddd(me.$root);
6491
6484
  },
6492
6485
  methods: {
6486
+ resize: function resize() {
6487
+ Vue$1.resize();
6488
+ },
6493
6489
  bindLinks: function bindLinks(el, callback) {
6494
6490
  var me = this;
6495
6491
  el = el ? el : me.$el; //console.log(el);
@@ -7141,6 +7137,26 @@ window.ui = _$1.ui = function (cfg) {
7141
7137
  fileName: config
7142
7138
  } : config;
7143
7139
  if (!cfg) cfg = {};
7140
+ /*
7141
+ str = "Hello!\nI'm text string";
7142
+ var strblob = new Blob([str], {type: 'text/plain'});
7143
+
7144
+ var formdata = new FormData();
7145
+ formdata.append("file", strblob, "file.txt");
7146
+ formdata.append("field-1", "field-1-data");
7147
+
7148
+ var requestOptions = {
7149
+ method: 'POST',
7150
+ body: formdata,
7151
+ redirect: 'follow'
7152
+ };
7153
+
7154
+ fetch("http://{url}", requestOptions)
7155
+ .then(response => response.text())
7156
+ .then(result => console.log(result))
7157
+ .catch(error => console.log('error', error))
7158
+ */
7159
+
7144
7160
  axios$1.post(url, o, {
7145
7161
  responseType: 'blob'
7146
7162
  }).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.16",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [