isobit-ui 0.0.268 → 0.0.271

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 +92 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.268
2
+ * isobit-ui v0.0.271
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -32,6 +32,80 @@ function _typeof(obj) {
32
32
  return _typeof(obj);
33
33
  }
34
34
 
35
+ function _unsupportedIterableToArray(o, minLen) {
36
+ if (!o) return;
37
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
38
+ var n = Object.prototype.toString.call(o).slice(8, -1);
39
+ if (n === "Object" && o.constructor) n = o.constructor.name;
40
+ if (n === "Map" || n === "Set") return Array.from(o);
41
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
42
+ }
43
+
44
+ function _arrayLikeToArray(arr, len) {
45
+ if (len == null || len > arr.length) len = arr.length;
46
+
47
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
48
+
49
+ return arr2;
50
+ }
51
+
52
+ function _createForOfIteratorHelper(o, allowArrayLike) {
53
+ var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
54
+
55
+ if (!it) {
56
+ if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
57
+ if (it) o = it;
58
+ var i = 0;
59
+
60
+ var F = function () {};
61
+
62
+ return {
63
+ s: F,
64
+ n: function () {
65
+ if (i >= o.length) return {
66
+ done: true
67
+ };
68
+ return {
69
+ done: false,
70
+ value: o[i++]
71
+ };
72
+ },
73
+ e: function (e) {
74
+ throw e;
75
+ },
76
+ f: F
77
+ };
78
+ }
79
+
80
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
81
+ }
82
+
83
+ var normalCompletion = true,
84
+ didErr = false,
85
+ err;
86
+ return {
87
+ s: function () {
88
+ it = it.call(o);
89
+ },
90
+ n: function () {
91
+ var step = it.next();
92
+ normalCompletion = step.done;
93
+ return step;
94
+ },
95
+ e: function (e) {
96
+ didErr = true;
97
+ err = e;
98
+ },
99
+ f: function () {
100
+ try {
101
+ if (!normalCompletion && it.return != null) it.return();
102
+ } finally {
103
+ if (didErr) throw err;
104
+ }
105
+ }
106
+ };
107
+ }
108
+
35
109
  //
36
110
  //
37
111
  //
@@ -1344,7 +1418,7 @@ var script$d = {
1344
1418
  var ct = compiledTemplate.render.call(this, createElement);
1345
1419
  console.log(me.columns);
1346
1420
  me.columns.forEach(function (e) {
1347
- ct.children[ct.children.length - 1].children.push(e.filter);
1421
+ if (e.filter) ct.children[ct.children.length - 1].children.push(e.filter);
1348
1422
  });
1349
1423
  return ct;
1350
1424
  },
@@ -1531,10 +1605,23 @@ var script$d = {
1531
1605
  if (f && f.filter && f.filter.elm) {
1532
1606
  console.log(f.filter.elm.children);
1533
1607
  console.log(_typeof(f.filter.elm.children));
1534
- console.log(_typeof(f.filter.elm.children.forEach));
1535
- f.filter.elm.children.forEach(function (ef) {
1608
+ if (f.filter.elm.children.forEach) f.filter.elm.children.forEach(function (ef) {
1536
1609
  return e.appendChild(ef);
1537
- });
1610
+ });else {
1611
+ var _iterator = _createForOfIteratorHelper(f.filter.elm.children),
1612
+ _step;
1613
+
1614
+ try {
1615
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
1616
+ var ef = _step.value;
1617
+ e.appendChild(ef);
1618
+ }
1619
+ } catch (err) {
1620
+ _iterator.e(err);
1621
+ } finally {
1622
+ _iterator.f();
1623
+ }
1624
+ }
1538
1625
  }
1539
1626
 
1540
1627
  if (e.clientHeight > maxLabelHeight) maxLabelHeight = e.clientHeight;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.268",
3
+ "version": "0.0.271",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",