isobit-ui 0.0.215 → 0.0.216

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 +27 -23
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.215
2
+ * isobit-ui v0.0.216
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -1290,34 +1290,38 @@ var script$d = {
1290
1290
  var me = this,
1291
1291
  columns = [];
1292
1292
  console.log(me.$slots);
1293
- me.$slots["default"].forEach(function (e, i) {
1294
- console.log(e);
1295
- var column = e.data.attrs;
1296
-
1297
- if (e.children) {
1298
- e.children.filter(function (e) {
1299
- return e.tag == 'v-filter';
1300
- }).forEach(function (e2) {
1301
- column.filter = e2;
1302
- e.children.shift();
1303
- });
1304
- e.children.filter(function (e) {
1305
- return e.tag == 'v-footer';
1306
- }).forEach(function (e2) {
1307
- column.footer = e2;
1308
- e.children.shift();
1309
- });
1310
- }
1311
1293
 
1312
- columns.push(column);
1313
- });
1314
- console.log(columns);
1315
- me.columns = columns;
1294
+ if (me.$slots["default"]) {
1295
+ me.$slots["default"].forEach(function (e, i) {
1296
+ console.log(e);
1297
+ var column = e.data.attrs;
1298
+
1299
+ if (e.children) {
1300
+ e.children.filter(function (e) {
1301
+ return e.tag == 'v-filter';
1302
+ }).forEach(function (e2) {
1303
+ column.filter = e2;
1304
+ e.children.shift();
1305
+ });
1306
+ e.children.filter(function (e) {
1307
+ return e.tag == 'v-footer';
1308
+ }).forEach(function (e2) {
1309
+ column.footer = e2;
1310
+ e.children.shift();
1311
+ });
1312
+ }
1313
+
1314
+ columns.push(column);
1315
+ });
1316
+ console.log(columns);
1317
+ me.columns = columns;
1318
+ }
1316
1319
  /*return createElement(
1317
1320
  'h' + this.level, // nombre de etiqueta
1318
1321
  this.$slots.default // arreglo de hijos
1319
1322
  )*/
1320
1323
 
1324
+
1321
1325
  var el = new DOMParser().parseFromString(template, "text/xml");
1322
1326
  /*
1323
1327
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.215",
3
+ "version": "0.0.216",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",