isobit-ui 0.0.268 → 0.0.269

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 +94 -4
  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.269
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
  //
@@ -1531,10 +1605,26 @@ 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
+
1618
+ (function (ef) {
1619
+ return e.appendChild(ef);
1620
+ });
1621
+ }
1622
+ } catch (err) {
1623
+ _iterator.e(err);
1624
+ } finally {
1625
+ _iterator.f();
1626
+ }
1627
+ }
1538
1628
  }
1539
1629
 
1540
1630
  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.269",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",